*Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash. Source: Mangos Thanks to TOM_RUS for most work to make this switch possible ;) --HG-- branch : trunk
This commit is contained in:
+28
-19
@@ -592,6 +592,7 @@ struct BattlemasterListEntry
|
||||
char* name[16]; // 16-31
|
||||
// 32 string flag, unused
|
||||
// 33 unused
|
||||
//uint32 unk; // 34 new 3.1
|
||||
};
|
||||
|
||||
#define MAX_OUTFIT_ITEMS 24
|
||||
@@ -979,6 +980,7 @@ struct HolidaysEntry
|
||||
//uint32 unk51; // 51
|
||||
//uint32 unk52; // 52
|
||||
//uint32 unk53; // 53
|
||||
//uint32 unk54; // 54
|
||||
};
|
||||
|
||||
struct ItemEntry
|
||||
@@ -1310,6 +1312,7 @@ struct SoundEntriesEntry
|
||||
// 26 m_minDistance
|
||||
// 27 m_distanceCutoff
|
||||
// 28 m_EAXDef
|
||||
// 29 new in 3.1
|
||||
};
|
||||
|
||||
#define MAX_SPELL_EFFECTS 3
|
||||
@@ -1420,6 +1423,7 @@ struct SpellEntry
|
||||
uint32 SchoolMask; // 228 m_schoolMask
|
||||
uint32 runeCostID; // 229 m_runeCostID
|
||||
//uint32 spellMissileID; // 230 m_spellMissileID not used
|
||||
//uint32 PowerDisplayId; // 231 PowerDisplay.dbc, new in 3.1
|
||||
|
||||
// helpers
|
||||
int32 CalculateSimpleValue(uint8 eff) const { return EffectBasePoints[eff]+int32(EffectBaseDice[eff]); }
|
||||
@@ -1529,6 +1533,7 @@ struct SpellItemEnchantmentEntry
|
||||
uint32 EnchantmentCondition; // 34 m_condition_id
|
||||
//uint32 requiredSkill; // 35 m_requiredSkillID
|
||||
//uint32 requiredSkillValue; // 36 m_requiredSkillRank
|
||||
// 37 new in 3.1
|
||||
};
|
||||
|
||||
struct SpellItemEnchantmentConditionEntry
|
||||
@@ -1648,25 +1653,28 @@ struct VehicleEntry
|
||||
float m_cameraFadeDistScalarMin; // 15
|
||||
float m_cameraFadeDistScalarMax; // 16
|
||||
float m_cameraPitchOffset; // 17
|
||||
int m_powerType[3]; // 18-20
|
||||
int m_powerToken[3]; // 21-23
|
||||
float m_facingLimitRight; // 24
|
||||
float m_facingLimitLeft; // 25
|
||||
float m_msslTrgtTurnLingering; // 26
|
||||
float m_msslTrgtPitchLingering; // 27
|
||||
float m_msslTrgtMouseLingering; // 28
|
||||
float m_msslTrgtEndOpacity; // 29
|
||||
float m_msslTrgtArcSpeed; // 30
|
||||
float m_msslTrgtArcRepeat; // 31
|
||||
float m_msslTrgtArcWidth; // 32
|
||||
float m_msslTrgtImpactRadius[2]; // 33-34
|
||||
char* m_msslTrgtArcTexture; // 35
|
||||
char* m_msslTrgtImpactTexture; // 36
|
||||
char* m_msslTrgtImpactModel[2]; // 37-38
|
||||
float m_cameraYawOffset; // 39
|
||||
uint32 m_uiLocomotionType; // 40
|
||||
float m_msslTrgtImpactTexRadius; // 41
|
||||
uint32 m_uiSeatIndicatorType; // 42
|
||||
//int m_powerType[3]; // removed in 3.1
|
||||
//int m_powerToken[3]; // removed in 3.1
|
||||
float m_facingLimitRight; // 18
|
||||
float m_facingLimitLeft; // 19
|
||||
float m_msslTrgtTurnLingering; // 20
|
||||
float m_msslTrgtPitchLingering; // 21
|
||||
float m_msslTrgtMouseLingering; // 22
|
||||
float m_msslTrgtEndOpacity; // 23
|
||||
float m_msslTrgtArcSpeed; // 24
|
||||
float m_msslTrgtArcRepeat; // 25
|
||||
float m_msslTrgtArcWidth; // 26
|
||||
float m_msslTrgtImpactRadius[2]; // 27-28
|
||||
char* m_msslTrgtArcTexture; // 29
|
||||
char* m_msslTrgtImpactTexture; // 30
|
||||
char* m_msslTrgtImpactModel[2]; // 31-32
|
||||
float m_cameraYawOffset; // 33
|
||||
uint32 m_uiLocomotionType; // 34
|
||||
float m_msslTrgtImpactTexRadius; // 35
|
||||
uint32 m_uiSeatIndicatorType; // 36
|
||||
// 37, new in 3.1
|
||||
// 38, new in 3.1
|
||||
// 39, new in 3.1
|
||||
};
|
||||
|
||||
struct VehicleSeatEntry
|
||||
@@ -1717,6 +1725,7 @@ struct VehicleSeatEntry
|
||||
uint32 m_exitUISoundID; // 43
|
||||
int32 m_uiSkin; // 44
|
||||
uint32 m_flagsB; // 45
|
||||
// 46-57 added in 3.1, floats mostly
|
||||
|
||||
bool IsUsable() const { return m_flags & 0x2000000; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user