diff --git a/combat_ui.cpp b/combat_ui.cpp index 9849800..e052218 100644 --- a/combat_ui.cpp +++ b/combat_ui.cpp @@ -13,7 +13,7 @@ namespace gui { "[*%(100,150)button_attack | *%(100,150)button_block | *%(100,150)button_evade | *%(100,150)button_heal]"); } - void CombatUI::make_button(std::string name, std::wstring label, Events::GUI event) { + void CombatUI::make_button(std::string name, std::wstring label, Events::GUI event, int action) { auto button = $gui.entity(name); $gui.set(button, {"leather_pouch-128"}); $gui.set(button, {}); @@ -21,27 +21,22 @@ namespace gui { $gui.set