mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-05 21:24:27 -04:00
Prepare for display orientation part 1 (#2661)
This commit is contained in:
parent
6f6d863a14
commit
a1d7cf2b86
85 changed files with 405 additions and 334 deletions
|
@ -209,9 +209,9 @@ void StartGame() {
|
|||
cls();
|
||||
background(Black);
|
||||
foreground(White);
|
||||
fillrect(0, 0, 162, 320, Black);
|
||||
rect(162, 0, 164, 320, White);
|
||||
fillrect(164, 0, 240, 320, Black);
|
||||
fillrect(0, 0, 162, screen_height, Black);
|
||||
rect(162, 0, 164, screen_height, White);
|
||||
fillrect(164, 0, screen_width, screen_height, Black);
|
||||
ShowScore();
|
||||
ShowNextFigure();
|
||||
}
|
||||
|
@ -483,7 +483,7 @@ void UpdateBoard() {
|
|||
board[i - numberOfLines][j] = 0;
|
||||
}
|
||||
}
|
||||
fillrect(0, 0, 162, 320, Black);
|
||||
fillrect(0, 0, 162, screen_height, Black);
|
||||
for (int i = 0; i < 20; i++) {
|
||||
for (int j = 0; j < 10; j++) {
|
||||
if (board[i][j] != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue