Changeset 10464 for code/branches/core7/src/libraries/core
- Timestamp:
- May 25, 2015, 12:13:34 AM (10 years ago)
- Location:
- code/branches/core7/src/libraries/core
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/Core.cc
r10462 r10464 225 225 // Create singletons that always exist (in other libraries) 226 226 orxout(internal_info) << "creating root scope:" << endl; 227 this->rootScope_ = new Scope<ScopeID::R oot>();227 this->rootScope_ = new Scope<ScopeID::ROOT>(); 228 228 229 229 // Generate documentation instead of normal run? … … 398 398 // Create singletons associated with graphics (in other libraries) 399 399 orxout(internal_info) << "creating graphics scope:" << endl; 400 graphicsScope_ = new Scope<ScopeID::G raphics>();400 graphicsScope_ = new Scope<ScopeID::GRAPHICS>(); 401 401 402 402 unloader.Dismiss(); -
code/branches/core7/src/libraries/core/Core.h
r10392 r10464 129 129 TclBind* tclBind_; 130 130 TclThreadManager* tclThreadManager_; 131 Scope<ScopeID::R oot>* rootScope_;131 Scope<ScopeID::ROOT>* rootScope_; 132 132 // graphical 133 133 GraphicsManager* graphicsManager_; //!< Interface to OGRE 134 134 InputManager* inputManager_; //!< Interface to OIS 135 135 GUIManager* guiManager_; //!< Interface to GUI 136 Scope<ScopeID::G raphics>* graphicsScope_;136 Scope<ScopeID::GRAPHICS>* graphicsScope_; 137 137 138 138 bool bGraphicsLoaded_; -
code/branches/core7/src/libraries/core/CorePrereqs.h
r10458 r10464 79 79 namespace ScopeID 80 80 { 81 typedef int Value; 82 81 83 //!A list of available scopes for the Scope template. 82 enum Value 83 { 84 Root, 85 Graphics 86 }; 84 static const Value ROOT = 1; 85 static const Value GRAPHICS = 2; 87 86 } 88 87 -
code/branches/core7/src/libraries/core/input/KeyBinderManager.cc
r10459 r10464 41 41 namespace orxonox 42 42 { 43 ManageScopedSingleton(KeyBinderManager, ScopeID::G raphics, false);43 ManageScopedSingleton(KeyBinderManager, ScopeID::GRAPHICS, false); 44 44 45 45 static const std::string __CC_keybind_name = "keybind"; -
code/branches/core7/src/libraries/core/input/KeyDetector.cc
r10459 r10464 38 38 namespace orxonox 39 39 { 40 ManageScopedSingleton(KeyDetector, ScopeID::G raphics, false);40 ManageScopedSingleton(KeyDetector, ScopeID::GRAPHICS, false); 41 41 42 42 static const std::string __CC_KeyDetector_callback_name = "KeyDetectorKeyPressed"; -
code/branches/core7/src/libraries/core/object/DestroyLaterManager.cc
r10459 r10464 34 34 namespace orxonox 35 35 { 36 ManageScopedSingleton(DestroyLaterManager, ScopeID::R oot, false);36 ManageScopedSingleton(DestroyLaterManager, ScopeID::ROOT, false); 37 37 38 38 RegisterAbstractClass(DestroyLaterManager).inheritsFrom<UpdateListener>();
Note: See TracChangeset
for help on using the changeset viewer.