2024-08-13 03:08:58 +00:00
|
|
|
unigi_type_time_span unigi_time_get() {
|
2024-08-13 03:22:11 +00:00
|
|
|
return (unigi_type_time_span)SDL_GetTicks() * 1000;
|
2024-08-13 03:08:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void unigi_time_sleep(unigi_type_time_span t) {
|
2024-08-13 03:22:11 +00:00
|
|
|
SDL_Delay((unigi_type_time_span)t / 1000);
|
2024-08-13 03:08:58 +00:00
|
|
|
}
|