began the rewrite...

This commit is contained in:
2025-09-14 16:26:43 -04:00
parent 34e9f590ff
commit 7219b780fc
8 changed files with 70 additions and 4 deletions

2
code2/sectr/Readme.md Normal file
View File

@@ -0,0 +1,2 @@
# Sectr Package

1
code2/sectr/colors.odin Normal file
View File

@@ -0,0 +1 @@
package sectr

View File

@@ -0,0 +1,52 @@
package sectr
import "base:runtime"
import c "core:c/libc"
import "core:dynlib"
Path_Assets :: "../assets/"
Path_Shaders :: "../shaders/"
Path_Input_Replay :: "input.sectr_replay"
ModuleAPI :: struct {
lib: dynlib.Library,
// write-time: FileTime,
startup: type_of( startup ),
shutdown: type_of( sectr_shutdown ),
reload: type_of( hot_reload ),
tick: type_of( tick ),
clean_frame: type_of( clean_frame ),
}
StartupContext :: struct {}
@export
startup :: proc(ctx: StartupContext)
{
}
@export
sectr_shutdown :: proc()
{
}
@export
hot_reload :: proc()
{
}
@export
tick :: proc()
{
}
@export
clean_frame ::proc()
{
}

View File

@@ -0,0 +1 @@
package sectr

View File

@@ -0,0 +1 @@
package sectr