mirror of
https://github.com/mangosfour/server.git
synced 2025-12-23 07:37:01 +00:00
Added empty vehicle class, vehicle*.dbc struct's
This commit is contained in:
parent
6fae544fbe
commit
204b61c220
19 changed files with 323 additions and 34 deletions
|
|
@ -248,4 +248,51 @@ enum TotemCategoryType
|
|||
TOTEM_CATEGORY_TYPE_SPANNER = 24
|
||||
};
|
||||
|
||||
// SummonProperties.dbc, col 1
|
||||
/*enum SummonGroup
|
||||
{
|
||||
SUMMON_GROUP_UNKNOWN1 = 0, // 1160 spells in 3.0.3
|
||||
SUMMON_GROUP_UNKNOWN2 = 1, // 861 spells in 3.0.3
|
||||
SUMMON_GROUP_PETS = 2, // 52 spells in 3.0.3, pets mostly
|
||||
SUMMON_GROUP_CONTROLLABLE = 3, // 13 spells in 3.0.3, mostly controllable
|
||||
SUMMON_GROUP_UNKNOWN3 = 4 // 86 spells in 3.0.3, taxi/mounts
|
||||
};
|
||||
|
||||
// SummonProperties.dbc, col 3
|
||||
enum SummonType
|
||||
{
|
||||
SUMMON_TYPE_UNKNOWN = 0, // different summons, 1330 spells in 3.0.3
|
||||
SUMMON_TYPE_SUMMON = 1, // generic summons, 49 spells in 3.0.3
|
||||
SUMMON_TYPE_GUARDIAN = 2, // summon guardian, 393 spells in 3.0.3
|
||||
SUMMON_TYPE_ARMY = 3, // summon army, 5 spells in 3.0.3
|
||||
SUMMON_TYPE_TOTEM = 4, // summon totem, 169 spells in 3.0.3
|
||||
SUMMON_TYPE_CRITTER = 5, // critter/minipet, 195 spells in 3.0.3
|
||||
SUMMON_TYPE_DK = 6, // summon DRW/Ghoul, 2 spells in 3.0.3
|
||||
SUMMON_TYPE_BOMB = 7, // summon bot/bomb, 4 spells in 3.0.3
|
||||
SUMMON_TYPE_PHASING = 8, // something todo with DK prequest line, 2 spells in 3.0.3
|
||||
SUMMON_TYPE_SIEGE_VEH = 9, // summon different vehicles, 14 spells in 3.0.3
|
||||
SUMMON_TYPE_DRAKE_VEH = 10, // summon drake (vehicle), 3 spells
|
||||
SUMMON_TYPE_LIGHTWELL = 11 // summon lightwell, 6 spells in 3.0.3
|
||||
};
|
||||
|
||||
// SummonProperties.dbc, col 5
|
||||
enum SummonFlags
|
||||
{
|
||||
SUMMON_FLAG_NONE = 0x0000, // 1342 spells in 3.0.3
|
||||
SUMMON_FLAG_UNK1 = 0x0001, // 75 spells in 3.0.3, something unfriendly
|
||||
SUMMON_FLAG_UNK2 = 0x0002, // 616 spells in 3.0.3, something friendly
|
||||
SUMMON_FLAG_UNK3 = 0x0004, // 22 spells in 3.0.3, no idea...
|
||||
SUMMON_FLAG_UNK4 = 0x0008, // 49 spells in 3.0.3, some mounts
|
||||
SUMMON_FLAG_UNK5 = 0x0010, // 25 spells in 3.0.3, quest related?
|
||||
SUMMON_FLAG_UNK6 = 0x0020, // 0 spells in 3.0.3, unused
|
||||
SUMMON_FLAG_UNK7 = 0x0040, // 12 spells in 3.0.3, no idea
|
||||
SUMMON_FLAG_UNK8 = 0x0080, // 4 spells in 3.0.3, no idea
|
||||
SUMMON_FLAG_UNK9 = 0x0100, // 51 spells in 3.0.3, no idea, many quest related
|
||||
SUMMON_FLAG_UNK10 = 0x0200, // 51 spells in 3.0.3, something defensive
|
||||
SUMMON_FLAG_UNK11 = 0x0400, // 3 spells, requires something near?
|
||||
SUMMON_FLAG_UNK12 = 0x0800, // 30 spells in 3.0.3, no idea
|
||||
SUMMON_FLAG_UNK13 = 0x1000, // 8 spells in 3.0.3, siege vehicle
|
||||
SUMMON_FLAG_UNK14 = 0x2000, // 2 spells in 3.0.3, escort?
|
||||
};
|
||||
*/
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ DBCStorage <SpellRangeEntry> sSpellRangeStore(SpellRangefmt);
|
|||
DBCStorage <SpellRuneCostEntry> sSpellRuneCostStore(SpellRuneCostfmt);
|
||||
DBCStorage <SpellShapeshiftEntry> sSpellShapeshiftStore(SpellShapeshiftfmt);
|
||||
DBCStorage <StableSlotPricesEntry> sStableSlotPricesStore(StableSlotPricesfmt);
|
||||
DBCStorage <SummonPropertiesEntry> sSummonPropertiesStore(SummonPropertiesfmt);
|
||||
//DBCStorage <SummonPropertiesEntry> sSummonPropertiesStore(SummonPropertiesfmt);
|
||||
DBCStorage <TalentEntry> sTalentStore(TalentEntryfmt);
|
||||
TalentSpellPosMap sTalentSpellPosMap;
|
||||
DBCStorage <TalentTabEntry> sTalentTabStore(TalentTabEntryfmt);
|
||||
|
|
@ -319,7 +319,7 @@ void LoadDBCStores(std::string dataPath)
|
|||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sSpellRuneCostStore, dbcPath,"SpellRuneCost.dbc");
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sSpellShapeshiftStore, dbcPath,"SpellShapeshiftForm.dbc");
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sStableSlotPricesStore, dbcPath,"StableSlotPrices.dbc");
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sSummonPropertiesStore, dbcPath,"SummonProperties.dbc");
|
||||
//LoadDBC(availableDbcLocales,bar,bad_dbc_files,sSummonPropertiesStore, dbcPath,"SummonProperties.dbc");
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sTalentStore, dbcPath,"Talent.dbc");
|
||||
|
||||
// create talent spells set
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ extern DBCStorage <SpellRuneCostEntry> sSpellRuneCostStore;
|
|||
extern DBCStorage <SpellShapeshiftEntry> sSpellShapeshiftStore;
|
||||
extern DBCStorage <SpellEntry> sSpellStore;
|
||||
extern DBCStorage <StableSlotPricesEntry> sStableSlotPricesStore;
|
||||
extern DBCStorage <SummonPropertiesEntry> sSummonPropertiesStore;
|
||||
//extern DBCStorage <SummonPropertiesEntry> sSummonPropertiesStore;
|
||||
extern DBCStorage <TalentEntry> sTalentStore;
|
||||
extern DBCStorage <TalentTabEntry> sTalentTabStore;
|
||||
extern DBCStorage <TaxiNodesEntry> sTaxiNodesStore;
|
||||
|
|
|
|||
|
|
@ -1100,7 +1100,7 @@ struct SpellEntry
|
|||
uint32 StartRecoveryTime; // 209 m_startRecoveryTime
|
||||
uint32 MaxTargetLevel; // 210 m_maxTargetLevel
|
||||
uint32 SpellFamilyName; // 211 m_spellClassSet
|
||||
uint64 SpellFamilyFlags; // 212-213 m_spellClassMask
|
||||
uint64 SpellFamilyFlags; // 212-213 m_spellClassMask NOTE: size is 12 bytes!!!
|
||||
uint32 SpellFamilyFlags2; // 214 addition to m_spellClassMask
|
||||
uint32 MaxAffectedTargets; // 215 m_maxTargets
|
||||
uint32 DmgClass; // 216 m_defenseType
|
||||
|
|
@ -1234,15 +1234,15 @@ struct StableSlotPricesEntry
|
|||
uint32 Price;
|
||||
};
|
||||
|
||||
struct SummonPropertiesEntry
|
||||
/*struct SummonPropertiesEntry
|
||||
{
|
||||
uint32 Id;
|
||||
uint32 Unk1;
|
||||
uint32 Unk2;
|
||||
uint32 Type;
|
||||
uint32 Slot;
|
||||
uint32 Flags;
|
||||
};
|
||||
uint32 Id; // 0
|
||||
uint32 Group; // 1, 0 - can't be controlled?, 1 - something guardian?, 2 - pet?, 3 - something controllable?, 4 - taxi/mount?
|
||||
uint32 Unk2; // 2, 14 rows > 0
|
||||
uint32 Type; // 3, see enum
|
||||
uint32 Slot; // 4, 0-6
|
||||
uint32 Flags; // 5
|
||||
};*/
|
||||
|
||||
struct TalentEntry
|
||||
{
|
||||
|
|
@ -1320,6 +1320,90 @@ struct TotemCategoryEntry
|
|||
uint32 categoryMask; // 19 (compatibility mask for same type: different for totems, compatible from high to low for rods)
|
||||
};
|
||||
|
||||
struct VehicleEntry
|
||||
{
|
||||
uint32 m_ID; // 0
|
||||
uint32 m_flags; // 1
|
||||
float m_turnSpeed; // 2
|
||||
float m_pitchSpeed; // 3
|
||||
float m_pitchMin; // 4
|
||||
float m_pitchMax; // 5
|
||||
uint32 m_seatID[8]; // 6-13
|
||||
float m_mouseLookOffsetPitch; // 14
|
||||
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
|
||||
};
|
||||
|
||||
struct VehicleSeatEntry
|
||||
{
|
||||
uint32 m_ID; // 0
|
||||
uint32 m_flags; // 1
|
||||
int32 m_attachmentID; // 2
|
||||
float m_attachmentOffsetX; // 3
|
||||
float m_attachmentOffsetY; // 4
|
||||
float m_attachmentOffsetZ; // 5
|
||||
float m_enterPreDelay; // 6
|
||||
float m_enterSpeed; // 7
|
||||
float m_enterGravity; // 8
|
||||
float m_enterMinDuration; // 9
|
||||
float m_enterMaxDuration; // 10
|
||||
float m_enterMinArcHeight; // 11
|
||||
float m_enterMaxArcHeight; // 12
|
||||
int32 m_enterAnimStart; // 13
|
||||
int32 m_enterAnimLoop; // 14
|
||||
int32 m_rideAnimStart; // 15
|
||||
int32 m_rideAnimLoop; // 16
|
||||
int32 m_rideUpperAnimStart; // 17
|
||||
int32 m_rideUpperAnimLoop; // 18
|
||||
float m_exitPreDelay; // 19
|
||||
float m_exitSpeed; // 20
|
||||
float m_exitGravity; // 21
|
||||
float m_exitMinDuration; // 22
|
||||
float m_exitMaxDuration; // 23
|
||||
float m_exitMinArcHeight; // 24
|
||||
float m_exitMaxArcHeight; // 25
|
||||
int32 m_exitAnimStart; // 26
|
||||
int32 m_exitAnimLoop; // 27
|
||||
int32 m_exitAnimEnd; // 28
|
||||
float m_passengerYaw; // 29
|
||||
float m_passengerPitch; // 30
|
||||
float m_passengerRoll; // 31
|
||||
int32 m_passengerAttachmentID; // 32
|
||||
int32 m_vehicleEnterAnim; // 33
|
||||
int32 m_vehicleExitAnim; // 34
|
||||
int32 m_vehicleRideAnimLoop; // 35
|
||||
int32 m_vehicleEnterAnimBone; // 36
|
||||
int32 m_vehicleExitAnimBone; // 37
|
||||
int32 m_vehicleRideAnimLoopBone; // 38
|
||||
float m_vehicleEnterAnimDelay; // 39
|
||||
float m_vehicleExitAnimDelay; // 40
|
||||
uint32 m_vehicleAbilityDisplay; // 41
|
||||
uint32 m_enterUISoundID; // 42
|
||||
uint32 m_exitUISoundID; // 43
|
||||
int32 m_uiSkin; // 44
|
||||
uint32 m_flagsB; // 45
|
||||
};
|
||||
|
||||
struct WorldMapAreaEntry
|
||||
{
|
||||
//uint32 ID; // 0
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ const char SpellRangefmt[]="nfxfxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
|
|||
const char SpellRuneCostfmt[]="niiii";
|
||||
const char SpellShapeshiftfmt[]="nxxxxxxxxxxxxxxxxxxiixixxxxxxxxxxxx";
|
||||
const char StableSlotPricesfmt[] = "ni";
|
||||
const char SummonPropertiesfmt[] = "niiiii";
|
||||
//const char SummonPropertiesfmt[] = "niiiii";
|
||||
const char TalentEntryfmt[]="niiiiiiiixxxxixxixxxxxx";
|
||||
const char TalentTabEntryfmt[]="nxxxxxxxxxxxxxxxxxxxiiix";
|
||||
const char TaxiNodesEntryfmt[]="nifffxxxxxxxxxxxxxxxxxii";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue