Fixing more bugs related to percentages and then prototype a more complex UI.

This commit is contained in:
Zed A. Shaw 2025-02-15 22:14:19 -05:00
parent e106ad4be7
commit a7991a8f06
5 changed files with 45 additions and 20 deletions

View file

@ -161,6 +161,9 @@ namespace gui {
case CLOSE:
dbc::log("Nothing to close.");
break;
case TICK:
// do nothing
break;
default:
dbc::sentinel("unhandled event in IDLE");
}
@ -243,6 +246,10 @@ namespace gui {
case KEY::R:
$stats.reset();
break;
case KEY::G:
$combat_view.render();
event(Event::TICK);
break;
case KEY::M:
event(Event::MAP_OPEN);
break;