Add game API proc register_memory()

This commit is contained in:
Riyyi
2026-11-14 15:26:17 +01:00
parent 657d0e21fd
commit ac861fe881
7 changed files with 38 additions and 26 deletions
+10 -9
View File
@@ -6,13 +6,14 @@ import "sindri:base"
// Types
Game_API :: struct {
settings: proc() -> base.Settings,
init_once: proc(),
init: proc(),
update: proc(dt: f32),
render: proc(),
destroy: proc(),
should_close: proc() -> bool,
force_reload: proc() -> bool,
force_restart: proc() -> bool,
settings: proc() -> base.Settings,
register_memory: proc(),
init_once: proc(),
init: proc(),
update: proc(dt: f32),
render: proc(),
destroy: proc(),
should_close: proc() -> bool,
force_reload: proc() -> bool,
force_restart: proc() -> bool,
}