clean up "Add" menubar categoes on the 3d object side via the following:

SceneObject now defaults to a category of "misc"
getCategoryOfClass now checks parent classes for what categories they hold so that variants can inherit
categories are in one of a few rough groups and subgroups depending on actual mapper needs/usages
This commit is contained in:
AzaezelX 2023-11-08 20:42:47 -06:00
parent edbb76155b
commit fbcfe02098
157 changed files with 127 additions and 131 deletions

View file

@ -84,6 +84,7 @@ class Path : public GameBase
U32 getPathIndex() const;
DECLARE_CONOBJECT(Path);
DECLARE_CATEGORY("Cinematic");
static void initPersistFields();
DECLARE_CALLBACK(void, onAdd, (SimObjectId ID));
};
@ -151,6 +152,7 @@ class Marker : public SceneObject
~Marker();
DECLARE_CONOBJECT(Marker);
DECLARE_CATEGORY("Cinematic");
static void initPersistFields();
void inspectPostApply();