diff options
Diffstat (limited to 'src/types.c')
-rw-r--r-- | src/types.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/types.c b/src/types.c index b2f1ee6..bf6dcf4 100644 --- a/src/types.c +++ b/src/types.c @@ -101,8 +101,12 @@ typedef struct { } Button; typedef struct { + // 0 if only 1 blue is needed, 1 if 9 are needed + char need9; + char spawnRate; char grid[GRIDWIDTH * GRIDHEIGHT]; int goalx, goaly; + int spawnerx, spawnery; char placeableCells[MAX_PLACEABLE_CELLS]; // Color } Level; @@ -110,8 +114,13 @@ typedef struct { uint64_t lastTick; char playing; char levelComplete; + // How many blues have reached the end + char blues; + char need9; char grid[GRIDWIDTH * GRIDHEIGHT]; int goalx, goaly; + int spawnerx, spawnery; + int spawnerCount; ButtonState buttonStates[N_BUTTONS]; int currentLevel; char placeableCells[MAX_PLACEABLE_CELLS]; |