Comply with ansi C and clean up.
This commit is contained in:
+3
-3
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user