Investments as a page of their own, and the stadium's name as a third contract
Merchandise, press work and fan work move from advertising to a page of their own, with international marketing beside them; advertising gains the naming right of the stadium. The two new places are shown and say that the game does not know them yet. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
e912269a49
commit
7bdf47d7fd
9 files changed
+114
-45
No files matched your search
@@ -14,7 +14,7 @@ const std::vector<NotebookSection> ¬ebook_sections() {
|
||||
{"home", "Hauptseite", {}},
|
||||
{"team", "Mannschaft", {"lineup", "tactics", "training", "camp", "strengths", "scorers"}},
|
||||
{"transfers", "Transfers", {"transfer", "contracts"}},
|
||||
{"club", "Verein", {"stadium", "periphery", "environment", "advertising"}},
|
||||
{"club", "Verein", {"stadium", "periphery", "environment", "advertising", "investments"}},
|
||||
{"finance", "Finanzen", {"balance", "bank", "toto"}},
|
||||
{"fixtures", "Spielplan", {"calendar", "league", "tables", "other", "friendlies", "postpone", "indoor"}},
|
||||
{"records", "Statistik", {"statistics", "stat-trend", "stat-winners", "stat-records", "stat-players", "achievements", "almanac", "fairplay", "highscore"}},
|
||||
@@ -26,7 +26,7 @@ std::string notebook_page_label(const std::string &route) {
|
||||
static const std::map<std::string, std::string> labels = {
|
||||
{"lineup", "Aufstellung"}, {"tactics", "Taktik"}, {"training", "Training"}, {"camp", "Trainingslager"}, {"strengths", "Stärken"},
|
||||
{"scorers", "Spielerstatistik"}, {"transfer", "Transfermarkt"}, {"contracts", "Verträge"}, {"stadium", "Stadion"}, {"periphery", "Peripherie"}, {"environment", "Umfeld"},
|
||||
{"advertising", "Werbung"}, {"balance", "Bilanz"}, {"bank", "Bank"}, {"toto", "Toto"}, {"calendar", "Kalender"}, {"league", "Ligaspiele"},
|
||||
{"advertising", "Werbung"}, {"investments", "Investitionen"}, {"balance", "Bilanz"}, {"bank", "Bank"}, {"toto", "Toto"}, {"calendar", "Kalender"}, {"league", "Ligaspiele"},
|
||||
{"tables", "Tabellen"}, {"other", "Übrige Spiele"}, {"friendlies", "Testspiele"}, {"postpone", "Verlegen"}, {"indoor", "Halle"},
|
||||
{"statistics", "Analyse"}, {"stat-trend", "Verlauf"}, {"stat-winners", "Sieger"}, {"stat-records", "Rekorde"}, {"stat-players", "Spieler"}, {"achievements", "Erfolge"}, {"almanac", "Almanach"}, {"fairplay", "Fairplay"}, {"highscore", "Highscore"},
|
||||
{"news", "Nachrichten"}, {"settings", "Einstellungen"}, {"save", "Speichern"}, {"load", "Laden"}, {"newplayer", "Manager"}};
|
||||
@@ -203,7 +203,10 @@ std::string App::notebook_shell(const std::function<bool(const std::string &)> &
|
||||
if (!engine_mode_ && std::string_view(r).starts_with("stat-")) continue;
|
||||
// the ground is one menu with two pages: the stadium and what stands around it
|
||||
const bool ground = std::string_view(r) == "stadium" || std::string_view(r) == "periphery";
|
||||
// so is advertising: the sponsors' contracts, and what the club invests itself
|
||||
const bool commerce = std::string_view(r) == "advertising" || std::string_view(r) == "investments";
|
||||
const bool here = ground ? menu_ == "stadium" && (stadium_view_.value("view", std::string("inside")) == "panorama") == (std::string_view(r) == "periphery")
|
||||
: commerce ? menu_ == "advertising" && (advertising_page_ == "investments") == (std::string_view(r) == "investments")
|
||||
: part && engine_mode_ ? menu_ == "statistics" && statistics_page_ == r : notebook_menu() == r;
|
||||
if (here) {
|
||||
kicker = std::string(section.label) + " · " + std::to_string(n + 1) + " / " + std::to_string(section.routes.size());
|
||||
@@ -213,7 +216,7 @@ std::string App::notebook_shell(const std::function<bool(const std::string &)> &
|
||||
std::string("nb-sub") + (here ? " active" : ""),
|
||||
"id=\"page-" + std::string(r) + "\" aria-pressed=\"" + (here ? "true" : "false") + "\" style=\"transform:translateY(" + (here ? std::string("-13") : std::to_string(sub_rest[n % sub_rest.size()])) + "dp) rotate(" +
|
||||
scalar(sub_turns[n % sub_turns.size()]) + "deg);\"",
|
||||
enabled(part ? "statistics" : ground ? "stadium" : r));
|
||||
enabled(part ? "statistics" : ground ? "stadium" : commerce ? "advertising" : r));
|
||||
++n;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user