Add live_textures_reload command

This commit is contained in:
Eduardo Bart
2013-03-01 05:46:55 -03:00
parent e85afd4b63
commit 8314b84f69
15 changed files with 93 additions and 31 deletions

View File

@@ -28,6 +28,10 @@ namespace stdext {
const static auto startup_time = boost::chrono::high_resolution_clock::now();
ticks_t time() {
return std::time(NULL);
}
ticks_t millis()
{
return boost::chrono::duration_cast<boost::chrono::milliseconds>(boost::chrono::high_resolution_clock::now() - startup_time).count();

View File

@@ -27,6 +27,7 @@
namespace stdext {
ticks_t time();
ticks_t millis();
ticks_t micros();
void millisleep(size_t ms);