Skip to content

Commit 7ec0af7

Browse files
committed
forgot i had a few here
1 parent 488639b commit 7ec0af7

File tree

1 file changed

+46
-32
lines changed

1 file changed

+46
-32
lines changed

bindings/1.920/GeometryDash.bro

Lines changed: 46 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ class AccountHelpLayer : GJDropDownLayer, GJAccountDelegate, FLAlertLayerProtoco
1616

1717
virtual void customSetup() = win 0x26720;
1818
virtual void layerHidden();
19-
virtual TodoReturn accountStatusChanged();
20-
virtual void FLAlert_Clicked(FLAlertLayer*, bool);
19+
virtual void accountStatusChanged();
20+
virtual void FLAlert_Clicked(FLAlertLayer*, bool) = win 0x27140;
21+
22+
cocos2d::CCLabelBMFont* m_loginStatusLabel;
23+
TextArea* m_textArea;
24+
CCMenuItemSpriteExtra* m_refreshLoginButton;
25+
CCMenuItemSpriteExtra* m_unlinkAccountButton;
26+
bool m_setupFinished;
2127
}
2228

2329
[[link(android)]]
@@ -42,13 +48,13 @@ class AccountLayer : GJDropDownLayer, GJAccountDelegate, GJAccountBackupDelegate
4248
TodoReturn toggleUI(bool);
4349
TodoReturn updatePage();
4450

45-
virtual void customSetup();
51+
virtual void customSetup() = win 0x25250;
4652
virtual void layerHidden();
4753
virtual TodoReturn backupAccountFinished();
4854
virtual TodoReturn backupAccountFailed(BackupAccountError);
4955
virtual TodoReturn syncAccountFinished();
5056
virtual TodoReturn syncAccountFailed(BackupAccountError);
51-
virtual TodoReturn accountStatusChanged();
57+
virtual void accountStatusChanged();
5258
virtual void FLAlert_Clicked(FLAlertLayer*, bool);
5359
}
5460

@@ -79,8 +85,8 @@ class AccountLoginLayer : FLAlertLayer, TextInputDelegate, GJAccountLoginDelegat
7985
virtual void textInputOpened(CCTextInputNode*);
8086
virtual void textInputClosed(CCTextInputNode*);
8187
virtual void textChanged(CCTextInputNode*);
82-
virtual TodoReturn loginAccountFinished(int, int);
83-
virtual TodoReturn loginAccountFailed(AccountError);
88+
virtual void loginAccountFinished(int, int);
89+
virtual void loginAccountFailed(AccountError);
8490
}
8591

8692
[[link(android)]]
@@ -1812,8 +1818,16 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
18121818
TodoReturn deactivateRotationControl();
18131819
TodoReturn deleteObject(GameObject*, bool);
18141820
void deselectAll() = win 0x48380;
1815-
void deselectObject() = win 0x75780;
1816-
TodoReturn deselectObject(GameObject*);
1821+
void deselectObject() = win inline {
1822+
if (this->m_selectedObject != nullptr) {
1823+
this->m_selectedObject->deselectObject();
1824+
}
1825+
1826+
this->m_selectedObject = nullptr;
1827+
this->toggleEditObjectButton();
1828+
this->m_touchDown = true;
1829+
}
1830+
void deselectObject(GameObject*) = win 0x482b0;
18171831
TodoReturn disableButton(CCMenuItemSpriteExtra*);
18181832
void editButtonUsable() = win 0x49680;
18191833
TodoReturn editGroup(cocos2d::CCObject*);
@@ -1885,7 +1899,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
18851899
TodoReturn rotationforCommand(EditCommand);
18861900
TodoReturn selectBuildTab(int);
18871901
void selectObject(GameObject*) = win 0x47f10;
1888-
TodoReturn selectObjects(cocos2d::CCArray*);
1902+
void selectObjects(cocos2d::CCArray*) = win 0x47fa0;
18891903
TodoReturn selectObjectsInRect(cocos2d::CCRect);
18901904
void setupCreateMenu() = win 0x43590;
18911905
void setupDeleteMenu() = win 0x42080;
@@ -1896,7 +1910,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
18961910
TodoReturn showMaxError();
18971911
void sliderChanged(cocos2d::CCObject*) = win 0x41850;
18981912
TodoReturn toggleDuplicateButton();
1899-
TodoReturn toggleEditObjectButton();
1913+
void toggleEditObjectButton() = win 0x49840;
19001914
void toggleEnableRotate(cocos2d::CCObject*) = win 0x47dc0;
19011915
void toggleFreeMove(cocos2d::CCObject*) = win 0x47bb0;
19021916
TodoReturn toggleGuideButton();
@@ -1940,13 +1954,13 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
19401954
virtual void songStateChanged();
19411955
virtual void keyUp(cocos2d::enumKeyCodes) = win 0x4ee40;
19421956
virtual void scrollWheel(float, float) = win 0x4ee90;
1943-
virtual TodoReturn angleChangeBegin();
1944-
virtual TodoReturn angleChangeEnded();
1945-
virtual TodoReturn angleChanged(float);
1946-
virtual TodoReturn getMusicGuideActive() const;
1957+
virtual void angleChangeBegin() = win 0x4cf20;
1958+
virtual void angleChangeEnded() = win 0x4cf70;
1959+
virtual void angleChanged(float) = win 0x4cfb0;
1960+
virtual bool getMusicGuideActive() const;
19471961
virtual UndoObject* getStoredUndoObject() const;
19481962
virtual void setStoredUndoObject(UndoObject*);
1949-
virtual TodoReturn getLimitY() const;
1963+
virtual float getLimitY() const;
19501964
virtual EditMode getEditMode() const;
19511965
virtual void setEditMode(EditMode);
19521966

@@ -2416,7 +2430,7 @@ class GameLevelManager : cocos2d::CCNode {
24162430
TodoReturn onGetMapPacksCompleted(gd::string, gd::string);
24172431
void onGetOnlineLevelsCompleted(gd::string, gd::string) = win 0x5a260;
24182432
TodoReturn onLikeItemCompleted(gd::string, gd::string);
2419-
TodoReturn onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*);
2433+
void onProcessHttpRequestCompleted(cocos2d::extension::CCHttpClient*, cocos2d::extension::CCHttpResponse*) = win 0x55a30;
24202434
TodoReturn onRateLevelCompleted(gd::string, gd::string);
24212435
TodoReturn onRateStarsCompleted(gd::string, gd::string);
24222436
TodoReturn onReportLevelCompleted(gd::string, gd::string);
@@ -2430,7 +2444,7 @@ class GameLevelManager : cocos2d::CCNode {
24302444
TodoReturn onUploadLevelCompleted(gd::string, gd::string);
24312445
TodoReturn pageFromCommentKey(char const*);
24322446
TodoReturn parseRestoreData(gd::string);
2433-
void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType);
2447+
void ProcessHttpRequest(gd::string, gd::string, gd::string, GJHttpType) = win 0x558d0;
24342448
TodoReturn rateLevel(int, int) = win 0x5b920;
24352449
TodoReturn rateStars(int, int) = win 0x5beb0;
24362450
TodoReturn removeDelimiterChars(gd::string, bool);
@@ -2845,20 +2859,20 @@ class GameObject : CCSpritePlus {
28452859
static GameObject* create(char const*) = win 0x6d5c0;
28462860

28472861
TodoReturn activatedByPlayer(GameObject*);
2848-
TodoReturn addColorSprite();
2862+
void addColorSprite() = win 0x6dcb0;
28492863
TodoReturn addCustomChild(gd::string, cocos2d::CCPoint);
28502864
TodoReturn addCustomColorChild(gd::string);
2851-
TodoReturn addGlow();
2865+
void addGlow() = win 0x6d820;
28522866
TodoReturn addToBottom();
28532867
TodoReturn calculateOrientedBox();
2854-
void canChangeCustomColor() = win 0x710a0;
2868+
bool canChangeCustomColor() = win 0x710a0;
28552869
TodoReturn canRotateFree();
28562870
void createAndAddParticle(int, char const*, int, cocos2d::tCCPositionType) = win 0x72bd0;
28572871
void createObject(char const*) = win 0x6d420;
28582872
void createRotateAction(float) = win 0x72230;
28592873
TodoReturn customScaleMod(char const*);
28602874
void customSetup() = win 0x6ee50;
2861-
TodoReturn deselectObject();
2875+
void deselectObject() = win 0x75780;
28622876
void destroyObject() = win 0x72f90;
28632877
void determineSlopeDirection() = win 0x73db0;
28642878
TodoReturn disableObject();
@@ -3058,8 +3072,8 @@ class GameObject : CCSpritePlus {
30583072
cocos2d::CCPoint m_boxOffset;
30593073
OBB2D* m_objectOBB2D;
30603074
bool m_oriented; // m_isOriented
3061-
cocos2d::CCObject* m_glowSprite;
3062-
bool m_isSpeedPortal;
3075+
cocos2d::CCSprite* m_glowSprite;
3076+
bool m_interactable;
30633077
bool m_isRingObject;
30643078
cocos2d::CCAction* m_myAction;
30653079
bool m_isRotatingObject;
@@ -3315,7 +3329,7 @@ class GameToolbox {
33153329
static TodoReturn getDropActionWDelay(float, float, float, cocos2d::CCNode*, cocos2d::SEL_CallFunc);
33163330
static TodoReturn getDropActionWEnd(float, float, float, cocos2d::CCAction*, float);
33173331
static TodoReturn getRelativeOffset(GameObject*, cocos2d::CCPoint);
3318-
static TodoReturn getResponse(cocos2d::extension::CCHttpResponse*);
3332+
static gd::string getResponse(cocos2d::extension::CCHttpResponse*) = win 0x18280;
33193333
static bool isIOS();
33203334
static TodoReturn mergeDictsSaveLargestInt(cocos2d::CCDictionary*, cocos2d::CCDictionary*);
33213335
static TodoReturn openAppPage();
@@ -3386,13 +3400,13 @@ class GJAccountBackupDelegate {
33863400

33873401
[[link(android)]]
33883402
class GJAccountDelegate {
3389-
virtual TodoReturn accountStatusChanged();
3403+
virtual void accountStatusChanged();
33903404
}
33913405

33923406
[[link(android)]]
33933407
class GJAccountLoginDelegate {
3394-
virtual TodoReturn loginAccountFinished(int, int);
3395-
virtual TodoReturn loginAccountFailed(AccountError);
3408+
virtual void loginAccountFinished(int, int);
3409+
virtual void loginAccountFailed(AccountError);
33963410
}
33973411

33983412
[[link(android)]]
@@ -4008,9 +4022,9 @@ class GJRotationControl {
40084022

40094023
[[link(android)]]
40104024
class GJRotationControlDelegate {
4011-
virtual TodoReturn angleChanged(float);
4012-
virtual TodoReturn angleChangeBegin();
4013-
virtual TodoReturn angleChangeEnded();
4025+
virtual void angleChanged(float);
4026+
virtual void angleChangeBegin();
4027+
virtual void angleChangeEnded();
40144028
}
40154029

40164030
[[link(android)]]
@@ -6763,12 +6777,12 @@ class SimplePlayer : cocos2d::CCSprite {
67636777

67646778
bool init(int) = win 0x80810;
67656779
void setFrames(char const*, char const*, char const*, char const*) = win 0x80ef0;
6766-
void setSecondColor(cocos2d::ccColor3B const&);
6780+
void setSecondColor(cocos2d::ccColor3B const&) = win 0x80b50;
67676781
void updateColors() = win 0x80b80;
67686782
void updatePlayerFrame(int, IconType) = win 0x80c70;
67696783

67706784
virtual void setOpacity(unsigned char);
6771-
virtual void setColor(cocos2d::ccColor3B const&);
6785+
virtual void setColor(cocos2d::ccColor3B const&) = win 0x80b20;
67726786
virtual int getSpecial() const;
67736787
virtual void setSpecial(int);
67746788

0 commit comments

Comments
 (0)