Mercurial > mm7
view Time.h @ 1009:a32318b557c7
CastSpellInfo::_427E01_cast_spell() more clean 2
author | zipi |
---|---|
date | Sat, 18 May 2013 20:19:38 +0100 |
parents | 1a47a988c0b8 |
children | f93d17337113 |
line wrap: on
line source
#pragma once /* 61 */ #pragma pack(push, 1) struct Timer { static Timer *Create() {return new Timer;} Timer(): bReady(false), bPaused(false) { bTackGameTime = 0; uStartTime = 0; uStopTime = 0; uGameTimeStart = 0; field_18 = 0; uTimeElapsed = 0; dt_in_some_format = 0; uTotalGameTimeElapsed = 0; } void Initialize(); unsigned __int64 Time(); void Update(); void Pause(); void Resume(); void TrackGameTime(); void StopGameTime(); unsigned int bReady; unsigned int bPaused; int bTackGameTime; unsigned int uStartTime; unsigned int uStopTime; int uGameTimeStart; int field_18; unsigned int uTimeElapsed; int dt_in_some_format; unsigned int uTotalGameTimeElapsed; }; #pragma pack(pop) extern Timer *pMiscTimer; extern Timer *pEventTimer; const unsigned int Minute = 256; const unsigned int Hour = 60 * Minute; const unsigned int Day = 24 * Hour; const unsigned int Week = 7 * Day; const unsigned int Month = 4 * Week; const unsigned int Year = 12 * Month;