diff options
| author | citrons <citrons@mondecitronne.com> | 2023-10-17 18:44:33 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2023-10-17 18:44:33 -0500 |
| commit | 31530c9b9da7a579406633792507177c9435c5eb (patch) | |
| tree | 41e346b32292482ff127ab0da2534a7f65fbff60 /world.h | |
| parent | 7c5f7142f76ca1be5eaf3f7795f18f8451aa30d5 (diff) | |
stamina based on # of movements rather than time
Diffstat (limited to 'world.h')
| -rw-r--r-- | world.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -19,14 +19,14 @@ typedef enum tile { extern SDL_Color tile_colors[]; -#define PLAYER_STAMINA 1250 +#define PLAYER_STAMINA 10 #define PLAYER_WALK_DELAY 100 #define PLAYER_PLACE_DELAY 175 #define PLAYER_GRAVITY 30 typedef struct player { SDL_Point pos; int scores[MAX_COLLECTIBLE]; - int stamina_time; + int stamina; int walk_wait; int place_wait; int gravity_time; |
