diff options
author | ostanton <114495956+ostanton@users.noreply.github.com> | 2025-04-06 12:36:27 +0100 |
---|---|---|
committer | ostanton <114495956+ostanton@users.noreply.github.com> | 2025-04-06 12:36:27 +0100 |
commit | 672ae1cdc364d15787e0433b3578d0fb30e2231e (patch) | |
tree | 8ff938b57b52fc29e19425129dbbb85c9d603f36 /src/types.c | |
parent | af06f8718558683aa717bc98bcba1ed1a30e3737 (diff) | |
download | ldjam57-672ae1cdc364d15787e0433b3578d0fb30e2231e.tar |
Tidied restart level, started on tracking placed cells
Diffstat (limited to 'src/types.c')
-rw-r--r-- | src/types.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.c b/src/types.c index 4c7a3cb..bd6b858 100644 --- a/src/types.c +++ b/src/types.c @@ -93,6 +93,7 @@ typedef struct { int goalx, goaly; ButtonState buttonStates[N_BUTTONS]; int currentLevel; + int placedCells[MAX_PLACEABLE_CELLS]; // indices into Level placeableCells } State; // Mirror these in src/index.html.in @@ -101,6 +102,7 @@ enum { INPUT_CLICK, INPUT_RCLICK, INPUT_PAUSE_PLAY, + INPUT_RESTART, }; typedef struct { |