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
+1
-1
@@ -16,7 +16,7 @@ namespace bmh {
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr size_t kRecordSize = 0xb0c;
|
||||
constexpr size_t kRecordSize = kManagerRecordSize;
|
||||
constexpr size_t kAttempts = 0x8b6; // five player ids, 0xffff free
|
||||
constexpr uint32_t kTransferList = ::bmh::layout::EditorList; // 44 rows of 0x58 bytes
|
||||
constexpr uint32_t kListRow = 0x58;
|
||||
|
||||
Reference in new issue
Block a user