view Time.h @ 14:b47e9c80e741

On UI
author Nomad
date Sat, 13 Oct 2012 17:09:02 +0200
parents 8b8875f5b359
children 93bf1d5f6a6d
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)
  {}

  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;