shithub: wipeout

ref: a1f3069a4ac76cd475d9434130490fe06f963856
dir: /src/system.h/

View raw version
#ifndef SYSTEM_H
#define SYSTEM_H

#include "types.h"

#define SYSTEM_WINDOW_NAME "wipEout"
#define SYSTEM_WINDOW_WIDTH 1280
#define SYSTEM_WINDOW_HEIGHT 720

void system_init(void);
void system_update(void);
void system_cleanup(void);
void system_exit(void);
void system_resize(vec2i_t size);

double system_time(void);
double system_tick(void);
double system_cycle_time(void);
void system_reset_cycle_time(void);
double system_time_scale_get(void);
void system_time_scale_set(double ts);

#endif