mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +00:00
Adds FIELD_SpecialtyArrayField field type and handling for it in PersistenceManager, as well as a use-case of it for the surface field in ConvexShape
This commit is contained in:
parent
e56df92002
commit
61d9e82ce5
9 changed files with 449 additions and 183 deletions
|
|
@ -530,6 +530,9 @@ class SimObject: public ConsoleObject, public TamlCallbacks
|
|||
void setDataFieldType(const U32 fieldTypeId, StringTableEntry slotName, const char *array);
|
||||
void setDataFieldType(const char *typeName, StringTableEntry slotName, const char *array);
|
||||
|
||||
virtual U32 getSpecialFieldSize(StringTableEntry fieldName) { return 0; }
|
||||
virtual const char* getSpecialFieldOut(StringTableEntry fieldName, const U32& index) { return NULL; }
|
||||
|
||||
/// Get reference to the dictionary containing dynamic fields.
|
||||
///
|
||||
/// See @ref simobject_console "here" for a detailed discussion of what this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue