Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2008, 4:08:29 PM (17 years ago)
Author:
rgrieder
Message:
  • singletonized GraphicsEngine —> Orxonox.h has to included only twice —> better compile performance —> Everything graphic related can now be accessed with GraphicsEngine::getSingleton()
  • asylumized Fighter (SpaceShip with weapon system integrated)
  • removed weapon system from build
File:
1 edited

Legend:

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

    r1024 r1032  
    2222 *      An unknown man from the Ogre development crew
    2323 *   Co-authors:
    24  *      Reto Grieder (OGRE --> ORXONOX)
     24 *      Reto Grieder
    2525 *
    2626 */
    2727
    2828/**
    29  @file  OrxonoxPlatform.h
     29 @file
    3030 @brief Various constants for compiler, architecture and platform. It's a mere
    3131        copy of the file found in the Ogre source code (OgrePlatform.h).
     
    108108// As a side note, if you start your message with 'Warning: ', the MSVC
    109109// IDE actually does catch a warning :)
    110 #define ORXONOX_QUOTE_INPLACE(x) # x
    111 #define ORXONOX_QUOTE(x) ORXONOX_QUOTE_INPLACE(x)
    112 #define ORXONOX_WARN( x )  message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )
     110// FIXME: Try this on linux box. Doesn't work with msvc
     111//#define ORXONOX_QUOTE_INPLACE(x) # x
     112//#define ORXONOX_QUOTE(x) ORXONOX_QUOTE_INPLACE(x)
     113//#define ORXONOX_WARN( x )  message( __FILE__ "(" QUOTE( __LINE__ ) ") : " x "\n" )
    113114
    114115//----------------------------------------------------------------------------
     
    137138#  endif
    138139
    139 #endif
     140#endif /* Platform Win32 */
    140141//----------------------------------------------------------------------------
    141142
     
    171172#  define ORXONOX_UNICODE_SUPPORT 1
    172173
    173 #endif
     174#endif /* Patform Linux/Apple */
    174175
    175176//For apple, we always have a custom config.h file
     
    191192// Integer formats of fixed bit width
    192193// FIXME: consider 64 bit platforms!
    193 /*typedef unsigned int uint32;
    194 typedef unsigned short uint16;
    195 typedef unsigned char uint8;*/
     194//typedef unsigned int uint32;
     195//typedef unsigned short uint16;
     196//typedef unsigned char uint8;
    196197
    197198#ifdef ORXONOX_DOUBLE_PRECISION
     
    261262//#   pragma warning (disable : 201)
    262263
    263 #endif
    264 
    265264
    266265// Define the english written operators like and, or, xor
    267 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    268 #  include <iso646.h>
    269 #endif
     266#include <iso646.h>
     267
     268#endif /* ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC */
     269
     270// include visual leak detector to search for memory leaks
     271//#include <vld.h>
    270272
    271273} /* namespace orxonox */
    272274
    273 // include visual leak detector to search for memory links
    274 //#include <vld.h>
    275 
    276275#endif /* _OrxonoxPlatform_H__ */
Note: See TracChangeset for help on using the changeset viewer.