@@ -3620,7 +3620,7 @@ class CheckpointGameObject : EffectGameObject {
36203620 m_colorSprite->getChildByTag(1127)->setVisible(!m_checkpointActivated);
36213621 m_colorSprite->getChildByTag(1128)->setVisible(m_checkpointActivated);
36223622 if (m_checkpointActivated) this->setObjectColor({ 255, 255, 255 });
3623- m_unk280 = m_checkpointActivated;
3623+ m_isColorSpriteBlack = m_checkpointActivated;
36243624 }
36253625
36263626 bool m_checkpointActivated;
@@ -6631,7 +6631,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
66316631 void deactivateTransformControl() = win 0x113ad0, m1 0xd5dc, imac 0xc200, ios 0x3bf614;
66326632 void deleteObject(GameObject* object, bool noUndo) = win inline, m1 0x325f8, imac 0x32f70, ios 0x3e1e9c {
66336633 if (!object) return;
6634- object->m_unk45c = object->m_isSelected;
6634+ object->m_wasSelected = object->m_isSelected;
66356635 m_editorLayer->removeObject(object, noUndo);
66366636 this->deactivateRotationControl();
66376637 this->deactivateScaleControl();
@@ -11326,7 +11326,7 @@ class GameObject : CCSpritePlus {
1132611326 ret->setColor({ 0, 0, 0 });
1132711327 m_blackChildOpacity = opacity;
1132811328 ret->setOpacity(opacity * 255);
11329- m_unk280 = true;
11329+ m_blackChildOpacityLocked = true;
1133011330 return ret;
1133111331 }
1133211332 }
@@ -11963,10 +11963,10 @@ class GameObject : CCSpritePlus {
1196311963 // property 511
1196411964 bool m_hasExtendedCollision;
1196511965 cocos2d::ccColor3B m_groupColor;
11966- bool m_unk280 ;
11967- bool m_unk281 ;
11966+ bool m_isColorSpriteBlack ;
11967+ bool m_isObjectBlack ;
1196811968 float m_blackChildOpacity;
11969- bool m_unk288 ;
11969+ bool m_blackChildOpacityLocked ;
1197011970 bool m_editorEnabled;
1197111971 bool m_isGroupDisabled;
1197211972 bool m_unk28B;
@@ -12000,7 +12000,7 @@ class GameObject : CCSpritePlus {
1200012000 bool m_isRingPoweredOn;
1200112001 float m_width;
1200212002 float m_height;
12003- bool m_hasSpecialChild ;
12003+ bool m_addToNodeContainer ;
1200412004 bool m_isActivated;
1200512005 bool m_isDisabled2;
1200612006 cocos2d::CCParticleSystemQuad* m_particle;
@@ -12093,7 +12093,7 @@ class GameObject : CCSpritePlus {
1209312093 bool m_ignoreFade;
1209412094 // true for object IDs 207-213 and 693-694
1209512095 bool m_isSolidColorBlock;
12096- bool m_baseOrDetailBlending ;
12096+ bool m_unk3FD ;
1209712097 bool m_customSpriteColor;
1209812098
1209912099 // property 497
@@ -12130,20 +12130,20 @@ class GameObject : CCSpritePlus {
1213012130 GJSpriteColor* m_baseColor;
1213112131 // property 22, also used with 42 and 44
1213212132 GJSpriteColor* m_detailColor;
12133- bool m_unk448 ;
12133+ bool m_baseOrDetailBlending ;
1213412134 ZLayer m_defaultZLayer;
1213512135 bool m_zFixedZLayer;
1213612136
1213712137 // property 24
1213812138 ZLayer m_zLayer;
1213912139 // property 25
1214012140 int m_zOrder;
12141- bool m_unk45c ;
12141+ bool m_wasSelected ;
1214212142 bool m_isSelected;
1214312143 float m_unk460;
1214412144 cocos2d::CCPoint m_unk464;
12145- bool m_shouldUpdateColorSprite ;
12146- bool m_unk46d ;
12145+ bool m_updateParents ;
12146+ bool m_updateEditorColor ;
1214712147
1214812148 // property 34
1214912149 bool m_hasGroupParent;
@@ -22630,7 +22630,7 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
2263022630 }
2263122631 void applyAttributeState(GameObject* dest, GameObject* src) = win inline, m1 0xd766c, imac 0xf2a00, ios inline {
2263222632 dest->duplicateAttributes(src);
22633- dest->m_shouldUpdateColorSprite = true;
22633+ dest->m_updateParents = true;
2263422634 }
2263522635 void applyGroupState(GameObject* dest, GameObject* src) = win 0x2d8d60, m1 0xd7448, imac 0xf2800, ios 0x36358c;
2263622636 void breakApartTextObject(TextGameObject* object) = win 0x2d6c10, m1 0xd52f8, imac 0xf03b0, ios 0x361d3c;
@@ -22909,14 +22909,14 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
2290922909
2291022910 if (object) {
2291122911 object->duplicateColorMode(m_copyStateObject);
22912- object->m_shouldUpdateColorSprite = true;
22912+ object->m_updateParents = true;
2291322913 }
2291422914 else {
2291522915 CCObject* obj;
2291622916 CCARRAY_FOREACH(objects, obj) {
2291722917 auto gameObject = static_cast<GameObject*>(obj);
2291822918 gameObject->duplicateColorMode(m_copyStateObject);
22919- gameObject->m_shouldUpdateColorSprite = true;
22919+ gameObject->m_updateParents = true;
2292022920 }
2292122921 }
2292222922 }
0 commit comments