Changeset 9667 for code/trunk/src/libraries/core/Core.cc
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/Core.cc
r9550 r9667 60 60 #include "util/SignalHandler.h" 61 61 #include "PathConfig.h" 62 #include " CommandLineParser.h"63 #include " ConfigFileManager.h"64 #include " ConfigValueIncludes.h"62 #include "config/CommandLineParser.h" 63 #include "config/ConfigFileManager.h" 64 #include "config/ConfigValueIncludes.h" 65 65 #include "CoreIncludes.h" 66 66 #include "DynLibManager.h" … … 68 68 #include "GraphicsManager.h" 69 69 #include "GUIManager.h" 70 #include " Identifier.h"70 #include "class/Identifier.h" 71 71 #include "Language.h" 72 72 #include "LuaState.h" 73 #include "ObjectList.h"74 73 #include "command/ConsoleCommand.h" 75 74 #include "command/IOConsole.h" … … 77 76 #include "command/TclThreadManager.h" 78 77 #include "input/InputManager.h" 78 #include "object/ObjectList.h" 79 79 80 80 namespace orxonox … … 91 91 SetCommandLineArgument(limitToCPU, 0).information("Limits the program to one CPU/core (1, 2, 3, etc.). Default is off = 0."); 92 92 #endif 93 94 // register Core as an abstract class to avoid problems if the class hierarchy is created within Core-constructor 95 RegisterAbstractClass(Core).inheritsFrom(Class(Configurable)); 93 96 94 97 Core::Core(const std::string& cmdLine) … … 176 179 // Do this soon after the ConfigFileManager has been created to open up the 177 180 // possibility to configure everything below here 178 Register RootObject(Core);181 RegisterObject(Core); 179 182 orxout(internal_info) << "configuring Core" << endl; 180 183 this->setConfigValues(); … … 198 201 // creates the class hierarchy for all classes with factories 199 202 orxout(internal_info) << "creating class hierarchy" << endl; 200 Identifier ::createClassHierarchy();203 IdentifierManager::getInstance().createClassHierarchy(); 201 204 202 205 // Load OGRE excluding the renderer and the render window … … 248 251 safeObjectDelete(&configFileManager_); 249 252 ConsoleCommand::destroyAll(); 250 Identifier::destroyAllIdentifiers(); 253 Context::setRootContext(NULL); 254 IdentifierManager::getInstance().destroyAllIdentifiers(); 251 255 safeObjectDelete(&signalHandler_); 252 256 safeObjectDelete(&dynLibManager_); … … 508 512 509 513 514 RegisterAbstractClass(DevModeListener).inheritsFrom(Class(Listable)); 515 510 516 DevModeListener::DevModeListener() 511 517 { 512 Register RootObject(DevModeListener);518 RegisterObject(DevModeListener); 513 519 } 514 520 }
Note: See TracChangeset
for help on using the changeset viewer.