monopoly Main UI Changes

This commit is contained in:
Adolfo Reyna
2026-01-31 22:46:26 -05:00
parent 78b376ad5d
commit c6d7bd6c8c
4 changed files with 321 additions and 64 deletions

View File

@@ -37,14 +37,25 @@ private:
bool just_sent_to_jail;
// UI selection state
int selected_action; // 0: Context action (Roll or End Turn), 1: View Board
static constexpr int ACTION_COUNT = 2;
int selected_action; // 0: Context action, 1: Pay $50 (Jail), 2: View Board
int current_action_count = 2;
// Modal games
Game* active_modal = nullptr;
int last_dice1 = 0;
int last_dice2 = 0;
int modal_property_index = -1;
int chance_deck[CHANCE_DECK_SIZE];
int current_chance_idx;
int last_drawn_chance_idx = -1;
int community_deck[COMMUNITY_DECK_SIZE];
int current_community_idx;
int last_drawn_community_idx = -1;
int rent_multiplier = 1;
bool force_utility_10x = false;
void shuffle_chance_deck();
void shuffle_community_deck();
};
#endif // MONOPOLY_GAME_H