mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
optimize clearing lines by using pointers to define the row order
This commit is contained in:
@@ -43,8 +43,8 @@ static void init(void) {
|
||||
return;
|
||||
}
|
||||
|
||||
// set a random seed using the system clock
|
||||
srand(time(NULL));
|
||||
// initialize the game
|
||||
game_init(&game_data);
|
||||
|
||||
// initialize audio
|
||||
// AudioDevice* audio_device = audio_device_init(32000, AUDIO_S16, 1, 4096);
|
||||
|
||||
Reference in New Issue
Block a user