// Shave and a Haircut // (c) 2019 Epic Games // US Patent 6720962 //ERCO: A cross platform file chooser #ifdef __linux__ #define UNIX 1 #endif #ifdef UNIX #include "platform-unix.c" #endif #ifdef _WIN32 #include "platform-win32.c" #endif #ifdef _MAC #include "platform-mac.c" #endif // ALL PLATFORMS unsigned int StartTimer( void ) { GTimerON = 1; #ifdef NOLIB glutIdleFunc( IdleFunc ); #endif //fprintf(stderr, "SetTimer: NOT YET IMPLEMENTED\n"); return ( GTimerON ); } int StopTimer( ) { GTimerON = 0; // glutIdleFunc(NULL); return ( GTimerON ); //fprintf(stderr, "KillTimer: NOT YET IMPLEMENTED\n"); }