mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
pack more efficiently
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user