Comply with ansi C and clean up.

This commit is contained in:
2026-07-15 13:26:36 -07:00
parent ffc4310646
commit a829ac8647
7 changed files with 465 additions and 291 deletions
+3 -3
View File
@@ -83,8 +83,8 @@ struct game_controller_input {
/* NOTE: All buttons must be added above this line. */
struct game_button_state Terminator;
};
};
} s;
} u;
};
struct game_input {
@@ -197,7 +197,7 @@ struct hero_bitmaps {
struct entity {
int Exists;
struct tile_map_position P;
struct v2 dP; // velocity
struct v2 dP; /* velocity */
unsigned int FacingDirection;
float Height, Width;
};