[ZoneBuilder] Add interface for FxEffectDef

Soundaliases are missing, so the game will complain about missing sounds!
This commit is contained in:
momo5502
2016-11-28 21:18:14 +01:00
parent c360d62b40
commit d596cdc97b
5 changed files with 365 additions and 2 deletions

View File

@ -1921,9 +1921,12 @@ namespace Game
struct FxTrailVertex
{
/*
float pos[2];
float normal[2];
float texCoord[2];
*/
char pad[20];
};
struct FxTrailDef
@ -1956,7 +1959,7 @@ namespace Game
float sparkFountainBoostFactor;
};
union unknownFxUnion
union FxElemExtendedDef
{
char *unknownBytes;
FxSparkFountain *sparkFountain;
@ -2037,7 +2040,7 @@ namespace Game
FxEffectDefRef *effectEmitted;
FxFloatRange emitDist;
FxFloatRange emitDistVariance;
unknownFxUnion *trailDef;
FxElemExtendedDef extendedDef;
//If elemType == 3, then use trailDef
//If elemType == 6, then use sparkFountain
//If elemType != 3 && elemType != 6 use unknownBytes (size = 1)