Changeset 7131 in orxonox.OLD for trunk/src/story_entities/game_world.h
- Timestamp:
- Feb 14, 2006, 12:23:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.h
r7004 r7131 11 11 #include "game_world_data.h" 12 12 13 class TiXmlElement;14 13 class Shell; 15 14 class WorldEntity; 16 class GameWorldData;17 15 16 /** How many frames time values to keep 17 * The higher the value the smoother the result is... 18 * Don't make it 0 or less :) 19 */ 20 #define TICK_SMOOTH_VALUE 10 18 21 19 22 //! The game world … … 82 85 83 86 /* world timing */ 84 Uint32 lastFrame; //!< last time of frame 87 Uint32 lastFrame; //!< last time of frame (in MiliSeconds) 85 88 Uint32 cycle; //!< The cycle we are in (starts with 0 and rises with every frame) 86 Uint32 dt; //!< time needed to calculate this frame (in milliSeconds)87 89 float dtS; //!< The time needed for caluculations in seconds 88 90 float speed; //!< how fast the game flows 89 91 double gameTime; //!< this is where the game time is saved 92 Uint32 frameTimes[TICK_SMOOTH_VALUE];//!< The time used for the last TICK_SMOOTH_VALUE's frames. 93 90 94 91 95 /* external modules interfaces */
Note: See TracChangeset
for help on using the changeset viewer.