clean up example warnings

This commit is contained in:
Patrick Surry
2024-12-30 11:26:26 -05:00
parent ce59a1c6bb
commit 3e4bbb11dd
16 changed files with 60 additions and 86 deletions

View File

@@ -72,7 +72,7 @@ void InfoRow()
char buf[10];
DecUNum(buf, Score);
InfoDispText(sizeof(ScoreHlp), buf, COL_YELLOW);
// display text ENTER: PSW
InfoDispText((TEXTMAX - 10)/2, LevelHlp, COL_RED);
@@ -183,7 +183,7 @@ void ClearLevel(u8 tile)
{
for(y = 0; y < MAPH; y++)
Board[x + y*MAPW] = tile;
sleep_ms(20);
}
}
@@ -203,7 +203,7 @@ void OpenLevel()
DrawFrame(&BoxCanvas, FDX1, FDX1, BOXW-2*FDX1, BOXH-2*FDX1, COL_WHITE);
// display current scene
int x, x2;
int x;
char buf[10];
int n = DecUNum(buf, Level);
x = (BOXW - (6+n)*16)/2;
@@ -596,7 +596,7 @@ Bool GameLoop()
// Esc, restart
case KEY_ESC:
// break
if (State != S_GO) return True;
if (State != S_GO) return True;
// restart scene
InitLevel();