Files
SatyandClaude Opus 5.5 20885b056c DB: WowClientDB<T>/WowClientDB_RLE<T>, per-record .cpp, table globals, StaticDBLoadAll, ClientDBInitialize
- WowClientDB.h: WowClientDB_Base, IDatabase<T>, WowClientDB_Common<T> (Load),
  WowClientDB<T> and WowClientDB_RLE<T> (Spell, ItemDisplayInfo, Light*Band) with
  OFFSET lists for every 12340 instance; WowClientDB.cpp: base dtor, RLE row codec.
- Records are classes (0.5.3 decorations) with out-of-line ctor/dtor/GetFilename/Read
  in DB/Rec/*.cpp, static s_numColumns/s_rowSize/s_generatedID; ID field m_id.
- DBClient.cpp: 239 table globals, StaticDBLoadAll, ClientDBInitialize (6 callees
  declared, tracked); Startup_Strings in Client.cpp, VideoHardware in Hardware.cpp.
- IDB synced (410 names, snapshot Wow.exe.pre_clientdb_20260926.idb).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 17:18:11 +02:00

40 lines
1.0 KiB
C++

#ifndef WOW_SOURCE_DB_REC_MAPREC_H
#define WOW_SOURCE_DB_REC_MAPREC_H
#include <cstddef>
#include <cstdint>
class SFileImpl;
class MapRec {
public:
static const int32_t s_numColumns = 66;
static const int32_t s_rowSize = 264;
static const bool s_generatedID = false;
/* 0000 */ int32_t m_id;
/* 0004 */ const char* m_directory;
/* 0008 */ int32_t m_instanceType;
/* 000C */ int32_t m_flags;
/* 0010 */ int32_t m_pvp;
/* 0014 */ const char* m_mapName;
/* 0018 */ int32_t m_areaTableID;
/* 001C */ const char* m_mapDescription0;
/* 0020 */ const char* m_mapDescription1;
/* 0024 */ int32_t m_loadingScreenID;
/* 0028 */ float m_minimapIconScale;
/* 002C */ int32_t m_corpseMapID;
/* 0030 */ float m_corpse [2];
/* 0038 */ int32_t m_timeOfDayOverride;
/* 003C */ int32_t m_expansionID;
/* 0040 */ int32_t m_raidOffset;
/* 0044 */ int32_t m_maxPlayers;
MapRec();
~MapRec();
static const char* GetFilename();
bool Read(SFileImpl* file, const char* stringBuffer);
};
#endif