cleanup headers a bit
This commit is contained in:
parent
2427e3a504
commit
4d70dd03be
11 changed files with 122 additions and 155 deletions
|
|
@ -7,25 +7,31 @@
|
|||
|
||||
typedef struct pxl8 pxl8;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
pxl8* pxl8_create(const pxl8_hal* hal);
|
||||
void pxl8_destroy(pxl8* sys);
|
||||
|
||||
bool pxl8_is_running(const pxl8* sys);
|
||||
void pxl8_set_running(pxl8* sys, bool running);
|
||||
|
||||
f32 pxl8_get_fps(const pxl8* sys);
|
||||
pxl8_gfx* pxl8_get_gfx(const pxl8* sys);
|
||||
pxl8_input_state* pxl8_get_input(const pxl8* sys);
|
||||
u32 pxl8_get_palette_size(pxl8_color_mode mode);
|
||||
pxl8_resolution pxl8_get_resolution(const pxl8* sys);
|
||||
pxl8_size pxl8_get_resolution_dimensions(pxl8_resolution resolution);
|
||||
bool pxl8_is_running(const pxl8* sys);
|
||||
|
||||
void pxl8_center_cursor(pxl8* sys);
|
||||
void pxl8_set_cursor(pxl8* sys, pxl8_cursor cursor);
|
||||
void pxl8_set_relative_mouse_mode(pxl8* sys, bool enabled);
|
||||
void pxl8_set_running(pxl8* sys, bool running);
|
||||
|
||||
pxl8_result pxl8_init(pxl8* sys, i32 argc, char* argv[]);
|
||||
pxl8_result pxl8_update(pxl8* sys);
|
||||
void pxl8_center_cursor(pxl8* sys);
|
||||
pxl8_result pxl8_frame(pxl8* sys);
|
||||
pxl8_result pxl8_init(pxl8* sys, i32 argc, char* argv[]);
|
||||
void pxl8_quit(pxl8* sys);
|
||||
pxl8_result pxl8_update(pxl8* sys);
|
||||
|
||||
u32 pxl8_get_palette_size(pxl8_color_mode mode);
|
||||
pxl8_size pxl8_get_resolution_dimensions(pxl8_resolution resolution);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue