Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRSupport Bot Helpdesk

#editor

pegperegogaucho
If I redescribe the ttSpearStates for every turtle class, will it override?
adrientd
Normally it should
adrientd
It finds the name starting from subclass to superclass
pegperegogaucho
How do you describe the structures of the array in JSON?
adrientd
In the json, the properties of a class include the members of the class itself, as well as the inner structures.
adrientd
So for example if you want to define the "sides" property, just put it directly under the properties of CKTurtleCpnt
adrientd
Due to this, it is important to ensure that key names of members in an inner struct does not conflict with one from another inner struct or the class.
adrientd
However, renaming two property key names to the same name in the json should not be a problem
pegperegogaucho
You've got a message from DEAR IMGUI! :PogelixPog:
pegperegogaucho
But it looks like its my fault since two properties have the same name :Obelul:
pegperegogaucho
@adrientd Here it is!
Download Properties_XXL1.json:
Direct Download



deathhound246
Quick q: how does the editor register class names to be returned from obj->getClassName func? Is this just overridden funcs in child classes?
pegperegogaucho
Oh, for some reason there are members with the same name in the CKHkTurtle and CKHkPyramidalTurtle class? How'd that happen?
pegperegogaucho
https://github.com/AdrienTD/XXL-Editor/blob/master/KObject.h#L127
pegperegogaucho
The type names are taken from RTTI data using typeid
deathhound246
I feel like there's a little more tbh. I'm trying to get the class names shown in hex mode. This is in editor interface (object list feature), which shows the names
deathhound246
I've added the same thing to the hex editor but its not working
pfahli
Does anyone have the latest version compiled for windows?
deathhound246
deathhound246
Linked here