From 1531fe10a420e94768f01d8c63ae30e8d3286b03 Mon Sep 17 00:00:00 2001 From: relnev Date: Wed, 8 Jan 2003 02:32:30 +0000 Subject: added a Microseconds implementation git-svn-id: svn://svn.icculus.org/blackshades/trunk@30 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/Support.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Source/Support.cpp (limited to 'Source/Support.cpp') 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; +} -- cgit v1.2.3