more bindings + fix cmake hotfix on windows

This commit is contained in:
HJfod 2022-08-28 20:38:18 +03:00
parent efed426532
commit 1b8cf87933
2 changed files with 9 additions and 3 deletions

View file

@ -33,7 +33,11 @@ add_dependencies(CodegenRun Codegen)
# Hacky way to supress the not generated error
if (NOT EXISTS ${GEODE_CODEGEN_PATH}/GeneratedSource.cpp)
make_directory(${GEODE_CODEGEN_PATH})
execute_process(COMMAND touch ${GEODE_CODEGEN_PATH}/GeneratedSource.cpp)
if (WIN32)
execute_process(COMMAND type ${GEODE_CODEGEN_PATH}/GeneratedSource.cpp)
else()
execute_process(COMMAND touch ${GEODE_CODEGEN_PATH}/GeneratedSource.cpp)
endif()
endif()
target_sources(${PROJECT_NAME} INTERFACE ${GEODE_CODEGEN_PATH}/GeneratedSource.cpp)

View file

@ -1059,6 +1059,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
return lel->m_editorUI;
}
bool editButton2Usable() = mac 0x0, win 0x8b890, ios 0x0;
void constrainGameLayerPosition() = mac 0x1c6d0, win 0x0, ios 0x0;
void create(LevelEditorLayer*) = mac 0x8a80, win 0x0, ios 0x0;
void deselectAll() = mac 0x1f300, win 0x86af0, ios 0x0;
@ -2889,7 +2890,7 @@ class GameObject : CCSpritePlus {
virtual void setChildColor(const cocos2d::ccColor3B&) = mac 0x341f20, win 0xee900, ios 0x0;
virtual void setFlipX(bool) = mac 0x335a60, win 0x0, ios 0x0;
virtual void setFlipY(bool) = mac 0x335ab0, win 0x0, ios 0x0;
virtual void customSetup() = mac 0x2fbba0, win 0x0, ios 0x0;
virtual void customSetup() = mac 0x2fbba0, win 0xd1c10, ios 0x0;
virtual void setupCustomSprites() = mac 0x307f60, win 0xd7d50, ios 0x0;
virtual void addMainSpriteToParent(bool) = mac 0x33a5b0, win 0xeb250, ios 0x0;
virtual void resetObject() = mac 0x2fa620, win 0xd1470, ios 0x0;
@ -3001,6 +3002,7 @@ class GameObject : CCSpritePlus {
void deselectObject() = mac 0x0, win 0xeee50, ios 0x0;
cocos2d::CCRepeatForever* createRotateAction(float f, int n) = mac 0x0, win 0xe49b0, ios 0x0;
void setMyAction(cocos2d::CCAction* pAction) = mac 0x0, win 0xd1b90, ios 0x0;
bool canAllowMultiActivate() = mac 0x0, win 0xf06b0, ios 0x0;
bool m_unk3;
bool m_isBlueMaybe;
@ -3158,7 +3160,7 @@ class GameObject : CCSpritePlus {
int m_unk414;
PAD = mac 0xc, win 0xc, android 0x0;
cocos2d::CCPoint m_firstPosition;
PAD = mac 0x15, win 0x0, android 0x0;
PAD = mac 0x15, win 0x15, android 0x0;
bool m_isTriggerable;
PAD = mac 0x6, win 0x6, android 0x0;
bool m_highDetail;