Added Game_World_Player and dying/respawning.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user