Changeset 5695 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Aug 30, 2009, 2:22:00 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/resource2 (added) merged: 3373-3374,5594,5597,5610-5611,5614,5624,5641,5644-5646,5650-5664,5667-5672,5682-5684,5688-5691,5694
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gamestates/GSDedicated.cc
r3370 r5695 28 28 29 29 #include "GSDedicated.h" 30 31 #include <iomanip> 32 #include <iostream> 33 #include <boost/bind.hpp> 30 34 31 35 #include "util/Debug.h" … … 37 41 #include "core/GameMode.h" 38 42 #include "network/Server.h" 39 40 #include <iostream>41 #include <iomanip>42 #include <boost/bind.hpp>43 43 44 44 #ifdef ORXONOX_PLATFORM_UNIX -
code/trunk/src/orxonox/gamestates/GSGraphics.cc
r5693 r5695 96 96 // load debug overlay 97 97 COUT(3) << "Loading Debug Overlay..." << std::endl; 98 this->debugOverlay_ = new XMLFile( Core::getMediaPathString() + "overlay/debug.oxo");98 this->debugOverlay_ = new XMLFile("debug.oxo"); 99 99 Loader::open(debugOverlay_); 100 100 -
code/trunk/src/orxonox/gamestates/GSLevel.cc
r5693 r5695 29 29 30 30 #include "GSLevel.h" 31 32 #include <OgreCompositorManager.h> 31 33 32 34 #include "core/input/InputManager.h" … … 166 168 */ 167 169 170 if (GameMode::showsGraphics()) 171 { 172 // unload all compositors (this is only necessary because we don't yet destroy all resources!) 173 Ogre::CompositorManager::getSingleton().removeAll(); 174 } 168 175 169 176 // this call will delete every BaseObject! … … 229 236 // call the loader 230 237 COUT(0) << "Loading level..." << std::endl; 231 startFile_s = new XMLFile( Core::getMediaPathString() + "levels" + '/' +LevelManager::getInstance().getDefaultLevel());238 startFile_s = new XMLFile(LevelManager::getInstance().getDefaultLevel()); 232 239 Loader::open(startFile_s); 233 240 } -
code/trunk/src/orxonox/gamestates/GSMainMenu.cc
r3370 r5695 52 52 inputState_->setHandler(GUIManager::getInstancePtr()); 53 53 inputState_->setJoyStickHandler(&InputHandler::EMPTY); 54 inputState_->setIsExclusiveMouse(false); 54 55 55 56 // create an empty Scene … … 70 71 { 71 72 // show main menu 72 GUIManager::getInstance().showGUI(" mainmenu_4");73 GUIManager::getInstance().showGUI("MainMenu"); 73 74 GUIManager::getInstance().setCamera(this->camera_); 74 75 GraphicsManager::getInstance().setCamera(this->camera_); -
code/trunk/src/orxonox/gamestates/GSRoot.cc
r5693 r5695 33 33 #include "core/Game.h" 34 34 #include "core/GameMode.h" 35 #include "core/LuaBind.h"36 35 #include "network/NetworkFunction.h" 37 #include "ToluaBindCore.h"38 #include "ToluaBindOrxonox.h"39 36 #include "tools/Timer.h" 40 37 #include "tools/interfaces/TimeFactorListener.h" … … 54 51 this->ccSetTimeFactor_ = 0; 55 52 this->ccPause_ = 0; 56 57 // Tell LuaBind about all tolua interfaces58 LuaBind::getInstance().addToluaInterface(&tolua_Core_open, "Core");59 LuaBind::getInstance().addToluaInterface(&tolua_Orxonox_open, "Orxonox");60 53 } 61 54 … … 86 79 } 87 80 88 // create the globalLevelManager81 // create the LevelManager 89 82 this->levelManager_ = new LevelManager(); 90 83 }
Note: See TracChangeset
for help on using the changeset viewer.