aboutsummaryrefslogtreecommitdiff
path: root/Source/Timer.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-17 14:20:54 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-06-17 14:22:53 +0700
commit602a0c5951050e7cce645534cb4f136cf9f4fee4 (patch)
treee70e63b0b0058830e58c244ad917bc892c10418f /Source/Timer.cpp
parent094e12df1ebb81d304803be4b274546384ec117c (diff)
downloadblackshades-602a0c5951050e7cce645534cb4f136cf9f4fee4.tar.gz
Rename source and build directory1.1.1
Diffstat (limited to 'Source/Timer.cpp')
-rw-r--r--Source/Timer.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/Source/Timer.cpp b/Source/Timer.cpp
deleted file mode 100644
index 80cc5f9..0000000
--- a/Source/Timer.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/**> HEADER FILES <**/
-#include <string.h>
-#include "Timer.h"
-#include "Support.h"
-
-
-/********************> Timer <*****/
-void TimerInit(timer* theTimer)
-{
- UnsignedWide ms;
-
- Microseconds(&ms);
-
- memset(theTimer, 0, sizeof(timer));
-
- theTimer->mm_timer_start = ms.lo;
- theTimer->mm_timer_elapsed = theTimer->mm_timer_start;
-}
-
-float TimerGetTime(timer* theTimer)
-{
- UnsignedWide ms;
-
- Microseconds(&ms);
-
-
- return( (float) (ms.lo - theTimer->mm_timer_start) * 1000.0f);
-}