Refactor into more modular architecture

This commit is contained in:
2025-10-18 17:43:22 +01:00
parent 26b9e1da94
commit 93ba6f4a04
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