Changeset 3346
- Timestamp:
- Jul 24, 2009, 9:37:19 PM (15 years ago)
- Location:
- code/branches/resource/src
- Files:
-
- 1 deleted
- 13 edited
- 2 copied
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/core/CMakeLists.txt
r3327 r3346 27 27 GameMode.cc 28 28 GameState.cc 29 GraphicsManager.cc 30 GUIManager.cc 29 31 Language.cc 30 32 LuaBind.cc … … 80 82 LINK_LIBRARIES 81 83 ${OGRE_LIBRARY} 84 ${Boost_FILESYSTEM_LIBRARY} 85 ${Boost_SYSTEM_LIBRARY} # Filesystem dependency 82 86 ${Boost_THREAD_LIBRARY} 83 ${Boost_ FILESYSTEM_LIBRARY}84 ${ Boost_SYSTEM_LIBRARY}85 ${ Boost_DATE_TIME_LIBRARY} # MSVC only87 ${Boost_DATE_TIME_LIBRARY} # Thread dependency 88 ${CEGUI_LIBRARY} 89 ${CEGUILUA_LIBRARY} 86 90 ${LUA_LIBRARIES} 87 91 cpptcl_orxonox 92 ogreceguirenderer_orxonox 88 93 ois_orxonox 89 94 tinyxml++_orxonox -
code/branches/resource/src/core/CorePrereqs.h
r3327 r3346 123 123 class FunctorMember; 124 124 class FunctorStatic; 125 class GraphicsManager; 126 class GUIManager; 125 127 class Identifier; 126 128 class IRC; … … 144 146 template <class T> 145 147 class ObjectListIterator; 148 class OgreWindowEventListener; 146 149 class OrxonoxClass; 147 150 class Shell; … … 220 223 } 221 224 225 // CEGUI 226 namespace CEGUI 227 { 228 class DefaultLogger; 229 class Logger; 230 class LuaScriptModule; 231 232 class OgreCEGUIRenderer; 233 class OgreCEGUIResourceProvider; 234 class OgreCEGUITexture; 235 } 236 237 // Lua 238 struct lua_State; 239 222 240 // TinyXML and TinyXML++ 223 241 class TiXmlString; -
code/branches/resource/src/core/GUIManager.cc
r3340 r3346 57 57 #include "util/Exception.h" 58 58 #include "util/OrxAssert.h" 59 #include " core/Core.h"60 #include " core/Clock.h"61 #include " core/LuaBind.h"59 #include "Core.h" 60 #include "Clock.h" 61 #include "LuaBind.h" 62 62 63 63 namespace orxonox -
code/branches/resource/src/core/GUIManager.h
r3339 r3346 37 37 #define _GUIManager_H__ 38 38 39 #include " OrxonoxPrereqs.h"39 #include "CorePrereqs.h" 40 40 41 41 #include <map> … … 45 45 46 46 #include "util/OgreForwardRefs.h" 47 #include " core/input/InputHandler.h"47 #include "input/InputHandler.h" 48 48 49 49 namespace orxonox … … 60 60 Those input events are then injected into CEGUI in Lua. 61 61 */ 62 class _ OrxonoxExport GUIManager : public InputHandler62 class _CoreExport GUIManager : public InputHandler 63 63 { 64 64 public: -
code/branches/resource/src/core/GraphicsManager.cc
r3338 r3346 57 57 #include "util/StringUtils.h" 58 58 #include "util/SubString.h" 59 #include "core/Clock.h" 60 #include "core/ConsoleCommand.h" 61 #include "core/ConfigValueIncludes.h" 62 #include "core/CoreIncludes.h" 63 #include "core/Core.h" 64 #include "core/Game.h" 65 #include "core/GameMode.h" 66 #include "core/WindowEventListener.h" 67 #include "tools/ParticleInterface.h" 68 69 // HACK! 70 #include "overlays/map/Map.h" 59 #include "Clock.h" 60 #include "ConsoleCommand.h" 61 #include "ConfigValueIncludes.h" 62 #include "CoreIncludes.h" 63 #include "Core.h" 64 #include "Game.h" 65 #include "GameMode.h" 66 #include "WindowEventListener.h" 71 67 72 68 namespace orxonox … … 148 144 */ 149 145 150 // HACK! This fixes an exit crash151 Map::hackDestroyMap();152 146 // unload all compositors (this is only necessary because we don't yet destroy all resources!) 153 147 Ogre::CompositorManager::getSingleton().removeAll(); -
code/branches/resource/src/core/GraphicsManager.h
r3336 r3346 37 37 #define _GraphicsManager_H__ 38 38 39 #include " OrxonoxPrereqs.h"39 #include "CorePrereqs.h" 40 40 41 41 #include <cassert> 42 42 #include <string> 43 43 #include <OgreLog.h> 44 #include " core/OrxonoxClass.h"44 #include "OrxonoxClass.h" 45 45 46 46 namespace orxonox … … 50 50 Graphics engine manager class 51 51 */ 52 class _ OrxonoxExport GraphicsManager : public OrxonoxClass, public Ogre::LogListener52 class _CoreExport GraphicsManager : public OrxonoxClass, public Ogre::LogListener 53 53 { 54 54 public: -
code/branches/resource/src/orxonox/CMakeLists.txt
r3280 r3346 20 20 SET_SOURCE_FILES(ORXONOX_SRC_FILES 21 21 CameraManager.cc 22 GraphicsManager.cc23 22 LevelManager.cc 24 23 Main.cc … … 27 26 ) 28 27 ADD_SUBDIRECTORY(gamestates) 29 ADD_SUBDIRECTORY(gui)30 28 ADD_SUBDIRECTORY(interfaces) 31 29 ADD_SUBDIRECTORY(objects) … … 43 41 TOLUA_FILES 44 42 LevelManager.h 45 gui/GUIManager.h46 43 objects/pickup/BaseItem.h 47 44 objects/pickup/PickupInventory.h … … 53 50 ${ORXONOX_WIN32} 54 51 LINK_LIBRARIES 52 ${Boost_FILESYSTEM_LIBRARY} 53 ${Boost_SYSTEM_LIBRARY} # Filesystem dependency 54 ${Boost_THREAD_LIBRARY} 55 ${Boost_DATE_TIME_LIBRARY} # Thread dependency 55 56 ${OGRE_LIBRARY} 56 ${CEGUI_LIBRARY}57 ${LUA_LIBRARIES}58 ${CEGUILUA_LIBRARY}59 ${Boost_SYSTEM_LIBRARY}60 57 ${OPENAL_LIBRARY} 61 58 ${ALUT_LIBRARY} … … 63 60 ${VORBIS_LIBRARY} 64 61 ${OGG_LIBRARY} 65 ogreceguirenderer_orxonox66 62 tinyxml++_orxonox 67 63 tolua++_orxonox -
code/branches/resource/src/orxonox/CameraManager.cc
r3280 r3346 34 34 #include "util/StringUtils.h" 35 35 #include "core/GameMode.h" 36 #include "core/GUIManager.h" 36 37 #include "core/ObjectList.h" 37 38 #include "tools/Shader.h" 38 39 #include "objects/worldentities/Camera.h" 39 40 #include "objects/Scene.h" 40 #include "gui/GUIManager.h"41 41 42 42 namespace orxonox -
code/branches/resource/src/orxonox/OrxonoxPrereqs.h
r3327 r3346 73 73 }; 74 74 } 75 76 class GraphicsManager;77 class OgreWindowEventListener;78 class Settings;79 75 80 76 class RadarViewable; … … 277 273 class Map; 278 274 279 //gui280 class GUIManager;281 282 275 //sound 283 276 class SoundBase; … … 293 286 } 294 287 295 namespace CEGUI296 {297 class DefaultLogger;298 class Logger;299 class LuaScriptModule;300 301 class OgreCEGUIRenderer;302 class OgreCEGUIResourceProvider;303 class OgreCEGUITexture;304 }305 306 288 // Bullet Physics Engine 307 289 class btTransform; … … 330 312 typedef int ALint; 331 313 332 // Lua333 struct lua_State;334 335 314 #endif /* _OrxonoxPrereqs_H__ */ -
code/branches/resource/src/orxonox/gamestates/GSGraphics.cc
r3343 r3346 45 45 #include "core/Game.h" 46 46 #include "core/GameMode.h" 47 #include "core/GraphicsManager.h" 48 #include "core/GUIManager.h" 47 49 #include "core/input/InputManager.h" 48 50 #include "core/input/KeyBinder.h" … … 51 53 #include "core/XMLFile.h" 52 54 #include "overlays/console/InGameConsole.h" 53 #include "gui/GUIManager.h"54 55 #include "sound/SoundManager.h" 55 #include "GraphicsManager.h" 56 57 // HACK: 58 #include "overlays/map/Map.h" 56 59 57 60 namespace orxonox … … 169 172 this->inputManager_ = 0; 170 173 174 // HACK: 175 Map::hackDestroyMap(); 176 171 177 delete graphicsManager_; 172 178 -
code/branches/resource/src/orxonox/gamestates/GSLevel.cc
r3327 r3346 40 40 #include "core/GameMode.h" 41 41 #include "core/Core.h" 42 #include "core/GraphicsManager.h" 43 #include "core/GUIManager.h" 42 44 #include "core/Loader.h" 43 45 #include "core/XMLFile.h" … … 47 49 #include "objects/quest/QuestManager.h" 48 50 #include "overlays/notifications/NotificationManager.h" 49 #include "gui/GUIManager.h"50 51 #include "CameraManager.h" 51 #include "GraphicsManager.h"52 52 #include "LevelManager.h" 53 53 #include "PlayerManager.h" -
code/branches/resource/src/orxonox/gamestates/GSMainMenu.cc
r3339 r3346 36 36 #include "core/Clock.h" 37 37 #include "core/ConsoleCommand.h" 38 #include "core/GraphicsManager.h" 39 #include "core/GUIManager.h" 38 40 #include "objects/Scene.h" 39 #include "gui/GUIManager.h"40 41 #include "sound/SoundMainMenu.h" 41 #include "GraphicsManager.h"42 42 43 43 namespace orxonox -
code/branches/resource/src/orxonox/objects/pickup/PickupInventory.cc
r3327 r3346 37 37 38 38 #include "core/ConsoleCommand.h" 39 #include "core/GUIManager.h" 39 40 #include "core/input/InputManager.h" 40 #include "gui/GUIManager.h"41 41 #include "objects/controllers/HumanController.h" 42 42 #include "objects/worldentities/pawns/Pawn.h" -
code/branches/resource/src/orxonox/objects/pickup/PickupSpawner.cc
r3325 r3346 37 37 38 38 #include "core/CoreIncludes.h" 39 #include "core/GUIManager.h" // HACK; see below 39 40 #include "core/Template.h" 40 41 #include "core/XMLPort.h" 41 #include "gui/GUIManager.h" // HACK; see below42 42 #include "objects/worldentities/pawns/Pawn.h" 43 43 #include "PickupInventory.h" // HACK; Only for hack, remove later -
code/branches/resource/src/orxonox/overlays/GUIOverlay.cc
r3337 r3346 34 34 #include "core/input/InputManager.h" 35 35 #include "core/CoreIncludes.h" 36 #include "core/GUIManager.h" 36 37 #include "core/XMLPort.h" 37 #include "gui/GUIManager.h"38 38 39 39 namespace orxonox -
code/branches/resource/src/orxonox/tools/ParticleInterface.cc
r3336 r3346 45 45 #include "core/ConfigValueIncludes.h" 46 46 #include "core/GameMode.h" 47 #include "GraphicsManager.h"48 47 49 48 namespace orxonox -
code/branches/resource/src/orxonox/tools/Shader.cc
r3301 r3346 41 41 #include "core/CoreIncludes.h" 42 42 #include "core/GameMode.h" 43 #include " GraphicsManager.h"43 #include "core/GraphicsManager.h" 44 44 45 45 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.