Added some time functions.
This commit is contained in:
@ -7,7 +7,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define GAMETIME_STEP 0.016
|
||||
#define GAMETIME_FIXED_STEP 0.016
|
||||
#define GAMETIME_SMALLEST_STEP 0.001
|
||||
|
||||
|
||||
typedef struct {
|
||||
/**
|
||||
|
@ -14,8 +14,12 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
// Windows Fixes
|
||||
# define strtok_r strtok_s
|
||||
# define sleep(n) _sleep(n)
|
||||
#else
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user