summaryrefslogtreecommitdiff
path: root/world.h
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2023-10-17 18:44:33 -0500
committercitrons <citrons@mondecitronne.com>2023-10-17 18:44:33 -0500
commit31530c9b9da7a579406633792507177c9435c5eb (patch)
tree41e346b32292482ff127ab0da2534a7f65fbff60 /world.h
parent7c5f7142f76ca1be5eaf3f7795f18f8451aa30d5 (diff)
stamina based on # of movements rather than time
Diffstat (limited to 'world.h')
-rw-r--r--world.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/world.h b/world.h
index 33d5984..afa8829 100644
--- a/world.h
+++ b/world.h
@@ -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;