Commit Graph

39444 Commits

Author SHA1 Message Date
halx99 c3e94eddfa
Don't allow Color3B to Color4B implicit 2021-12-06 21:19:45 +08:00
halx99 70334a02be Change DrawNode api color from Color4F to Color4B
a. Color4B is low level type before upload to GPU
b. Enable implicit convert from Color4F to Color4B

Inspired by @Denghe.NET
2021-12-06 21:09:15 +08:00
halx99 73a6dbbe9f Update thirdparties, mvsc toolsets 19.29.30137.0
a. curl-7.78.0
b. jpegturbo-2.1.2
c. luajit-2.1.0-f3c8569 (2512)
2021-12-06 20:01:37 +08:00
halx99 232387ac11 Improve code quality 2021-12-06 15:02:53 +08:00
halx99 a95a00e96b Improve code style 2021-12-06 13:00:44 +08:00
halx99 0f4b92c1e4 Always enable string pooling for msvc 2021-12-04 13:45:25 +08:00
halx99 fef04c4830 Track freetype to release 2.11.1 2021-12-03 15:14:06 +08:00
halx99 ec60597a6d
Merge pull request #545 from aismann/COCOS2D_DEBUG
Improve performance on cpp-tests release version controlling COCOS2D_…
2021-12-01 22:38:49 +08:00
aismann 8f01f2782f Improve performance on cpp-tests release version controlling COCOS2D_DEBUG 2021-12-01 15:03:57 +01:00
halx99 91854beaa2
Merge pull request #544 from aismann/string_view
Change all setString(const std::string & ...) ...
2021-12-01 13:07:04 +08:00
halx99 00d8a4ef5d
Fix ci 2021-12-01 12:02:42 +08:00
halx99 629b882230
Improve code style 2021-12-01 11:49:42 +08:00
aismann 6a41776f20 change all setString(const std::string & ...) to setString(std::string_view ...)
Change all methods inherited from virtual void setString(std::string_view label) = 0;
2021-11-30 20:35:34 +01:00
halx99 0e39332c8b
Update README.md 2021-11-29 22:04:31 +08:00
halx99 82b7b95ff8 Better use string_view, refer #543 2021-11-27 13:51:21 +08:00
halx99 44b78723dc Use std::string_view instead const std::string&, refer #543
a. FontFreeType
b. ccUTF8
2021-11-27 11:08:08 +08:00
halx99 ab4a005131
Merge pull request #542 from adxeproject/codebase-cpp17
Improve codebase to c++17
2021-11-26 19:17:04 +08:00
halx99 9930eef75a Fix compile 2021-11-26 18:13:33 +08:00
halx99 2ca99fce0f
Improve codebase to c++17 2021-11-26 18:06:14 +08:00
halx99 e3f2bde738 More safe to store customGlyphs 2021-11-26 17:53:24 +08:00
halx99 bc14e09079 Move ntcvt directory 2021-11-26 17:19:50 +08:00
halx99 97a60e18b8
Fix childrenIndexer not update when child detached 2021-11-25 16:27:43 +08:00
halx99 e10544d185
Merge pull request #541 from aismann/patch-12
Add Visual Studio 2022 stuff
2021-11-23 20:46:09 +08:00
aismann 9d11ac0df5
Add Visual Studio 2022 2021-11-23 13:16:36 +01:00
halx99 693b7a1086 Update c-ares 2021-11-23 19:04:27 +08:00
halx99 19947f56ec Improve logic for DownloaderCURL startTask 2021-11-23 19:01:20 +08:00
halx99 2d238e7663
Update README.md 2021-11-23 16:22:13 +08:00
halx99 ee79b844a7 Fix #540 2021-11-23 12:53:13 +08:00
halx99 c8a2f5ca58 Update yasio 2021-11-22 23:27:39 +08:00
halx99 778dc7e2b9
Improve skipBOM 2021-11-22 13:58:41 +08:00
halx99 fc35fe78db Improve FileUtils::isAbsolutePath for windows 2021-11-21 22:11:48 +08:00
halx99 64a5b4664d Refine code 2021-11-21 16:49:02 +08:00
halx99 d6f145655d Merge branch 'dev' of https://github.com/adxeproject/adxe into dev 2021-11-20 18:03:56 +08:00
halx99 552d5d8cf7 using type alias 2021-11-20 18:03:48 +08:00
halx99 94d5dec92b Rename prompt message 2021-11-19 20:41:42 +08:00
halx99 2183dd644e Update yasio to v3.37.8 2021-11-19 18:29:37 +08:00
halx99 57972411e5
Update UnitTest.cpp 2021-11-19 09:21:17 +08:00
halx99 7a9e0a5ea1 Always loop find child when indexer not found 2021-11-18 19:47:15 +08:00
halx99 b957d64c68 Fix #536 2021-11-18 19:02:33 +08:00
halx99 9e35b0a1e2 Fix cocos2dx_lua_loader 2021-11-17 20:59:12 +08:00
halx99 1df2fe9f85 Refine code 2021-11-17 14:07:47 +08:00
halx99 47ecd78b22 Improve TTF load, enable stream parsing at for non-android devices 2021-11-16 18:41:18 +08:00
halx99 2a103f66b7
Update CCPlatformConfig.h 2021-11-16 16:28:31 +08:00
halx99 01b5e6fa2b
Update android platform macro detection 2021-11-16 16:27:56 +08:00
halx99 8e1087a987 Refine cocos2dx_lua_loader logic 2021-11-16 14:12:32 +08:00
halx99 3c5224220f Fix lua state usage 2021-11-15 19:05:08 +08:00
halx99 81c063c427
Sets default render state when restart director 2021-11-15 17:49:46 +08:00
halx99 bc4dccff9b Compatible lua getXXXSize API for get width,height from vec2 2021-11-12 19:12:29 +08:00
halx99 ee9b7430c5 Update astcenc to 3.3 2021-11-11 18:43:05 +08:00
halx99 1d980f4f52 Fix unit test 2021-11-11 18:41:59 +08:00