From 5f341eacdf0d75a4b334969a2d8a4701d61e4d9e Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 12:53:46 +1000 Subject: Add waves and stuff. --- platform.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'platform.c') diff --git a/platform.c b/platform.c index 940e57f..9bd5300 100644 --- a/platform.c +++ b/platform.c @@ -187,6 +187,10 @@ static int ww, wh, bb_pitch, ntw, nth; static int to_sleep, begin_time, end_time; static SDL_Joystick* joysticks[max_joysticks]; +int platform_get_time() { + return SDL_GetTicks(); +} + static void fit_texture(int w, int h) { ntw = renderer_w; nth = renderer_h; -- cgit v1.2.3-54-g00ecf