The balance sheet with shares and a what-if calculation; season counts in the line-up
The balance shows its sums as numerals and every position with its share. A calculation with sliders for ticket price, crowd and home matches ahead draws where the cash goes; it is arithmetic on the booked figures, not a forecast. The squad read carries goals, assists and matches of the running season from the almanac, and the line-up shows them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
c560268373
commit
d75617052f
11 files changed
+246
-11
No files matched your search
@@ -457,6 +457,12 @@ class App final : public Rml::EventListener {
|
||||
std::string bank_view_ = "entrance", bank_hint_;
|
||||
int bank_property_ = 0, bank_owned_ = 0, bank_stock_ = 11;
|
||||
bool balance_future_ = false;
|
||||
// the balance sheet's what-if calculation (finance_simulation.inc)
|
||||
bool balance_sim_ = false;
|
||||
int balance_sim_price_ = 0, balance_sim_crowd_ = 0, balance_sim_matches_ = 17;
|
||||
std::string balance_simulation_result();
|
||||
std::string render_balance_simulation();
|
||||
bool balance_simulation_event(Rml::Event &);
|
||||
Json contract_draft_;
|
||||
std::string contracts_player_, contracts_dialog_, contracts_return_focus_, contracts_notice_;
|
||||
int contracts_tab_ = 2;
|
||||
@@ -776,6 +782,7 @@ class App final : public Rml::EventListener {
|
||||
bank_view_ = "entrance";
|
||||
bank_hint_.clear();
|
||||
balance_future_ = false;
|
||||
balance_sim_ = false;
|
||||
almanac_year_ = 0;
|
||||
almanac_day_.clear();
|
||||
almanac_match_.clear();
|
||||
@@ -1683,6 +1690,7 @@ public:
|
||||
#include "modern/ui/engine_friendlies.inc"
|
||||
#include "modern/ui/engine_almanac.inc"
|
||||
#include "modern/ui/engine_reports.inc"
|
||||
#include "modern/ui/finance_simulation.inc"
|
||||
#include "modern/ui/statistics_analysis.inc"
|
||||
#include "modern/ui/engine_rankings.inc"
|
||||
#include "modern/ui/engine_creation.inc"
|
||||
|
||||
Reference in new issue
Block a user