Changeset 2853
- Timestamp:
- Mar 26, 2009, 3:18:08 PM (16 years ago)
- Location:
- code/branches/gui
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/cmake/BuildConfig.cmake
r2748 r2853 90 90 ################ Compiler Config ################ 91 91 92 OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)")92 #OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)") 93 93 94 94 INCLUDE(FlagUtilities) … … 184 184 # Disable Boost auto linking completely 185 185 ADD_COMPILER_FLAGS("-DBOOST_ALL_NO_LIB") 186 ADD_COMPILER_FLAGS("-Wno-deprecated") 186 187 187 188 # If no defines are specified, these libs get linked statically -
code/branches/gui/src/core/Game.h
r2850 r2853 43 43 #include "OrxonoxClass.h" 44 44 45 #define AddGameState(classname, name , ...) \46 static bool bGameStateDummy_##classname##__LINE__ = orxonox::Game::addGameState(new classname(name , __VA_ARGS__))45 #define AddGameState(classname, name) \ 46 static bool bGameStateDummy_##classname##__LINE__ = orxonox::Game::addGameState(new classname(name)) 47 47 48 48 namespace orxonox -
code/branches/gui/src/network/packet/Gamestate.h
r2842 r2853 35 35 #include "Packet.h" 36 36 #include "network/TrafficControl.h" 37 #include <string.h> 37 38 #include <map> 38 39 #include <list> -
code/branches/gui/src/orxonox/gamestates/GSMainMenu.cc
r2850 r2853 67 67 68 68 // show main menu 69 GUIManager::getInstance().showGUI("main Menu");69 GUIManager::getInstance().showGUI("mainmenu"); 70 70 GUIManager::getInstance().setCamera(this->camera_); 71 71 GraphicsManager::getInstance().setCamera(this->camera_); … … 77 77 CommandExecutor::addConsoleCommandShortcut(this->ccStartGame_); 78 78 } 79 79 80 80 InputManager::getInstance().requestEnterState("mainMenu"); 81 81 } -
code/branches/gui/src/orxonox/gui/GUIManager.cc
r2850 r2853 186 186 } 187 187 188 void GUIManager::testOutput(std::string& str) 189 { 190 COUT(0) << "*** CEGUI: " << str << std::endl; 191 } 192 188 193 void GUIManager::showGUI(const std::string& name) 189 194 { -
code/branches/gui/src/orxonox/gui/GUIManager.h
r2850 r2853 78 78 void setCamera(Ogre::Camera* camera); 79 79 80 void testOutput(std::string& str); // tolua_export 81 80 82 static GUIManager& getInstance() { assert(singletonRef_s); return *singletonRef_s; } // tolua_export 81 83 static GUIManager* getInstancePtr() { return singletonRef_s; }
Note: See TracChangeset
for help on using the changeset viewer.