mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
more editor bindings
This commit is contained in:
parent
eff8771be9
commit
55b0312664
2 changed files with 13 additions and 6 deletions
|
@ -737,12 +737,14 @@ class ColorSelectDelegate {
|
|||
class ColorSelectLiveOverlay : FLAlertLayer {
|
||||
bool init(ColorAction*, ColorAction*, EffectGameObject*) = mac 0x2e2790, win 0x41db0;
|
||||
void sliderChanged(cocos2d::CCObject*) = mac 0x2e3830;
|
||||
void onSelectTab(cocos2d::CCObject*) = win 0x430f0;
|
||||
EffectGameObject* m_effectGameObject;
|
||||
cocos2d::CCArray* m_barSprites;
|
||||
cocos2d::CCArray* m_12buttons;
|
||||
ColorAction* m_baseColorAction;
|
||||
ColorAction* m_detailColorAction;
|
||||
|
||||
PAD = win 0x64;
|
||||
bool m_detailMode;
|
||||
}
|
||||
|
||||
class ColorSelectPopup : FLAlertLayer, cocos2d::extension::ColorPickerDelegate, TextInputDelegate, GJSpecialColorSelectDelegate {
|
||||
|
@ -1212,6 +1214,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
|
|||
void onDuplicate(cocos2d::CCObject*) = mac 0x18ba0, win 0x87d20;
|
||||
bool onCreate() = mac 0x1b960, win 0x85680;
|
||||
void onCreateObject(int) = mac 0x200d0, win 0x85750;
|
||||
void copyObjects(cocos2d::CCArray* objects) = win 0x87ea0;
|
||||
cocos2d::CCArray* pasteObjects(gd::string) = mac 0x232d0, win 0x88240;
|
||||
void playerTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x2ebf0, win 0x90680;
|
||||
void playtestStopped() = mac 0x24790, win 0x87720;
|
||||
|
@ -1394,7 +1397,9 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
|
|||
cocos2d::CCPoint m_caremaTest;
|
||||
PAD = mac 0x8, win 0x8;
|
||||
GameObject* m_selectedObject;
|
||||
PAD = mac 0x10, win 0x8;
|
||||
PAD = mac 0x8, win 0x4;
|
||||
bool m_unk2cc;
|
||||
bool m_freeMovingObject;
|
||||
gd::string m_clipboard;
|
||||
PAD = mac 0x10, win 0x8;
|
||||
int m_selectedTab;
|
||||
|
@ -4923,9 +4928,11 @@ class SetGroupIDLayer : FLAlertLayer, TextInputDelegate {
|
|||
void updateEditorLayerID() = win 0x22e0b0;
|
||||
void updateEditorLayerID2() = win 0x22e110;
|
||||
void updateZOrder() = win 0x22e3d0;
|
||||
void onAddGroup(cocos2d::CCObject* sender) = win 0x22de20;
|
||||
void onClose(cocos2d::CCObject* sender) = win 0x22e830;
|
||||
|
||||
GameObject* m_obj;
|
||||
cocos2d::CCArray* m_objs;
|
||||
GameObject* m_targetObject;
|
||||
cocos2d::CCArray* m_targetObjects;
|
||||
cocos2d::CCArray* m_array0;
|
||||
cocos2d::CCArray* m_array1;
|
||||
cocos2d::CCLabelBMFont* m_editorLayerText;
|
||||
|
@ -4987,6 +4994,8 @@ class SetupCollisionTriggerPopup : FLAlertLayer {
|
|||
void onTargetIDArrow(cocos2d::CCObject*) = mac 0x1d77b0;
|
||||
void textChanged(CCTextInputNode*) = mac 0x1d84d0;
|
||||
void updateTargetID() = mac 0x1d82b0;
|
||||
bool init(EffectGameObject*, cocos2d::CCArray*) = win 0x2341f0;
|
||||
void onClose(cocos2d::CCObject*) = win 0x235970;
|
||||
}
|
||||
|
||||
class SetupCountTriggerPopup : FLAlertLayer {
|
||||
|
|
2
loader/include/Geode/cocos/include/ccTypes.h
vendored
2
loader/include/Geode/cocos/include/ccTypes.h
vendored
|
@ -45,7 +45,6 @@ typedef struct _ccColor3B
|
|||
GLubyte b;
|
||||
} ccColor3B;
|
||||
|
||||
RT_ADD(
|
||||
typedef struct _ccHSVValue
|
||||
{
|
||||
float h, s, v;
|
||||
|
@ -53,7 +52,6 @@ typedef struct _ccHSVValue
|
|||
GLubyte absoluteBrightness;
|
||||
private: unsigned char __pad[2];
|
||||
} ccHSVValue;
|
||||
)
|
||||
|
||||
static inline ccHSVValue
|
||||
cchsv(const float vh, const float vs, const float vv, const bool as, const bool ab)
|
||||
|
|
Loading…
Reference in a new issue