Experimenting with a basic loader structure

This commit is contained in:
Jakub 2026-04-28 15:12:23 +08:00
parent 62c821e87b
commit 742017a4cd
2 changed files with 18 additions and 15 deletions

17
engine/loader.scm Normal file
View file

@ -0,0 +1,17 @@
(module (engine loader)
(import (scheme)
(chicken base)
(chicken process-context)
(engine core)
(engine math)
(engine components core)
(engine drawing)
(engine input)
(engine scene)
raylib
(srfi 1)
(srfi 99))
(load (last (command-line-arguments)))
)

View file

@ -1,17 +1,3 @@
(module (tic-tac-toe) ()
(import scheme
(chicken base)
(chicken random)
(engine core)
(engine math)
(engine components core)
(engine drawing)
(engine input)
(engine scene)
raylib
(srfi 1)
(srfi 99))
(register-event-bus 'turn-change) (register-event-bus 'turn-change)
(define draw-text-entities (define draw-text-entities
@ -380,4 +366,4 @@
((main-menu)) ((main-menu))
(create-window) (create-window)
)