creating correct number GUI elements in the trading hub screen according to the number of players

This commit is contained in:
devZoGok
2024-03-23 14:50:19 +02:00
parent ff8f14e602
commit 1bb23231cb
11 changed files with 134 additions and 30 deletions
+4 -2
View File
@@ -47,7 +47,8 @@ namespace battleship{
SELL_REFINEDS,
BUY_RESEARCH,
SELL_RESEARCH,
ACTIVE_GAME_STATE
ACTIVE_GAME_STATE,
PLAYER_TRADE
};
enum ListboxType {
CONTROLS,
@@ -60,7 +61,8 @@ namespace battleship{
LAND_TEXTURES,
CPU_DIFFICULTIES,
FACTIONS,
CONSOLE
CONSOLE,
TRADE_OFFERS
};
class ConcreteGuiManager : public vb01Gui::AbstractGuiManager{