From 2f219525624d5e4adcd9818208b56e4d7476dd31 Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 29 Jan 2025 12:18:10 +0100 Subject: [PATCH] pack more efficiently --- src/game/game.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/game.h b/src/game/game.h index bf680c4..27607b5 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -19,9 +19,9 @@ typedef const Colour* CRow; typedef Colour* Row; typedef struct { - SelectedShape selected; Colour* row[ROWS]; // stores how to interpert the raw level data Colour row_raw[ROWS][COLUMNS]; // stores the raw level data + SelectedShape selected; } GameData; void game_init(GameData* game_data); // initializes the game