Add animation ffi hook

This commit is contained in:
2022-12-29 23:44:19 +00:00
parent 804c2de617
commit daebe5c665
5 changed files with 41 additions and 29 deletions

View File

@@ -58,6 +58,9 @@
(define (sound_stop sound) (sound_cmd sound 2))
(define (sound_restart sound) (sound_cmd sound 3))
(define-macro (anim_play anim)
`(anim_cmd 0 body ,anim))
(define-macro (registertype type . expr)
(let ((f (gensym)))
`(begin