Record sizes in one header; the engine's club count from the world layout
game/records.hpp names the sizes of the manager record, the tactics board, a board slot and the club record; 58 local copies of these numbers refer to it. The six local club count constants of the engine (138) are gone, their uses read world_layout().league_teams. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
d552c59a77
commit
31ff36fb09
40 files changed
+96
-85
No files matched your search
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace bmh {
|
||||
namespace {
|
||||
constexpr size_t kRecord = 0xb0c;
|
||||
constexpr size_t kRecord = kManagerRecordSize;
|
||||
// OpenBMH deviates from the original: reads the supported edition-specific high-score format from the loaded image.
|
||||
// supported rule profile executable HighscoreRuntimeField..a5144, verified against the installed LE image.
|
||||
constexpr std::array<uint8_t, 8> kHistoryWeights{3, 5, 4, 30, 20, 10, 5, 40};
|
||||
|
||||
Reference in new issue
Block a user