diff options
| author | onelin <oscar@nelin.dk> | 2025-04-10 21:41:08 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-04-10 21:41:08 +0000 |
| commit | 0f12145db9f6b6856a785d33527406ae9ea35363 (patch) | |
| tree | c750a54390fb662fb38de7f600e77d492892e933 /src/core/include/engine/engine.h | |
| parent | 5a7c450282bc1164cd73e6a95c899a5bfeeeeb10 (diff) | |
Rename Platform struct
Diffstat (limited to 'src/core/include/engine/engine.h')
| -rw-r--r-- | src/core/include/engine/engine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/include/engine/engine.h b/src/core/include/engine/engine.h index 0b1a540..d28c024 100644 --- a/src/core/include/engine/engine.h +++ b/src/core/include/engine/engine.h @@ -30,16 +30,16 @@ typedef struct { #include <cglm/cglm.h> /* Essential functions */ -Platform* engine_init(const char* windowtitle, i32 windowWidth, i32 windowHeight, +Instance* engine_init(const char* windowtitle, i32 windowWidth, i32 windowHeight, const f32 render_scale, const u32 flags, const usize initial_memory); -i32 engine_run(Platform* p, StateType initial_state, void* state_arg); +i32 engine_run(Instance* p, StateType initial_state, void* state_arg); -void engine_stop(Platform* p); +void engine_stop(Instance* p); /* Utility functions */ -void engine_fps_max(Platform* p, u16 cap); +void engine_fps_max(Instance* p, u16 cap); void render_set_zoom(f32 new_zoom); void render_adjust_zoom(f32 diff); |
