some ui changes / nes
This commit is contained in:
+6
-4
@@ -35,6 +35,8 @@ void ppu_off() {
|
||||
}
|
||||
|
||||
void ppu_on() {
|
||||
waitvsync();
|
||||
PPU.scroll = 0;
|
||||
PPU.mask |= 0x1A;
|
||||
}
|
||||
|
||||
@@ -298,15 +300,15 @@ void render_main_scene() {
|
||||
chlinexy(10, 13, 4);
|
||||
/* render stats */
|
||||
gotoxy(statbase, 1);
|
||||
cprintf("Health %02d", hp);
|
||||
cprintf("Health %02d", hp);
|
||||
gotoxy(statbase, 3);
|
||||
cprintf("Weapon %02d", weapon);
|
||||
cprintf("Weapon %02d", weapon);
|
||||
gotoxy(statbase, 5);
|
||||
cprintf("Durability %02d", durability);
|
||||
cprintf("Durability %02d", durability);
|
||||
cputsxy(statbase, 17, "Choose: D-Pad");
|
||||
cputsxy(statbase, 19, can_run ? "Run: A/B/SELECT" : "Cannot run!");
|
||||
gotoxy(statbase, 21);
|
||||
cprintf("Rooms clrd %02d", rooms_cleared);
|
||||
cprintf("Rooms clrd: %02d", rooms_cleared);
|
||||
/* render status message */
|
||||
gotoxy(1, SCREEN_HEIGHT-2);
|
||||
cprintf("%s", status_msg);
|
||||
|
||||
Reference in New Issue
Block a user