Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 890 for code/trunk/src/orxonox


Ignore:
Timestamp:
Mar 13, 2008, 3:52:29 PM (16 years ago)
Author:
rgrieder
Message:
  • fixed several errors and issues with visual studio under windows:
    • moved tixml into a separate static lib (has to be)
    • updated OrxonoxStableHeaders.h
    • added macro for XOR
    • exported << operators
    • removed TiXMLPrereqs.h, not anymore useful; merged it into XMLIncludes.h
Location:
code/trunk/src/orxonox
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/OrxonoxPlatform.h

    r790 r890  
    251251#endif
    252252
     253
     254// Create a logical xor operator
     255#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
     256#  define XOR ^
     257#elif ORXONOX_COMPILER == ORXONOX_COMPILER_GCC
     258#  define XOR xor
     259#else
     260#  define XOR ^
     261#endif
     262
    253263} /* namespace orxonox */
    254264
  • code/trunk/src/orxonox/OrxonoxStableHeaders.h

    r871 r890  
    8787#include "util/String2Number.h"
    8888#include "util/Tokenizer.h"
     89#include "util/Multitype.h"
     90#include "util/MultiTypeMath.h"
     91#include "util/MultiTypePrimitive.h"
     92#include "util/MultiTypeString.h"
     93#include "util/substring.h"
     94#include "util/XMLIncludes.h"
     95
    8996#include "util/tinyxml/ticpp.h"
    9097#include "util/tinyxml/tinyxml.h"
  • code/trunk/src/orxonox/core/ClassTreeMask.cc

    r871 r890  
    592592        {
    593593            const Identifier* subclass = it->getClass();
    594             newmask.add(subclass, this->isIncluded(subclass) or other.isIncluded(subclass), false, false);
     594            newmask.add(subclass, this->isIncluded(subclass) || other.isIncluded(subclass), false, false);
    595595        }
    596596
     
    599599        {
    600600            const Identifier* subclass = it->getClass();
    601             newmask.add(subclass, this->isIncluded(subclass) or other.isIncluded(subclass), false, false);
     601            newmask.add(subclass, this->isIncluded(subclass) || other.isIncluded(subclass), false, false);
    602602        }
    603603
     
    623623        {
    624624            const Identifier* subclass = it->getClass();
    625             newmask.add(subclass, this->isIncluded(subclass) and other.isIncluded(subclass), false, false);
     625            newmask.add(subclass, this->isIncluded(subclass) && other.isIncluded(subclass), false, false);
    626626        }
    627627
     
    630630        {
    631631            const Identifier* subclass = it->getClass();
    632             newmask.add(subclass, this->isIncluded(subclass) and other.isIncluded(subclass), false, false);
     632            newmask.add(subclass, this->isIncluded(subclass) && other.isIncluded(subclass), false, false);
    633633        }
    634634
     
    737737        {
    738738            const Identifier* subclass = it->getClass();
    739             newmask.add(subclass, this->isIncluded(subclass) xor other.isIncluded(subclass), false, false);
     739            newmask.add(subclass, this->isIncluded(subclass) XOR other.isIncluded(subclass), false, false);
    740740        }
    741741
     
    744744        {
    745745            const Identifier* subclass = it->getClass();
    746             newmask.add(subclass, this->isIncluded(subclass) xor other.isIncluded(subclass), false, false);
     746            newmask.add(subclass, this->isIncluded(subclass) XOR other.isIncluded(subclass), false, false);
    747747        }
    748748
  • code/trunk/src/orxonox/core/Identifier.h

    r871 r890  
    206206    };
    207207
    208     std::ostream& operator<<(std::ostream& out, const std::list<const Identifier*>& list);
     208    _CoreExport std::ostream& operator<<(std::ostream& out, const std::list<const Identifier*>& list);
    209209
    210210
  • code/trunk/src/orxonox/objects/Tickable.cc

    r871 r890  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
     28#include "OrxonoxStableHeaders.h"
     29
    130#include "core/CoreIncludes.h"
    231#include "Tickable.h"
  • code/trunk/src/orxonox/tools/Timer.cc

    r871 r890  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
     28#include "OrxonoxStableHeaders.h"
     29
    130#include "core/CoreIncludes.h"
    231#include "Timer.h"
Note: See TracChangeset for help on using the changeset viewer.