#include "Utilities.h"
Functions | |
| void | UtilGetTime (unsigned int *seconds, unsigned int *milliseconds) |
| Get the current system's time in seconds and milliseconds; Since OS epoch time. | |
| void | __Assert (bool Assertion, const char *FailText, const char *FileName, int LineNumber) |
| void | UtilSleep (float SleepTime) |
| void | itoa (char *dest, int val) |
| void __Assert | ( | bool | Assertion, | |
| const char * | FailText, | |||
| const char * | FileName, | |||
| int | LineNumber | |||
| ) |
Internal assertion function If Assertion is false, it posts the failure string, file name, and line number in a pop-up window
| void itoa | ( | char * | dest, | |
| int | val | |||
| ) |
Simple itoa implementation Given a decimal integer, convert it to a string
| void UtilGetTime | ( | unsigned int * | seconds, | |
| unsigned int * | milliseconds | |||
| ) |
Get the current system's time in seconds and milliseconds; Since OS epoch time.
| void UtilSleep | ( | float | SleepTime | ) |
Unix and Win32 wrappers for high-resolution sleep Takes in a fraction of a second (as a float)
1.5.5