From 4e2267f020774b3fcd6717970fb71e932a49f618 Mon Sep 17 00:00:00 2001 From: hjfod Date: Sun, 2 Apr 2023 09:54:59 +0300 Subject: [PATCH] some static functions on mac --- bindings/Cocos2d.bro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/Cocos2d.bro b/bindings/Cocos2d.bro index 528f0dfa..78aa1c6b 100644 --- a/bindings/Cocos2d.bro +++ b/bindings/Cocos2d.bro @@ -1040,6 +1040,9 @@ class cocos2d { static auto ccDrawSolidRect(cocos2d::CCPoint, cocos2d::CCPoint, cocos2d::_ccColor4F) = mac 0xecf00; static auto ccGLEnableVertexAttribs(unsigned int) = mac 0x1ae740; static auto ccGLBindTexture2D(GLuint) = mac 0x1ae610; + 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; } // class DS_Dictionary {