mirror of
https://github.com/edubart/otclient.git
synced 2025-12-14 20:59:47 +01:00
Add live_textures_reload command
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
namespace stdext {
|
||||
|
||||
ticks_t time();
|
||||
ticks_t millis();
|
||||
ticks_t micros();
|
||||
void millisleep(size_t ms);
|
||||
|
||||
Reference in New Issue
Block a user