blob: 927a30ad2fc938f5de32950cba87503f9d752e34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef TIME_H
#define TIME_H
#include "SDL/SDL.h"
#include "data_types.h"
#define TICK_DURATION_MS 30
tick_t getGameCurrentTick(Uint32 startTime_ms);
int waitForNextTick(Uint32 timeBefore_ms, Uint32 drift_ms);
#endif /*TIME_H*/
|