Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 10:30:29 PM (16 years ago)
Author:
rgrieder
Message:
  • added Vector2, Vector3, Matrix3, ColourValue, Quaternion and String to the misc folder as header files (each of them contains #include <string> … typedef std::string String , etc.)
  • please use String from now on by including <misc/String.h"
  • removed #include <OgreVector3.h", etc. from "CoreIncludes.h" (adjusted all source files)
  • adjusted all the source files (except network, that keeps <string> for the moment) (what a mess..)
  • moved usleep hack to misc/Sleep.h
  • relative include paths for files from other root directories (like misc, network, etc.) (but it stills writes "../Orxonox.h" when in folder orxonox/objects)
  • "OgreSceneManager.h" —> <OgreSceneManager.h>
  • included OrxonoxPrereqs in every file in folder orxonox
  • moved HUD and ParticleInterface to namespace orxonox
  • removed some using namespace Ogre/std when appropriate
  • I hope I haven't forgotten important points..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/OrxonoxPlatform.h

    r683 r708  
    220220typedef unsigned char uint8;
    221221
    222 }
     222#ifdef ORXONOX_DOUBLE_PRECISION
     223typedef double Real;
     224#else
     225typedef float Real;
     226#endif
    223227
    224228
     
    270274#endif
    271275
    272 
    273 // hack for the usleep/Sleep problem
    274 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
    275 #  include <windows.h>
    276 #  define usleep(x) Sleep((x)/1000)
    277 #elif ORXONOX_PLATFORM == ORXONOX_PLATFORM_LINUX
    278 #  include <unistd.h>
    279 #endif
    280 
     276} /* namespace orxonox */
    281277
    282278#endif /* _OrxonoxPlatform_H__ */
Note: See TracChangeset for help on using the changeset viewer.