units: Draw calls are not done outside of the state machine
authorLukas Krickl <lukas@krickl.dev>
Thu, 22 May 2025 03:25:27 +0000 (05:25 +0200)
committerLukas Krickl <lukas@krickl.dev>
Thu, 22 May 2025 03:25:27 +0000 (05:25 +0200)
commit1847b06213e0c66f32a195f766f5544aa4800d00
tree14335af5ad3618587b45dbdb31ccf91a4dc5a26f
parentafdbd064d86e3148edf9661c40ecd3667f947c90
units: Draw calls are not done outside of the state machine

This allows drawing to continue even if the unit state is awaiting
an idle state.
It also allows states to be shared between units more easily.
src/defs.s
src/macros.inc
src/unit.s