From 37d1f39ace18c153d66db076f21c610e15895434 Mon Sep 17 00:00:00 2001 From: qimiko <25387744+qimiko@users.noreply.github.com> Date: Mon, 5 Jun 2023 19:13:32 -0700 Subject: [PATCH] add binding for ccmessagebox mat didn't know it existed. poor mat cclog is at 0xbaa80 but bindings don't support variable args. idk --- bindings/Cocos2d.bro | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/Cocos2d.bro b/bindings/Cocos2d.bro index 2113cc49..d6373e0a 100644 --- a/bindings/Cocos2d.bro +++ b/bindings/Cocos2d.bro @@ -1118,6 +1118,7 @@ class cocos2d { static float ccpDistance(cocos2d::CCPoint const&, cocos2d::CCPoint const&) = mac 0x1aaf90; static void ccDrawPoly(cocos2d::CCPoint const*, unsigned int, bool) = mac 0xed0a0; static void ccDrawColor4B(GLubyte, GLubyte, GLubyte, GLubyte) = mac 0xeddd0; + static void CCMessageBox(const char* msg, const char* title) = mac 0xbabc0; } class DS_Dictionary {