Add game API proc register_memory()
This commit is contained in:
+10
-9
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user