mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
ZoneCode: Change WeaponDef asset to have normal members instead of arrays for graph knots since the ordering of loading needs the array entries separated and the current code generation doesn't allow for that
This commit is contained in:
parent
c05f04e28a
commit
96ceb76e46
@ -4279,9 +4279,17 @@ struct WeaponDef
|
||||
float fAntiQuickScopeSwayFactor;
|
||||
float fightDist;
|
||||
float maxDist;
|
||||
const char *accuracyGraphName[2];
|
||||
vec2_t *accuracyGraphKnots[2];
|
||||
vec2_t *originalAccuracyGraphKnots[2];
|
||||
//const char *accuracyGraphName[2]; // TODO: Order is accuracyGraphName[0] -> accuracyGraphKnots[0] -> originalAccuracyGraphKnots[0] -> accuracyGraphName[1] -> ...
|
||||
// Which is currently not possible to do in code generation. Afaik this is the only place where this is the case.
|
||||
// So might be something to fix but on the other hand it might be too much work for this little inconvenience.
|
||||
const char *accuracyGraphName0;
|
||||
const char *accuracyGraphName1;
|
||||
//vec2_t *accuracyGraphKnots[2];
|
||||
vec2_t* accuracyGraphKnots0;
|
||||
vec2_t* accuracyGraphKnots1;
|
||||
//vec2_t *originalAccuracyGraphKnots[2];
|
||||
vec2_t* originalAccuracyGraphKnots0;
|
||||
vec2_t* originalAccuracyGraphKnots1;
|
||||
int accuracyGraphKnotCount[2];
|
||||
int originalAccuracyGraphKnotCount[2];
|
||||
int iPositionReloadTransTime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user