aboutsummaryrefslogtreecommitdiff
path: root/Source/Support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Support.cpp')
-rw-r--r--Source/Support.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Support.cpp b/Source/Support.cpp
new file mode 100644
index 0000000..e7b7424
--- /dev/null
+++ b/Source/Support.cpp
@@ -0,0 +1,10 @@
+#include "Support.h"
+
+#include "SDL.h"
+
+void Microseconds (UnsignedWide *microTickCount)
+{
+ /* NOTE: hi isn't used in BS, so it's not implemented here */
+ /* TODO: does game need microsecond precision? */
+ microTickCount->lo = SDL_GetTicks() * 1000;
+}