Sha256: 6e1ebdc346ee1137769a0c0117b9c9392e396fb1ae85ac067f75d4108c02be54
Contents?: true
Size: 344 Bytes
Versions: 16
Compression:
Stored size: 344 Bytes
Contents
#include <Gosu/Platform.hpp> #if defined(GOSU_IS_WIN) #include <Gosu/Timing.hpp> #include <cstdlib> #include <windows.h> void Gosu::sleep(unsigned milliseconds) { Sleep(milliseconds); } unsigned long Gosu::milliseconds() { static unsigned long start = (timeBeginPeriod(1), timeGetTime()); return timeGetTime() - start; } #endif
Version data entries
16 entries across 16 versions & 1 rubygems