Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/src/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.c')
-rw-r--r--src/types.c2
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 {