mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-05 14:10:27 -04:00
trying to debug, additional rewrites
This commit is contained in:
parent
378b5586ab
commit
42f780a729
87 changed files with 1771 additions and 529 deletions
28
platform/linux/timer.h
Normal file
28
platform/linux/timer.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* timer.h
|
||||
*
|
||||
* Created on: 26. 1. 2025
|
||||
* Author: ondra
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_LINUX_TIMER_H_
|
||||
#define PLATFORM_LINUX_TIMER_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int get_timer_value();
|
||||
uint32_t get_game_tick_count();
|
||||
void sleep_ms(uint32_t);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* PLATFORM_LINUX_TIMER_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue