view Time.h @ 23:509744251c8e

Player-related members
author Nomad
date Sun, 14 Oct 2012 00:27:38 +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;