editor stuff

This commit is contained in:
hjfod 2023-03-22 17:31:47 +02:00
parent 3fe5e6197e
commit 72728464bb

View file

@ -1111,6 +1111,12 @@ class EditButtonBar : cocos2d::CCNode {
} }
void loadFromItems(cocos2d::CCArray* buttons, int rowCount, int columnCount, bool idk) = mac 0x351010, win 0x6e5e0, ios 0x2dd060; void loadFromItems(cocos2d::CCArray* buttons, int rowCount, int columnCount, bool idk) = mac 0x351010, win 0x6e5e0, ios 0x2dd060;
static EditButtonBar* create(
cocos2d::CCArray* buttons,
cocos2d::CCPoint point,
int idk, bool idk0,
int rowCount, int columnCount
) = win 0x6e450;
cocos2d::CCPoint m_position; cocos2d::CCPoint m_position;
int m_unknown; int m_unknown;
@ -1249,6 +1255,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
void selectAll() = win 0x86c40; void selectAll() = win 0x86c40;
void selectAllWithDirection(bool left) = win 0x86d80; void selectAllWithDirection(bool left) = win 0x86d80;
cocos2d::CCPoint getTouchPoint(cocos2d::CCTouch* touch, cocos2d::CCEvent* event) = win 0x90620; cocos2d::CCPoint getTouchPoint(cocos2d::CCTouch* touch, cocos2d::CCEvent* event) = win 0x90620;
cocos2d::CCPoint getGridSnappedPos(cocos2d::CCPoint pos) = win 0x90550;
void onSelectBuildTab(cocos2d::CCObject* sender) = win 0x887f0; void onSelectBuildTab(cocos2d::CCObject* sender) = win 0x887f0;
void onCreateButton(cocos2d::CCObject* sender) = win 0x854f0; void onCreateButton(cocos2d::CCObject* sender) = win 0x854f0;
CCMenuItemSpriteExtra* getSpriteButton(const char* sprite, cocos2d::SEL_MenuHandler callback, cocos2d::CCMenu* menu, float scale) = mac 0xb500, win 0x78bf0; CCMenuItemSpriteExtra* getSpriteButton(const char* sprite, cocos2d::SEL_MenuHandler callback, cocos2d::CCMenu* menu, float scale) = mac 0xb500, win 0x78bf0;
@ -3640,7 +3647,7 @@ class LevelEditorLayer : GJBaseGameLayer, LevelSettingsDelegate {
void getNextFreeBlockID(cocos2d::CCArray*) = mac 0x9a4e0; void getNextFreeBlockID(cocos2d::CCArray*) = mac 0x9a4e0;
int getNextFreeGroupID(cocos2d::CCArray*) = mac 0x9a1b0, win 0x164ae0; int getNextFreeGroupID(cocos2d::CCArray*) = mac 0x9a1b0, win 0x164ae0;
void getNextFreeItemID(cocos2d::CCArray*) = mac 0x9a390; void getNextFreeItemID(cocos2d::CCArray*) = mac 0x9a390;
void getObjectRect(GameObject*, bool) = mac 0x96240, win 0x1616b0; cocos2d::CCRect getObjectRect(GameObject* obj, bool updateRect) = mac 0x96240, win 0x1616b0;
void getRelativeOffset(GameObject*) = mac 0x96840; void getRelativeOffset(GameObject*) = mac 0x96840;
bool hasAction(bool) = mac 0x96ff0; bool hasAction(bool) = mac 0x96ff0;
void handleAction(bool, cocos2d::CCArray*) = mac 0x97020, win 0x162010; void handleAction(bool, cocos2d::CCArray*) = mac 0x97020, win 0x162010;