Asset slots with hot-reloading
This commit is contained in:
+10
-4
@@ -1,3 +1,9 @@
|
||||
/*
|
||||
* Copyright (C) 2026 Riyyi
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
package game
|
||||
|
||||
import "core:fmt"
|
||||
@@ -60,16 +66,16 @@ register_memory :: proc() {
|
||||
base.register_region("test_memory", &t, size_of(Test_Memory))
|
||||
}
|
||||
|
||||
init_once :: proc() {
|
||||
fmt.println("init once")
|
||||
}
|
||||
|
||||
init :: proc() {
|
||||
fmt.println("hello from .dll!")
|
||||
|
||||
g.should_close = false
|
||||
}
|
||||
|
||||
init_once :: proc() {
|
||||
fmt.println("init once")
|
||||
}
|
||||
|
||||
update :: proc(dt: f32) {
|
||||
fmt.println("dt:", dt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user