diff Time.h @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children b27dd658ea77
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Time.h	Sat Jan 12 09:45:18 2013 +0600
@@ -0,0 +1,47 @@
+#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;
\ No newline at end of file