mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
rename Colour8 to colour8
This commit is contained in:
@@ -48,7 +48,7 @@ void game_init(GameData* const game_data) {
|
||||
|
||||
// allocate size for each row
|
||||
for (int8_t i = 0; i < ROWS; i++) {
|
||||
game_data->rows[i] = calloc(COLUMNS, sizeof(Colour8));
|
||||
game_data->rows[i] = calloc(COLUMNS, sizeof(colour8));
|
||||
// game_data->rows[i][0] = (colour8){(uint8_t)((((i + 1) ^ ((i + 1) >> 3)) * 0x27) & 0xFF)}; // for debugging rows
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user