diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e4a4825..9eaeb685 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -243,7 +243,7 @@ if (DEFINED GEODE_TULIPHOOK_REPO_PATH) message(STATUS "Using ${GEODE_TULIPHOOK_REPO_PATH} for TulipHook") add_subdirectory(${GEODE_TULIPHOOK_REPO_PATH} ${GEODE_TULIPHOOK_REPO_PATH}/build) else() - CPMAddPackage("gh:geode-sdk/TulipHook#fbf79b4") + CPMAddPackage("gh:geode-sdk/TulipHook#c8a445c") endif() set(CMAKE_WARN_DEPRECATED ON CACHE BOOL "" FORCE) diff --git a/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h b/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h index 3646d366..bbb8e3dd 100644 --- a/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h +++ b/loader/include/Geode/cocos/draw_nodes/CCDrawNode.h @@ -99,6 +99,8 @@ public: void drawPreciseCubicBezier(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::CCPoint const&, unsigned int, cocos2d::_ccColor4F const&); bool drawLines(cocos2d::CCPoint*, unsigned int, float, cocos2d::_ccColor4F const&); bool drawRect(cocos2d::CCPoint const&, cocos2d::CCPoint const&, cocos2d::_ccColor4F const&, float, cocos2d::_ccColor4F const&); + void disableDrawArea(); + void enableDrawArea(cocos2d::CCRect& rect); #else /** draw a dot at a position, with a given radius and color */ void drawDot(const CCPoint &pos, float radius, const ccColor4F &color);