Changeset 609 for code/branches/FICN/src/orxonox/orxonox.cc
- Timestamp:
- Dec 18, 2007, 12:32:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/orxonox.cc
r608 r609 31 31 */ 32 32 33 #include "orxonox.h" 34 #include "graphicsEngine.h" 35 36 //#include <Ogre.h> 37 // 40% speed up: (instead of Ogre.h) 38 #include <OgreSceneNode.h> 39 #include <OgreSceneManager.h> 33 //****** OGRE ****** 34 #include <OgreString.h> 35 #include <OgreException.h> 40 36 #include <OgreRoot.h> 41 37 #include <OgreFrameListener.h> 38 #include <OgreRenderWindow.h> 39 #include <OgreTextureManager.h> 40 #include <OgreResourceGroupManager.h> 42 41 #include <OgreConfigFile.h> 43 #include <Ogre TextureManager.h>44 #include <Ogre Entity.h>45 #include <OgreRenderWindow.h> 46 42 #include <OgreOverlay.h> 43 #include <OgreOverlayManager.h> 44 45 //****** OIS ******* 47 46 #include <OIS/OIS.h> 48 //#include <CEGUI/CEGUI.h> 49 //#include <OgreCEGUIRenderer.h> 50 47 48 //****** STD ******* 51 49 #include <string> 52 50 #include <iostream> 53 51 54 #include "objects/Tickable.h" 55 #include "objects/Timer.h" 56 #include "core/ArgReader.h" 57 #include "core/Factory.h" 58 #include "core/Debug.h" 59 60 #include "../loader/LevelLoader.h" 61 #include "../audio/AudioManager.h" 62 63 #include "hud/HUD.h" 64 65 //network stuff 66 #include "../network/Server.h" 67 #include "../network/Client.h" 68 #include "../network/NetworkFrameListener.h" 69 52 // hack for the usleep/Sleep problem 70 53 #ifdef WIN32 71 54 #include <windows.h> … … 75 58 #endif 76 59 60 //***** ORXONOX **** 61 // loader and audio 62 #include "loader/LevelLoader.h" 63 #include "audio/AudioManager.h" 64 65 // network 66 #include "../network/Server.h" 67 #include "../network/Client.h" 68 #include "../network/NetworkFrameListener.h" 69 70 // objects 71 #include "objects/Tickable.h" 72 #include "objects/Timer.h" 73 #include "core/ArgReader.h" 74 #include "core/Factory.h" 75 #include "core/Debug.h" 76 #include "hud/HUD.h" 77 78 #include "graphicsEngine.h" 79 #include "orxonox.h" 80 81 77 82 namespace orxonox 78 83 { 79 84 using namespace Ogre; 80 85 81 // put this in seperate Class or solve the problem in another fashion86 // put this in a seperate Class or solve the problem in another fashion 82 87 class OrxListener : public FrameListener 83 88 { … … 331 336 archName = i->second; 332 337 #if OGRE_PLATFORM == OGRE_PLATFORM_APPLE 333 Ogre::ResourceGroupManager::getSingleton().addResourceLocation( String(macBundlePath() + "/" + archName), typeName, secName);338 ResourceGroupManager::getSingleton().addResourceLocation( String(macBundlePath() + "/" + archName), typeName, secName); 334 339 #else 335 Ogre::ResourceGroupManager::getSingleton().addResourceLocation( archName, typeName, secName);340 ResourceGroupManager::getSingleton().addResourceLocation( archName, typeName, secName); 336 341 #endif 337 342 } … … 413 418 std::ostringstream windowHndStr; 414 419 OIS::ParamList pl; 415 Ogre::RenderWindow *win = ogre_->getRoot()->getAutoCreatedWindow();420 RenderWindow *win = ogre_->getRoot()->getAutoCreatedWindow(); 416 421 417 422 win->getCustomAttribute("WINDOW", &windowHnd);
Note: See TracChangeset
for help on using the changeset viewer.