unit buttons are loaded from a lua script

This commit is contained in:
devZoGok
2025-03-30 11:58:45 +03:00
parent dcf87da465
commit 2741423774
7 changed files with 122 additions and 101 deletions
+1 -2
View File
@@ -74,8 +74,7 @@ namespace battleship{
vb01::Vector2 clickPoint;
std::vector<Unit*> unitGroups[9], prevSelectedUnits;
std::vector<Order::Target> targets;
std::vector<vb01Gui::Button*> buttons;
std::vector<UnitButton*> unitButtons;
std::vector<vb01Gui::Button*> buttons, unitButtons;
bool isSelectionBox = false;
bool shiftPressed = false;
bool controlPressed = false;