Initial version of single binary hot-reloading
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package core
|
||||
|
||||
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,
|
||||
}
|
||||
Reference in New Issue
Block a user