Changeset 3344
- Timestamp:
- 01/31/10 14:40:50 (7 months ago)
- Location:
- Starter/branches/0185_GEN_PHYSICS_REFACTOR_2/Base/BaseCommon
- Files:
-
- 3 modified
-
I_BaseGame.hpp (modified) (1 diff)
-
src/BaseGame.cpp (modified) (2 diffs)
-
src/BaseGame.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Starter/branches/0185_GEN_PHYSICS_REFACTOR_2/Base/BaseCommon/I_BaseGame.hpp
r3240 r3344 118 118 119 119 virtual pPhysicsZone_type getCurrentPhysicsZone() = 0; 120 virtual void setCurrentPhysicsZone(pPhysicsZone_type _pPhysicsZone) = 0; 120 121 121 122 /// Get the primary action map -
Starter/branches/0185_GEN_PHYSICS_REFACTOR_2/Base/BaseCommon/src/BaseGame.cpp
r3236 r3344 375 375 } 376 376 377 // Initialize the first world 378 m_pPhysicsZone = getPhysicsService()->createZone(); 379 380 std::cout << "Zone created, checking for scripting support." << std::endl; 377 std::cout << "Physics Service created, checking for scripting support." << std::endl; 381 378 382 379 // Register the script engine with the Physics Manager … … 397 394 } 398 395 396 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 397 void 398 BaseGame::setCurrentPhysicsZone(BaseGame::pPhysicsZone_type _pPhysicsZone) 399 { 400 m_pPhysicsZone = _pPhysicsZone; 401 } 399 402 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 400 403 bool -
Starter/branches/0185_GEN_PHYSICS_REFACTOR_2/Base/BaseCommon/src/BaseGame.hpp
r2946 r3344 57 57 virtual pPhysicsResourceService_type getPhysicsResourceService(); 58 58 virtual pPhysicsZone_type getCurrentPhysicsZone(); 59 virtual void setCurrentPhysicsZone(pPhysicsZone_type _pPhysicsZone); 59 60 60 61 virtual Core::I_ActionMap& getActionMap(const std::string& _actionMapName = "default");
