pack more efficiently

This commit is contained in:
2025-01-29 12:18:10 +01:00
parent 96511ac848
commit 2f21952562

View File

@@ -19,9 +19,9 @@ typedef const Colour* CRow;
typedef Colour* Row; typedef Colour* Row;
typedef struct { typedef struct {
SelectedShape selected;
Colour* row[ROWS]; // stores how to interpert the raw level data Colour* row[ROWS]; // stores how to interpert the raw level data
Colour row_raw[ROWS][COLUMNS]; // stores the raw level data Colour row_raw[ROWS][COLUMNS]; // stores the raw level data
SelectedShape selected;
} GameData; } GameData;
void game_init(GameData* game_data); // initializes the game void game_init(GameData* game_data); // initializes the game