Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7900 in orxonox.OLD for branches/gui/src/story_entities/game_world.h


Ignore:
Timestamp:
May 27, 2006, 1:09:35 PM (19 years ago)
Author:
bensch
Message:

gui: implemented the timer right here. now we calc in microseconds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/story_entities/game_world.h

    r7785 r7900  
    9393
    9494    /* world timing */
    95     Uint32              lastFrame;                    //!< last time of frame (in MiliSeconds)
     95    double              lastFrame;                    //!< last time of frame (in MiliSeconds)
    9696    Uint32              cycle;                        //!< The cycle we are in (starts with 0 and rises with every frame)
    9797    float               dtS;                          //!< The time needed for caluculations in seconds
    9898    float               speed;                        //!< how fast the game flows
    9999    double              gameTime;                     //!< this is where the game time is saved
    100     Uint32              frameTimes[TICK_SMOOTH_VALUE];//!< The time used for the last TICK_SMOOTH_VALUE's frames.
     100    double              frameTimes[TICK_SMOOTH_VALUE];//!< The time used for the last TICK_SMOOTH_VALUE's frames.
    101101
    102102    GameRules*          gameRules;                    //!< Pointer to the data structure containig the game rules
Note: See TracChangeset for help on using the changeset viewer.