state: Removed old player input handling - replaced with new state
authorLukas Krickl <lukas@krickl.dev>
Sun, 2 Feb 2025 05:30:32 +0000 (06:30 +0100)
committerLukas Krickl <lukas@krickl.dev>
Sun, 2 Feb 2025 05:30:32 +0000 (06:30 +0100)
commit27a27e16414b090f2b8178333529018ca00ea072
treebc6dec62fcf43c6d639fdc3293383458d7e81f15
parent9b944dc7b563078ef3a85ffc79c38e9558cf940c
state: Removed old player input handling - replaced with new state
machine

The new implmenetation is a more modular approach to handling actor
states.
It works by swapping a simple state parameter out and calling
functions from a table.
The table to call is still left up to the actors.
src/animation.s
src/defs.s
src/macros.inc
src/player.s
src/state.s