From cd3c09637bf7b78f1ed27d6686bb95dd1bb548b4 Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Sun, 2 Apr 2023 12:46:37 +0300 Subject: [PATCH] add custom constructors to CCClippingNode and CCAction --- loader/include/Geode/cocos/actions/CCAction.h | 1 + loader/include/Geode/cocos/misc_nodes/CCClippingNode.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/loader/include/Geode/cocos/actions/CCAction.h b/loader/include/Geode/cocos/actions/CCAction.h index 721e9ddf..b9ee7bca 100644 --- a/loader/include/Geode/cocos/actions/CCAction.h +++ b/loader/include/Geode/cocos/actions/CCAction.h @@ -54,6 +54,7 @@ public: * @js ctor */ CCAction(void); + GEODE_CUSTOM_CONSTRUCTOR_COCOS(CCAction, CCObject); /** * @js NA * @lua NA diff --git a/loader/include/Geode/cocos/misc_nodes/CCClippingNode.h b/loader/include/Geode/cocos/misc_nodes/CCClippingNode.h index 1e9ca2f6..f9940d83 100644 --- a/loader/include/Geode/cocos/misc_nodes/CCClippingNode.h +++ b/loader/include/Geode/cocos/misc_nodes/CCClippingNode.h @@ -115,6 +115,8 @@ public: bool isInverted() const; void setInverted(bool bInverted); + GEODE_CUSTOM_CONSTRUCTOR_COCOS(CCClippingNode, CCNode); + protected: CCClippingNode(); };