Refactor into more modular architecture

This commit is contained in:
Camden Dixie O'Brien
2025-10-17 14:03:34 +01:00
parent 34e32c6a46
commit 536ee74b61
12 changed files with 813 additions and 428 deletions

View File

@@ -8,4 +8,5 @@ defs="-D_POSIX_C_SOURCE=200809L"
$cc $warn $flags $libs $defs \
-o asteroids \
fb.c game.c input.c main.c maths.c renderer.c rng.c text.c
asteroids.c collisions.c entity.c fb.c game.c input.c \
main.c maths.c physics.c scene.c renderer.c rng.c text.c