Changeset 6402 in orxonox.OLD for branches/network/src/story_entities/game_world.h
- Timestamp:
- Jan 3, 2006, 11:04:50 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.h
r6387 r6402 7 7 #define _GAME_WORLD_H 8 8 9 #include "sdlincl.h" 9 10 10 #include "story_entity.h" 11 #include "object_manager.h"12 11 12 13 class TiXmlElement; 14 class Shell; 13 15 class WorldEntity; 14 class Camera; 15 class Player; 16 class GLMenuImageScreen; 17 class Terrain; 18 class TiXmlElement; 16 class GameWorldData; 19 17 20 class Shell;21 class OggPlayer;22 class GameWorldData;23 18 24 19 //! The game world … … 86 81 87 82 /* world timing */ 88 Uint32 lastFrame; //!< last time of frame 89 Uint32 cycle; //!< The cycle we are in (starts with 0 and rises with every frame) 90 Uint32 dt; //!< time needed to calculate this frame (in milliSeconds) 91 float dtS; //!< The time needed for caluculations in seconds 92 float speed; //!< how fast the game flows 93 double gameTime; //!< this is where the game time is saved 94 95 /* external modules interfaces */ 96 ObjectManager objectManager; //!< The ObjectManager of this GameWorld. 83 Uint32 lastFrame; //!< last time of frame 84 Uint32 cycle; //!< The cycle we are in (starts with 0 and rises with every frame) 85 Uint32 dt; //!< time needed to calculate this frame (in milliSeconds) 86 float dtS; //!< The time needed for caluculations in seconds 87 float speed; //!< how fast the game flows 88 double gameTime; //!< this is where the game time is saved 97 89 98 90 /* external modules interfaces */ 99 91 Shell* shell; 100 OggPlayer* music;101 102 /* important entities */103 };104 105 106 class GameWorldData : public BaseObject107 {108 109 public:110 GameWorldData();111 ~GameWorldData();112 /* world loading functions */113 virtual ErrorMessage loadData(TiXmlElement* root);114 115 virtual ErrorMessage loadGUI(TiXmlElement* root);116 virtual ErrorMessage loadWorldEntities(TiXmlElement* root);117 virtual ErrorMessage loadScene(TiXmlElement* root);118 119 public:120 GLMenuImageScreen* glmis; //!< The Level-Loader Display121 122 Camera* localCamera; //!< The current Camera123 Player* localPlayer; //!< The Player, you fly through the level.124 WorldEntity* sky; //!< The Environmental Heaven of orxonox @todo insert this to environment insted125 Terrain* terrain; //!< The Terrain of the GameWorld.126 127 92 }; 128 93
Note: See TracChangeset
for help on using the changeset viewer.