This commit is contained in:
Synthasmagoria 2026-09-13 16:33:54 +02:00
commit 5a8fb74da2
192 changed files with 357919 additions and 0 deletions

17
src/desktop/main.odin Normal file
View file

@ -0,0 +1,17 @@
package main
import game ".."
import "core:os"
import "core:path/filepath"
main :: proc() {
exe_path := os.args[0]
exe_dir := filepath.dir(string(exe_path))
os.set_working_directory(exe_dir)
game.init()
for game.should_run() {
game.update()
}
game.shutdown()
}