mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
layout consistency pass pt 3 - some afx bits, correct malformed shapeimage grouping causing a crash.
-must have addgroup and endgroup
This commit is contained in:
parent
41cb2e63cf
commit
a0bbe0ec18
4 changed files with 81 additions and 97 deletions
|
|
@ -82,23 +82,23 @@ EndImplementEnumType;
|
|||
|
||||
void afxProjectileData::initPersistFields()
|
||||
{
|
||||
addField("networking", TypeS8, myOffset(networking),
|
||||
"...");
|
||||
addField("launchPosSpec", TypeString, myOffset(launch_pos_spec),
|
||||
"...");
|
||||
addField("launchDirBias", TypePoint3F, myOffset(launch_dir_bias),
|
||||
"...");
|
||||
addField("ignoreSourceTimeout", TypeBool, myOffset(ignore_src_timeout),
|
||||
"...");
|
||||
addField("dynamicCollisionMask", TypeS32, myOffset(dynamicCollisionMask),
|
||||
"...");
|
||||
addField("staticCollisionMask", TypeS32, myOffset(staticCollisionMask),
|
||||
"...");
|
||||
addField("overrideCollisionMasks", TypeBool, myOffset(override_collision_masks),
|
||||
"...");
|
||||
addGroup("Physics");
|
||||
addField("ignoreSourceTimeout", TypeBool, myOffset(ignore_src_timeout), "...");
|
||||
addField("dynamicCollisionMask", TypeS32, myOffset(dynamicCollisionMask), "...");
|
||||
addField("staticCollisionMask", TypeS32, myOffset(staticCollisionMask), "...");
|
||||
addField("overrideCollisionMasks", TypeBool, myOffset(override_collision_masks), "...");
|
||||
endGroup("Physics");
|
||||
|
||||
addField("launchDirMethod", TYPEID<afxProjectileData::LaunchDirType>(), myOffset(launch_dir_method),
|
||||
"Possible values: towardPos2Constraint, orientConstraint, or launchDirField.");
|
||||
addGroup("Physics-Launch");
|
||||
addField("launchPosSpec", TypeString, myOffset(launch_pos_spec), "...");
|
||||
addField("launchDirBias", TypePoint3F, myOffset(launch_dir_bias), "...");
|
||||
addField("launchDirMethod", TYPEID<afxProjectileData::LaunchDirType>(), myOffset(launch_dir_method),
|
||||
"Possible values: towardPos2Constraint, orientConstraint, or launchDirField.");
|
||||
endGroup("Physics-Launch");
|
||||
|
||||
addGroup("Networking");
|
||||
addField("networking", TypeS8, myOffset(networking), "...");
|
||||
endGroup("Networking");
|
||||
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
|
@ -368,4 +368,4 @@ void afxProjectile::explode(const Point3F& p, const Point3F& n, const U32 collid
|
|||
Sim::postEvent(this, new afxProjectileDeleteEvent, Sim::getCurrentTime() + DeleteWaitTime);
|
||||
}
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue