Added Game_World_Player and dying/respawning.

This commit is contained in:
2025-12-18 15:59:14 +01:00
parent 0074ecd57b
commit 2a999a12bf
10 changed files with 294 additions and 183 deletions

View File

@@ -6,11 +6,11 @@ typedef struct {
bool left;
} Simulation_Game_Input;
static inline bool simulation_input_equal(Simulation_Game_Input a, Simulation_Game_Input b) {
if(a.right != b.right) {
static inline bool simulation_input_empty(Simulation_Game_Input input) {
if(input.right) {
return false;
}
if(a.left != b.left) {
if(input.left) {
return false;
}