This commit is contained in:
t. boddy 2026-02-14 19:31:58 -05:00
parent ab73e04b32
commit 0b905f2690
26 changed files with 1210 additions and 0 deletions

22
src/chrome.h Normal file
View file

@ -0,0 +1,22 @@
char scoreStr[SCORE_LENGTH];
u32 lastScore;
static void drawScore(){
uintToStr(score, scoreStr, 1);
VDP_drawText(scoreStr, 1, 1);
}
void loadChrome(){
drawScore();
}
void updateChrome(){
score++;
if(score > 99999999) score = 0;
if(lastScore != score){
lastScore = score;
drawScore();
}
VDP_clearText(1, 26, 4);
VDP_drawText(debugStr, 1, 26);
}