Mercurial > might-and-magic-trilogy
view Time.h @ 145:dac041fc74e8
19.11.12
author | Ritor1 |
---|---|
date | Mon, 19 Nov 2012 09:41:10 +0600 |
parents | 93bf1d5f6a6d |
children |
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(); int 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;