- 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]>
51 lines
1.6 KiB
C++
51 lines
1.6 KiB
C++
#ifndef WOW_SOURCE_DB_REC_SPELLVISUALREC_H
|
|
#define WOW_SOURCE_DB_REC_SPELLVISUALREC_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class SFileImpl;
|
|
|
|
class SpellVisualRec {
|
|
public:
|
|
static const int32_t s_numColumns = 32;
|
|
static const int32_t s_rowSize = 128;
|
|
static const bool s_generatedID = false;
|
|
|
|
/* 0000 */ int32_t m_id;
|
|
/* 0004 */ int32_t m_precastKit;
|
|
/* 0008 */ int32_t m_castKit;
|
|
/* 000C */ int32_t m_impactKit;
|
|
/* 0010 */ int32_t m_stateKit;
|
|
/* 0014 */ int32_t m_stateDoneKit;
|
|
/* 0018 */ int32_t m_channelKit;
|
|
/* 001C */ int32_t m_hasMissile;
|
|
/* 0020 */ int32_t m_missileModel;
|
|
/* 0024 */ int32_t m_missilePathType;
|
|
/* 0028 */ int32_t m_missileDestinationAttachment;
|
|
/* 002C */ int32_t m_missileSound;
|
|
/* 0030 */ int32_t m_animEventSoundID;
|
|
/* 0034 */ int32_t m_flags;
|
|
/* 0038 */ int32_t m_casterImpactKit;
|
|
/* 003C */ int32_t m_targetImpactKit;
|
|
/* 0040 */ int32_t m_missileAttachment;
|
|
/* 0044 */ int32_t m_missileFollowGroundHeight;
|
|
/* 0048 */ int32_t m_missileFollowGroundDropSpeed;
|
|
/* 004C */ int32_t m_missileFollowGroundApproach;
|
|
/* 0050 */ int32_t m_missileFollowGroundFlags;
|
|
/* 0054 */ int32_t m_missileMotion;
|
|
/* 0058 */ int32_t m_missileTargetingKit;
|
|
/* 005C */ int32_t m_instantAreaKit;
|
|
/* 0060 */ int32_t m_impactAreaKit;
|
|
/* 0064 */ int32_t m_persistentAreaKit;
|
|
/* 0068 */ float m_missileCastOffset [3];
|
|
/* 0074 */ float m_missileImpactOffset [3];
|
|
|
|
SpellVisualRec();
|
|
~SpellVisualRec();
|
|
static const char* GetFilename();
|
|
bool Read(SFileImpl* file, const char* stringBuffer);
|
|
};
|
|
|
|
#endif
|