Player12
An open source football management simulator
Loading...
Searching...
No Matches
world_tuning.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2// Football Management Project
3// Copyright (c) 2025 - 2026 Flavio Milinanni. All Rights Reserved.
4//
5// This file is part of the Football Management Project.
6// See the LICENSE file in the project root.
7// -----------------------------------------------------------------------------
8
9#pragma once
10
11#include <array>
12#include <cstdint>
13
14#include "global/languages.h"
15#include "global/types.h"
16
31enum class WorldRegion : std::uint8_t
32{
33 Europe,
37};
38
49{
50 float level_sd;
51 std::uint8_t elite_clubs;
52 float elite_gap;
56};
57
64{
65 float goals;
68 float home_edge;
69};
70
94
118inline constexpr std::array<LeagueProfile, 22> LEAGUE_PROFILES = {{
119 {3,
120 92,
121 372e6f,
122 0.46f,
123 0.05f,
124 0.14f,
125 0.35f,
126 0.65f,
127 38000.0f,
129 0.40f,
131 0.96f,
132 {9.0f, 6, 0.4f, 0.0f},
133 0.45f,
134 {2.95f, 3.89f, 0.25f, 13.1f}},
135 {2,
136 87,
137 194e6f,
138 0.35f,
139 0.12f,
140 0.15f,
141 0.38f,
142 0.60f,
143 27000.0f,
145 0.62f,
147 0.83f,
148 {9.5f, 3, 1.2f, 0.0f},
149 0.40f,
150 {2.62f, 4.67f, 0.30f, 18.0f}},
151 {1,
152 85,
153 146e6f,
154 0.38f,
155 0.12f,
156 0.15f,
157 0.35f,
158 0.66f,
159 28000.0f,
161 0.40f,
163 0.81f,
164 {9.5f, 4, 0.6f, 0.0f},
165 0.55f,
166 {2.54f, 4.09f, 0.30f, 9.0f}},
167 {4,
168 84,
169 230e6f,
170 0.29f,
171 0.12f,
172 0.14f,
173 0.45f,
174 0.54f,
175 40000.0f,
177 0.52f,
179 0.97f,
180 {8.5f, 1, 2.0f, 0.0f},
181 0.40f,
182 {3.19f, 3.99f, 0.30f, 11.9f}},
183 {5,
184 80,
185 120e6f,
186 0.19f,
187 0.09f,
188 0.18f,
189 0.54f,
190 0.80f,
191 26000.0f,
193 0.56f,
195 0.78f,
196 {9.0f, 1, 1.5f, 0.0f},
197 0.50f,
198 {2.83f, 3.67f, 0.30f, 11.3f}},
199 {12,
200 70,
201 35e6f,
202 0.38f,
203 0.15f,
204 0.12f,
205 0.35f,
206 0.55f,
207 8000.0f,
209 0.47f,
211 0.50f,
212 {11.0f, 3, 1.2f, -3.0f},
213 0.50f,
214 {2.65f, 5.13f, 0.35f, 12.3f}},
215 {11,
216 70,
217 90e6f,
218 0.45f,
219 0.05f,
220 0.15f,
221 0.35f,
222 0.80f,
223 22000.0f,
225 0.90f,
227 0.55f,
228 {5.5f, 0, 0.0f, 0.0f},
229 0.95f,
230 {2.46f, 5.50f, 0.40f, 21.1f}},
231 {10,
232 64,
233 20e6f,
234 0.40f,
235 0.05f,
236 0.22f,
237 0.33f,
238 0.80f,
239 20000.0f,
241 0.90f,
243 0.60f,
244 {3.5f, 2, 0.8f, 0.0f},
245 0.80f,
246 {2.05f, 4.90f, 0.40f, 18.4f}},
247 {9,
248 62,
249 50e6f,
250 0.45f,
251 0.03f,
252 0.18f,
253 0.34f,
254 0.70f,
255 20000.0f,
257 0.52f,
259 0.55f,
260 {5.5f, 4, 0.5f, 0.0f},
261 0.70f,
262 {2.82f, 4.50f, 0.35f, 17.8f}},
263 {8,
264 62,
265 60e6f,
266 0.12f,
267 0.05f,
268 0.05f,
269 0.78f,
270 0.70f,
271 11000.0f,
273 0.62f,
275 0.34f,
276 {9.0f, 2, 0.8f, 0.0f},
277 0.40f,
278 {2.73f, 4.50f, 0.35f, 16.9f}},
279 {7,
280 60,
281 65e6f,
282 0.35f,
283 0.02f,
284 0.28f,
285 0.35f,
286 0.55f,
287 21000.0f,
289 0.40f,
291 0.85f,
292 {3.5f, 0, 0.0f, 0.0f},
293 0.35f,
294 {2.96f, 4.30f, 0.30f, 19.1f}},
295 {6,
296 55,
297 24e6f,
298 0.45f,
299 0.00f,
300 0.15f,
301 0.40f,
302 0.82f,
303 8500.0f,
305 0.70f,
307 0.55f,
308 {4.5f, 3, 0.5f, -2.2f},
309 0.90f,
310 {2.47f, 4.92f, 0.50f, 13.5f}},
311 {14,
312 68,
313 46e6f,
314 0.30f,
315 0.00f,
316 0.25f,
317 0.45f,
318 0.93f,
319 20000.0f,
321 0.65f,
323 0.75f,
324 {5.0f, 3, 0.5f, -6.7f},
325 0.55f,
326 {2.54f, 3.79f, 0.50f, 12.9f}},
327 {13,
328 64,
329 12e6f,
330 0.50f,
331 0.00f,
332 0.12f,
333 0.38f,
334 0.70f,
335 11000.0f,
337 0.80f,
339 0.68f,
340 {3.5f, 0, 0.0f, -1.4f},
341 0.55f,
342 {2.36f, 4.89f, 0.50f, 20.1f}},
343 {15,
344 62,
345 50e6f,
346 0.30f,
347 0.00f,
348 0.25f,
349 0.45f,
350 0.40f,
351 28000.0f,
353 0.70f,
355 0.80f,
356 {4.2f, 0, 0.0f, -3.3f},
357 0.50f,
358 {3.00f, 4.51f, 0.50f, 14.2f}},
359 {16,
360 58,
361 11e6f,
362 0.35f,
363 0.00f,
364 0.12f,
365 0.53f,
366 0.92f,
367 7000.0f,
369 0.75f,
371 0.60f,
372 {4.8f, 0, 0.0f, -3.3f},
373 0.45f,
374 {2.49f, 3.71f, 0.50f, 12.7f}},
375 {22,
376 48,
377 3.5e6f,
378 0.40f,
379 0.00f,
380 0.15f,
381 0.45f,
382 0.90f,
383 1800.0f,
385 0.65f,
387 0.30f,
388 {4.4f, 0, 0.0f, -4.4f},
389 0.60f,
390 {2.50f, 5.70f, 0.60f, 7.2f}},
391 {21,
392 50,
393 10e6f,
394 0.45f,
395 0.00f,
396 0.20f,
397 0.35f,
398 0.90f,
399 6000.0f,
401 0.95f,
403 0.35f,
404 {3.7f, 0, 0.0f, -0.6f},
405 1.00f,
406 {2.17f, 5.50f, 0.60f, 24.5f}},
407 {20,
408 44,
409 3e6f,
410 0.35f,
411 0.00f,
412 0.30f,
413 0.35f,
414 0.90f,
415 5000.0f,
417 0.95f,
419 0.45f,
420 {3.0f, 0, 0.0f, 0.8f},
421 0.90f,
422 {1.91f, 5.00f, 0.60f, 23.7f}},
423 {19,
424 42,
425 2.5e6f,
426 0.30f,
427 0.00f,
428 0.25f,
429 0.45f,
430 0.50f,
431 3400.0f,
433 0.85f,
435 0.20f,
436 {4.5f, 0, 0.0f, -1.9f},
437 0.80f,
438 {2.85f, 4.50f, 0.50f, 25.9f}},
439 {18,
440 42,
441 8e6f,
442 0.15f,
443 0.00f,
444 0.10f,
445 0.75f,
446 0.90f,
447 3500.0f,
449 0.90f,
451 0.30f,
452 {4.1f, 0, 0.0f, -3.1f},
453 0.50f,
454 {2.24f, 4.70f, 0.50f, 14.5f}},
455 {17,
456 40,
457 7e6f,
458 0.10f,
459 0.00f,
460 0.40f,
461 0.50f,
462 0.80f,
463 5000.0f,
465 0.60f,
467 0.60f,
468 {3.2f, 0, 0.0f, 1.1f},
469 0.40f,
470 {2.70f, 4.30f, 0.50f, 12.3f}},
471}};
472
475 0, 50,
476 10e6f, 0.25f,
477 0.00f, 0.20f,
478 0.55f, 0.80f,
479 8000.0f, Language::EN,
480 0.80f, WorldRegion::Europe,
481 0.80f, {4.0f, 0, 0.0f, 0.0f},
482 0.50f, {2.80f, 4.30f, 0.30f, 14.0f}};
483
485constexpr const LeagueProfile& leagueProfile(LeagueID league_id)
486{
487 for (const LeagueProfile& profile : LEAGUE_PROFILES)
488 {
489 if (profile.league_id == league_id) return profile;
490 }
492}
493
495struct WorldTuning final
496{
497 struct Generation final
498 {
502 static constexpr float REPUTATION_PER_LEVEL = 0.8f;
503 static constexpr float CLUB_REPUTATION_NOISE = 0.5f;
505 static constexpr float REPUTATION_CAP_MARGIN = 2.0f;
507 static constexpr float MAX_CLUB_LEVEL = 90.0f;
509 static constexpr float TEAM_LEVEL_BASE = 38.0f;
510 static constexpr float TEAM_LEVEL_SLOPE = 0.42f;
513 static constexpr int VETERAN_AGE = 29;
514 static constexpr float VETERAN_HEADROOM = 2.0f;
516 static constexpr int NAME_ATTEMPTS = 48;
518 static constexpr float WAGE_ABILITY_EXPONENT = 7.0f;
520 static constexpr float OPENING_BALANCE_MIN = 0.15f;
521 static constexpr float OPENING_BALANCE_MAX = 0.45f;
522 };
523
524 struct Finance final
525 {
527 static constexpr float REVENUE_REPUTATION_SLOPE = 0.075f;
530 static constexpr float TV_EQUAL_SHARE = 0.75f;
532 static constexpr std::array<float, 5> CONTINENTAL_WEIGHTS = {
533 0.35f, 0.25f, 0.18f, 0.12f, 0.10f};
536 static constexpr float BUDGETED_CONTINENTAL_SHARE = 0.5f;
545 static constexpr float PLAYER_WAGE_SHARE_BASE = 0.63f;
546 static constexpr float PLAYER_WAGE_SHARE_SLOPE = 0.60f;
547 static constexpr float PLAYER_WAGE_SHARE_MIN = 0.42f;
548 static constexpr float PLAYER_WAGE_SHARE_MAX = 0.68f;
551 static constexpr float STAFF_SHARE = 0.12f;
553 static constexpr float MIN_OPERATING_SHARE = 0.15f;
557 static constexpr float TARGET_COST_RATIO = 0.95f;
559 static constexpr float HOME_MATCHES_PER_SEASON = 19.0f;
561 static constexpr float TICKET_PRICE_ELASTICITY = 0.5f;
566 static constexpr float TICKET_OVERPRICING_DECAY = 0.6f;
568 static constexpr float CORE_SUPPORT_SHARE = 0.05f;
570 static constexpr float ATTENDANCE_SUCCESS_WEIGHT = 0.25f;
572 static constexpr float TRANSFER_INCOME_REINVESTMENT = 0.5f;
574 static constexpr double WAGE_BUDGET_MARGIN = 1.05;
576 static constexpr std::int64_t CASH_RESERVE_WEEKS = 12;
578 static constexpr float TRANSFER_BUDGET_CASH_SHARE = 0.35f;
579 static constexpr float TRANSFER_BUDGET_REVENUE_SHARE = 0.08f;
585 static constexpr std::int64_t OWNER_RESCUE_TRIGGER_WEEKS = 4;
586 static constexpr std::int64_t OWNER_RESCUE_CUSHION_WEEKS = 8;
587 static constexpr float BENEFACTOR_RESCUE_CHANCE = 1.0f;
588 static constexpr float AMBITIOUS_RESCUE_CHANCE = 0.5f;
589 static constexpr float PATIENT_RESCUE_CHANCE = 0.25f;
595 static constexpr std::array<float, 2> PARACHUTE_SHARES = {0.45f, 0.35f};
596 static constexpr int PARACHUTE_INSTALMENTS = 11;
600 static constexpr float RELEGATION_WAGE_CUT = 0.30f;
601 };
602
603 struct Fitness final
604 {
606 static constexpr float FATIGUE_TIME_CONSTANT_HOURS = 48.0f;
608 static constexpr float MATCH_DRAIN_BASE = 38.0f;
609 static constexpr float MATCH_DRAIN_STAMINA_SLOPE = 0.18f;
611 static constexpr float SHARPNESS_GAIN_PER_90 = 12.0f;
612 static constexpr float SHARPNESS_DAILY_DECAY = 0.5f;
613 static constexpr float SHARPNESS_FLOOR = 30.0f;
615 static constexpr double MATCH_INJURY_RATE_PER_HOUR = 24.0 / 1000.0;
616 static constexpr double TRAINING_INJURY_RATE_PER_HOUR = 3.8 / 1000.0;
618 static constexpr double TRAINING_HOURS_PER_DAY = 1.2;
620 static constexpr double CONGESTION_MUSCLE_MULTIPLIER = 1.32;
621 static constexpr double CONGESTION_OTHER_MULTIPLIER = 1.09;
623 static constexpr double AWAY_MULTIPLIER = 0.89;
625 static constexpr double RECENT_REINJURY_MULTIPLIER = 4.8;
626 static constexpr double PRIOR_REINJURY_MULTIPLIER = 2.7;
628 static constexpr float REINJURY_DURATION_MULTIPLIER = 1.33f;
629 };
630
631 struct Development final
632 {
635 static constexpr float GROWTH_RATE_TEEN = 0.30f;
636 static constexpr float GROWTH_RATE_20_21 = 0.42f;
637 static constexpr float GROWTH_RATE_22_23 = 0.38f;
638 static constexpr float GROWTH_RATE_24_25 = 0.28f;
639 static constexpr float GROWTH_RATE_26_28 = 0.08f;
641 static constexpr float MINUTES_FOR_FULL_GROWTH = 1800.0f;
642
646 static constexpr float physicalDecline(int age)
647 {
648 if (age >= 34) return 0.065f;
649 if (age >= 32) return 0.050f;
650 if (age >= 30) return 0.032f;
651 if (age >= 28) return 0.012f;
652 return 0.0f;
653 }
656 static constexpr float ENDURANCE_FACTOR = 0.5f;
658 static constexpr float technicalDecline(int age)
659 {
660 if (age >= 35) return 0.040f;
661 if (age >= 33) return 0.025f;
662 if (age >= 31) return 0.015f;
663 return 0.0f;
664 }
667 static constexpr float craftChange(int age)
668 {
669 if (age >= 35) return -0.025f;
670 if (age >= 33) return -0.010f;
671 if (age >= 27) return 0.003f;
672 return 0.0f;
673 }
676 static constexpr float goalkeepingDecline(int age)
677 {
678 if (age >= 36) return 0.035f;
679 if (age >= 34) return 0.015f;
680 return 0.0f;
681 }
684 static constexpr float LATE_PEAK_ROLE_FACTOR = 0.6f;
685 static constexpr int LATE_PEAK_ROLE_UNTIL = 33;
686 };
687
688 struct MatchContext final
689 {
696 static constexpr float REFERENCE_GOALS_TOP = 2.89f;
697 static constexpr float REFERENCE_GOALS_SECOND = 2.42f;
703 static constexpr float REFERENCE_SPREAD_TOP = 7.0f;
704 static constexpr float REFERENCE_SPREAD_SECOND = 3.7f;
705 static constexpr float GOALS_PER_SPREAD_POINT = 0.017f;
710 static constexpr float GOAL_RESPONSE_EXPONENT = 1.3f;
711 static constexpr float REFERENCE_YELLOWS = 4.2f;
712 static constexpr float REFERENCE_HOME_EDGE = 14.0f;
716 static constexpr float REFERENCE_REFEREE_SPREAD = 0.4f;
720 static constexpr float MIN_HOME_SCALE = 0.6f;
721 static constexpr float MAX_HOME_SCALE = 1.4f;
722 };
723
724 struct Morale final
725 {
727 static constexpr float PERSISTENCE = 0.8f;
728 static constexpr float NEUTRAL = 55.0f;
730 static constexpr float RESULT_WEIGHT = 2.0f;
731 };
732
733 struct Youth final
734 {
737 static constexpr float POTENTIAL_OFFSET = -15.0f;
738 static constexpr float POTENTIAL_STDDEV = 9.0f;
739 static constexpr float FACILITY_POTENTIAL_BONUS = 5.0f;
743 static constexpr std::size_t AI_SQUAD_TARGET = 28;
744 };
745
754 struct FreeAgents final
755 {
756 static constexpr double EXIT_CHANCE_YOUNG = 0.05;
757 static constexpr double EXIT_CHANCE_PRIME = 0.10;
758 static constexpr double EXIT_CHANCE_LATE = 0.15;
759 static constexpr double EXIT_CHANCE_VETERAN = 0.25;
761 static constexpr double LEVEL_MARGIN = 5.0;
762 static constexpr double ABOVE_LEVEL_FACTOR = 0.4;
763 static constexpr double BELOW_LEVEL_FACTOR = 2.0;
766 static constexpr double PROSPECT_POTENTIAL_MARGIN = 10.0;
767 static constexpr double PROSPECT_FACTOR = 0.3;
769 static constexpr double LEVEL_QUANTILE = 0.25;
770 };
771
772 struct Board final
773 {
774 static constexpr float INITIAL_CONFIDENCE = 60.0f;
775 static constexpr float WARNING_THRESHOLD = 30.0f;
776 static constexpr float DISMISSAL_THRESHOLD = 12.0f;
778 static constexpr int DISMISSAL_REVIEWS = 3;
780 static constexpr int MIN_MATCHES_FOR_DISMISSAL = 12;
781 };
782};
Language
Enum representing supported languages in the game.
Definition languages.h:24
Real match averages of a league (the engine is steered towards them through the per-match context).
Definition world_tuning.h:64
float home_edge
Definition world_tuning.h:68
float yellow_cards
Definition world_tuning.h:66
float referee_spread
Definition world_tuning.h:67
float goals
Definition world_tuning.h:65
Economic and sporting profile of a league.
Definition world_tuning.h:76
float coach_changes
Definition world_tuning.h:91
LeagueMatchStyle match_style
Definition world_tuning.h:92
float domestic_share
Definition world_tuning.h:87
Language domestic_nationality
Definition world_tuning.h:86
float gate_share
Definition world_tuning.h:82
float wage_ratio
Definition world_tuning.h:84
float stadium_fill
Definition world_tuning.h:89
WorldRegion region
Definition world_tuning.h:88
LeagueID league_id
Definition world_tuning.h:77
float average_attendance
Definition world_tuning.h:85
LeagueShape shape
Definition world_tuning.h:90
float continental_share
Definition world_tuning.h:81
std::uint8_t reputation
Definition world_tuning.h:78
float commercial_share
Definition world_tuning.h:83
float tv_share
Definition world_tuning.h:80
float average_revenue_eur
Definition world_tuning.h:79
How unequal the clubs of a league are in first-team quality.
Definition world_tuning.h:49
float elite_gap
Definition world_tuning.h:52
float level_sd
Definition world_tuning.h:50
std::uint8_t elite_clubs
Definition world_tuning.h:51
float level_offset
Definition world_tuning.h:55
Definition world_tuning.h:773
static constexpr int MIN_MATCHES_FOR_DISMISSAL
Definition world_tuning.h:780
static constexpr float DISMISSAL_THRESHOLD
Definition world_tuning.h:776
static constexpr int DISMISSAL_REVIEWS
Definition world_tuning.h:778
static constexpr float WARNING_THRESHOLD
Definition world_tuning.h:775
static constexpr float INITIAL_CONFIDENCE
Definition world_tuning.h:774
Definition world_tuning.h:632
static constexpr float GROWTH_RATE_24_25
Definition world_tuning.h:638
static constexpr float GROWTH_RATE_TEEN
Definition world_tuning.h:635
static constexpr float GROWTH_RATE_26_28
Definition world_tuning.h:639
static constexpr float goalkeepingDecline(int age)
Definition world_tuning.h:676
static constexpr float LATE_PEAK_ROLE_FACTOR
Definition world_tuning.h:684
static constexpr float ENDURANCE_FACTOR
Definition world_tuning.h:656
static constexpr float craftChange(int age)
Definition world_tuning.h:667
static constexpr float MINUTES_FOR_FULL_GROWTH
Definition world_tuning.h:641
static constexpr int LATE_PEAK_ROLE_UNTIL
Definition world_tuning.h:685
static constexpr float GROWTH_RATE_22_23
Definition world_tuning.h:637
static constexpr float physicalDecline(int age)
Definition world_tuning.h:646
static constexpr float technicalDecline(int age)
Definition world_tuning.h:658
static constexpr float GROWTH_RATE_20_21
Definition world_tuning.h:636
Definition world_tuning.h:525
static constexpr float PLAYER_WAGE_SHARE_BASE
Definition world_tuning.h:545
static constexpr float ATTENDANCE_SUCCESS_WEIGHT
Definition world_tuning.h:570
static constexpr float CORE_SUPPORT_SHARE
Definition world_tuning.h:568
static constexpr float PLAYER_WAGE_SHARE_MAX
Definition world_tuning.h:548
static constexpr float BUDGETED_CONTINENTAL_SHARE
Definition world_tuning.h:536
static constexpr std::array< float, 2 > PARACHUTE_SHARES
Definition world_tuning.h:595
static constexpr float TARGET_COST_RATIO
Definition world_tuning.h:557
static constexpr float STAFF_SHARE
Definition world_tuning.h:551
static constexpr float TICKET_OVERPRICING_DECAY
Definition world_tuning.h:566
static constexpr float TICKET_PRICE_ELASTICITY
Definition world_tuning.h:561
static constexpr float TRANSFER_INCOME_REINVESTMENT
Definition world_tuning.h:572
static constexpr float TRANSFER_BUDGET_CASH_SHARE
Definition world_tuning.h:578
static constexpr float PLAYER_WAGE_SHARE_MIN
Definition world_tuning.h:547
static constexpr std::array< float, 5 > CONTINENTAL_WEIGHTS
Definition world_tuning.h:532
static constexpr std::int64_t OWNER_RESCUE_TRIGGER_WEEKS
Definition world_tuning.h:585
static constexpr float PLAYER_WAGE_SHARE_SLOPE
Definition world_tuning.h:546
static constexpr std::int64_t CASH_RESERVE_WEEKS
Definition world_tuning.h:576
static constexpr float TRANSFER_BUDGET_REVENUE_SHARE
Definition world_tuning.h:579
static constexpr double WAGE_BUDGET_MARGIN
Definition world_tuning.h:574
static constexpr float TV_EQUAL_SHARE
Definition world_tuning.h:530
static constexpr float HOME_MATCHES_PER_SEASON
Definition world_tuning.h:559
static constexpr float MIN_OPERATING_SHARE
Definition world_tuning.h:553
static constexpr float RELEGATION_WAGE_CUT
Definition world_tuning.h:600
static constexpr float BENEFACTOR_RESCUE_CHANCE
Definition world_tuning.h:587
static constexpr float REVENUE_REPUTATION_SLOPE
Definition world_tuning.h:527
static constexpr float PATIENT_RESCUE_CHANCE
Definition world_tuning.h:589
static constexpr std::int64_t OWNER_RESCUE_CUSHION_WEEKS
Definition world_tuning.h:586
static constexpr float AMBITIOUS_RESCUE_CHANCE
Definition world_tuning.h:588
static constexpr int PARACHUTE_INSTALMENTS
Definition world_tuning.h:596
Definition world_tuning.h:604
static constexpr float REINJURY_DURATION_MULTIPLIER
Definition world_tuning.h:628
static constexpr double AWAY_MULTIPLIER
Definition world_tuning.h:623
static constexpr double TRAINING_HOURS_PER_DAY
Definition world_tuning.h:618
static constexpr float SHARPNESS_FLOOR
Definition world_tuning.h:613
static constexpr float SHARPNESS_DAILY_DECAY
Definition world_tuning.h:612
static constexpr double MATCH_INJURY_RATE_PER_HOUR
Definition world_tuning.h:615
static constexpr double TRAINING_INJURY_RATE_PER_HOUR
Definition world_tuning.h:616
static constexpr double PRIOR_REINJURY_MULTIPLIER
Definition world_tuning.h:626
static constexpr float FATIGUE_TIME_CONSTANT_HOURS
Definition world_tuning.h:606
static constexpr double CONGESTION_MUSCLE_MULTIPLIER
Definition world_tuning.h:620
static constexpr float MATCH_DRAIN_BASE
Definition world_tuning.h:608
static constexpr float SHARPNESS_GAIN_PER_90
Definition world_tuning.h:611
static constexpr double RECENT_REINJURY_MULTIPLIER
Definition world_tuning.h:625
static constexpr float MATCH_DRAIN_STAMINA_SLOPE
Definition world_tuning.h:609
static constexpr double CONGESTION_OTHER_MULTIPLIER
Definition world_tuning.h:621
Definition world_tuning.h:755
static constexpr double PROSPECT_FACTOR
Definition world_tuning.h:767
static constexpr double ABOVE_LEVEL_FACTOR
Definition world_tuning.h:762
static constexpr double EXIT_CHANCE_YOUNG
Definition world_tuning.h:756
static constexpr double EXIT_CHANCE_LATE
Definition world_tuning.h:758
static constexpr double LEVEL_MARGIN
Definition world_tuning.h:761
static constexpr double EXIT_CHANCE_PRIME
Definition world_tuning.h:757
static constexpr double PROSPECT_POTENTIAL_MARGIN
Definition world_tuning.h:766
static constexpr double BELOW_LEVEL_FACTOR
Definition world_tuning.h:763
static constexpr double LEVEL_QUANTILE
Definition world_tuning.h:769
static constexpr double EXIT_CHANCE_VETERAN
Definition world_tuning.h:759
Definition world_tuning.h:498
static constexpr float TEAM_LEVEL_BASE
Definition world_tuning.h:509
static constexpr float REPUTATION_CAP_MARGIN
Definition world_tuning.h:505
static constexpr float OPENING_BALANCE_MAX
Definition world_tuning.h:521
static constexpr float OPENING_BALANCE_MIN
Definition world_tuning.h:520
static constexpr float TEAM_LEVEL_SLOPE
Definition world_tuning.h:510
static constexpr int NAME_ATTEMPTS
Definition world_tuning.h:516
static constexpr float REPUTATION_PER_LEVEL
Definition world_tuning.h:502
static constexpr float MAX_CLUB_LEVEL
Definition world_tuning.h:507
static constexpr int VETERAN_AGE
Definition world_tuning.h:513
static constexpr float VETERAN_HEADROOM
Definition world_tuning.h:514
static constexpr float CLUB_REPUTATION_NOISE
Definition world_tuning.h:503
static constexpr float WAGE_ABILITY_EXPONENT
Definition world_tuning.h:518
Definition world_tuning.h:689
static constexpr float REFERENCE_SPREAD_TOP
Definition world_tuning.h:703
static constexpr float REFERENCE_REFEREE_SPREAD
Definition world_tuning.h:716
static constexpr float MAX_HOME_SCALE
Definition world_tuning.h:721
static constexpr float REFERENCE_YELLOWS
Definition world_tuning.h:711
static constexpr float GOAL_RESPONSE_EXPONENT
Definition world_tuning.h:710
static constexpr float MIN_HOME_SCALE
Definition world_tuning.h:720
static constexpr float GOALS_PER_SPREAD_POINT
Definition world_tuning.h:705
static constexpr float REFERENCE_SPREAD_SECOND
Definition world_tuning.h:704
static constexpr float REFERENCE_GOALS_TOP
Definition world_tuning.h:696
static constexpr float REFERENCE_HOME_EDGE
Definition world_tuning.h:712
static constexpr float REFERENCE_GOALS_SECOND
Definition world_tuning.h:697
Definition world_tuning.h:725
static constexpr float NEUTRAL
Definition world_tuning.h:728
static constexpr float RESULT_WEIGHT
Definition world_tuning.h:730
static constexpr float PERSISTENCE
Definition world_tuning.h:727
Definition world_tuning.h:734
static constexpr std::size_t AI_SQUAD_TARGET
Definition world_tuning.h:743
static constexpr float POTENTIAL_STDDEV
Definition world_tuning.h:738
static constexpr float POTENTIAL_OFFSET
Definition world_tuning.h:737
static constexpr float FACILITY_POTENTIAL_BONUS
Definition world_tuning.h:739
Definition world_tuning.h:496
uint8_t LeagueID
Type alias for League identifiers.
Definition types.h:15
constexpr LeagueProfile DEFAULT_LEAGUE_PROFILE
Definition world_tuning.h:474
WorldRegion
Football region of a league (pre-season tours stay inside it).
Definition world_tuning.h:32
constexpr const LeagueProfile & leagueProfile(LeagueID league_id)
Definition world_tuning.h:485
constexpr std::array< LeagueProfile, 22 > LEAGUE_PROFILES
Definition world_tuning.h:118