From 0f12145db9f6b6856a785d33527406ae9ea35363 Mon Sep 17 00:00:00 2001 From: onelin Date: Thu, 10 Apr 2025 23:41:08 +0200 Subject: Rename Platform struct --- src/core/include/engine/engine.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/include/engine/engine.h') 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 /* 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); -- cgit v1.3