EquipSndTable Asset: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
[[Category:Assets]] | [[Category:Assets]] | ||
[[Category:Ghosts]] | [[Category:Ghosts]] | ||
The equipsndtable asset | The equipsndtable asset contains sound information pertaining to equipment. | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
struct | struct EquipmentClothData | ||
{ | { | ||
char * | char *szName; | ||
}; | }; | ||
struct | struct __declspec(align(8)) EquipmentWeaponRattleData | ||
{ | { | ||
char * | char *szName; | ||
float priority; | |||
}; | }; | ||
struct | struct EquipmentSndChance | ||
{ | { | ||
float rattleChance; | |||
float accentChance; | |||
float silentChance; | |||
}; | }; | ||
struct | struct EquipmentChanceMoveTypes | ||
{ | { | ||
EquipmentSndChance *chances; | |||
}; | }; | ||
struct | struct EquipmentChanceRattleTypes | ||
{ | { | ||
EquipmentChanceMoveTypes *chances; | |||
}; | }; | ||
struct | struct EquipmentSoundSet | ||
{ | { | ||
snd_alias_list_name soundPLR; | |||
snd_alias_list_name soundNPC; | |||
}; | }; | ||
struct | struct EquipSoundSetMoveTypes | ||
{ | { | ||
EquipmentSoundSet *soundSets; | |||
}; | }; | ||
struct | struct EquipSoundSetMantleTypes | ||
{ | { | ||
const char * | EquipmentSoundSet soundSets[14]; | ||
unsigned int | }; | ||
unsigned int | |||
unsigned int | struct EquipmentSoundTable | ||
{ | |||
const char *szName; | |||
unsigned int numClothTypes; | |||
unsigned int numWeaponRattleTypes; | |||
unsigned int numMoveTypes; | |||
EquipmentClothData *clothTypes; | |||
EquipmentWeaponRattleData *weaponRattleTypes; | |||
EquipmentChanceRattleTypes *chancesPLR; | |||
EquipmentChanceRattleTypes *chancesNPC; | |||
EquipSoundSetMoveTypes *mvmtClothSoundSets; | |||
EquipSoundSetMoveTypes *mvmtRattleSoundSets; | |||
EquipSoundSetMoveTypes mvmtAccentSoundSets; | |||
EquipSoundSetMantleTypes *mvmtMantleSoundSets; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 05:27, 22 December 2014
The equipsndtable asset contains sound information pertaining to equipment.
struct EquipmentClothData
{
char *szName;
};
struct __declspec(align(8)) EquipmentWeaponRattleData
{
char *szName;
float priority;
};
struct EquipmentSndChance
{
float rattleChance;
float accentChance;
float silentChance;
};
struct EquipmentChanceMoveTypes
{
EquipmentSndChance *chances;
};
struct EquipmentChanceRattleTypes
{
EquipmentChanceMoveTypes *chances;
};
struct EquipmentSoundSet
{
snd_alias_list_name soundPLR;
snd_alias_list_name soundNPC;
};
struct EquipSoundSetMoveTypes
{
EquipmentSoundSet *soundSets;
};
struct EquipSoundSetMantleTypes
{
EquipmentSoundSet soundSets[14];
};
struct EquipmentSoundTable
{
const char *szName;
unsigned int numClothTypes;
unsigned int numWeaponRattleTypes;
unsigned int numMoveTypes;
EquipmentClothData *clothTypes;
EquipmentWeaponRattleData *weaponRattleTypes;
EquipmentChanceRattleTypes *chancesPLR;
EquipmentChanceRattleTypes *chancesNPC;
EquipSoundSetMoveTypes *mvmtClothSoundSets;
EquipSoundSetMoveTypes *mvmtRattleSoundSets;
EquipSoundSetMoveTypes mvmtAccentSoundSets;
EquipSoundSetMantleTypes *mvmtMantleSoundSets;
};