Status UI now has a log and some buttons.
This commit is contained in:
parent
3a6ba8445a
commit
bfe0d797c8
7 changed files with 61 additions and 17 deletions
4
gui.cpp
4
gui.cpp
|
@ -353,6 +353,7 @@ namespace gui {
|
|||
void FSM::mouse() {
|
||||
// need to sort out how this will be easier with multiple UIs
|
||||
$combat_view.$gui.mouse($window);
|
||||
$status_view.$gui.mouse($window);
|
||||
}
|
||||
|
||||
void FSM::generate_map() {
|
||||
|
@ -421,6 +422,9 @@ namespace gui {
|
|||
$rotation = 0;
|
||||
event(Event::ATTACK);
|
||||
break;
|
||||
case eGUI::NOOP:
|
||||
$status_view.log(fmt::format("NOOP EVENT! {},{}", evt, entity));
|
||||
break;
|
||||
default:
|
||||
$status_view.log(fmt::format("INVALID EVENT! {},{}", evt, entity));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue