Dump and load iw4 physpresets

This commit is contained in:
Jan
2022-01-02 10:25:48 +01:00
parent 87c2e58c4b
commit bcafddd83a
9 changed files with 496 additions and 3 deletions

View File

@ -181,6 +181,21 @@ namespace IW4
bool perSurfaceSndAlias;
};
struct PhysPresetInfo
{
float mass;
float bounce;
float friction;
int isFrictionInfinity;
float bulletForceScale;
float explosiveForceScale;
const char* sndAliasPrefix;
float piecesSpreadFraction;
float piecesUpwardVelocity;
int tempDefaultToCylinder;
int perSurfaceSndAlias;
};
struct Bounds
{
float midPoint[3];