Changeset 5651 for code/branches
- Timestamp:
- Aug 17, 2009, 3:17:15 PM (15 years ago)
- Location:
- code/branches/resource2/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2/src/OrxonoxConfig.h.in
r3196 r5651 198 198 } 199 199 200 // Import general purpose smart pointers 201 namespace boost 202 { 203 template<class T> class scoped_ptr; 204 template<class T> class shared_ptr; 205 template<class T> class weak_ptr; 206 } 207 namespace orxonox 208 { 209 using boost::scoped_ptr; 210 using boost::shared_ptr; 211 using boost::weak_ptr; 212 } 213 200 214 #endif /* _OrxonoxConfig_H__ */ -
code/branches/resource2/src/core/Core.h
r5645 r5651 51 51 { 52 52 class CoreConfiguration; 53 using boost::scoped_ptr;54 53 55 54 /** -
code/branches/resource2/src/core/GUIManager.h
r3370 r5651 92 92 void mouseScrolled (int abs, int rel); 93 93 94 boost::scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_; //!< CEGUI's interface to the Ogre Engine95 boost::scoped_ptr<CEGUI::LuaScriptModule> scriptModule_; //!< CEGUI's script module to use Lua96 boost::scoped_ptr<CEGUI::System> guiSystem_; //!< CEGUI's main system94 scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_; //!< CEGUI's interface to the Ogre Engine 95 scoped_ptr<CEGUI::LuaScriptModule> scriptModule_; //!< CEGUI's script module to use Lua 96 scoped_ptr<CEGUI::System> guiSystem_; //!< CEGUI's main system 97 97 Ogre::RenderWindow* renderWindow_; //!< Ogre's render window to give CEGUI access to it 98 98 CEGUI::ResourceProvider* resourceProvider_; //!< CEGUI's resource provider -
code/branches/resource2/src/core/Game.cc
r3370 r5651 54 54 namespace orxonox 55 55 { 56 using boost::shared_ptr;57 using boost::weak_ptr;58 59 56 static void stop_game() 60 57 { Game::getInstance().stop(); } -
code/branches/resource2/src/core/Game.h
r3370 r5651 61 61 { 62 62 class GameConfiguration; 63 using boost::scoped_ptr;64 using boost::shared_ptr;65 63 66 64 //! Helper object required before GameStates are being constructed … … 84 82 typedef std::vector<shared_ptr<GameState> > GameStateVector; 85 83 typedef std::map<std::string, shared_ptr<GameState> > GameStateMap; 86 typedef boost::shared_ptr<GameStateTreeNode> GameStateTreeNodePtr;84 typedef shared_ptr<GameStateTreeNode> GameStateTreeNodePtr; 87 85 public: 88 86 Game(const std::string& cmdLine); -
code/branches/resource2/src/core/GraphicsManager.h
r5641 r5651 49 49 namespace orxonox 50 50 { 51 using boost::scoped_ptr;52 53 51 /** 54 52 @brief
Note: See TracChangeset
for help on using the changeset viewer.