Experimenting with a basic loader structure
This commit is contained in:
parent
62c821e87b
commit
742017a4cd
2 changed files with 18 additions and 15 deletions
17
engine/loader.scm
Normal file
17
engine/loader.scm
Normal 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)))
|
||||||
|
)
|
||||||
|
|
@ -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)
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue