Commit Graph

14272 Commits

Author SHA1 Message Date
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 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 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 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 19947f56ec Improve logic for DownloaderCURL startTask 2021-11-23 19:01:20 +08:00
halx99 ee79b844a7 Fix #540 2021-11-23 12:53:13 +08:00
halx99 fc35fe78db Improve FileUtils::isAbsolutePath for windows 2021-11-21 22:11:48 +08:00
halx99 552d5d8cf7 using type alias 2021-11-20 18:03:48 +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 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 81c063c427
Sets default render state when restart director 2021-11-15 17:49:46 +08:00
halx99 ee9b7430c5 Update astcenc to 3.3 2021-11-11 18:43:05 +08:00
halx99 14b70ce566 Better logic 2021-11-11 17:30:47 +08:00
halx99 e38d4052a8 Improve code style 2021-11-11 17:20:21 +08:00
halx99 4dd593ae4b Skip whitespace for sdf text render 2021-11-11 16:24:18 +08:00
halx99 92ee08e0b4 Match utf32 char code parameter type 2021-11-11 16:15:23 +08:00
halx99 e378284825 Improve speed for loading outline glyph 2021-11-11 15:56:07 +08:00
halx99 fe72c166b6 Update comment 2021-11-09 15:24:41 +08:00
halx99 0f0b3b95eb Use explicit type to compare integer 2021-11-09 14:40:00 +08:00
halx99 95a1734cd7 Add `CCValue` int64_t/uint64_t support 2021-11-09 14:29:15 +08:00
halx99 00f197f50d
Merge pull request #533 from adxeproject/children-indexer-map-support
Add children indexer map for fast getChildByTag & getChildByName support
2021-11-09 12:16:27 +08:00
halx99 8e2c6f2ceb Add comment for new API Director::setChildrenIndexerEnabled [skip ci] 2021-11-09 12:15:28 +08:00
halx99 8f88705ffe Fix #534, Make unsigned char same with char.
a. char store as int
b. unsigned char store as unsigned int
2021-11-09 12:08:37 +08:00
halx99 402f106d7f Fix parent children indexer get logic 2021-11-07 17:08:54 +08:00
halx99 e30cfe0de3 Match Node::_hashOfName type 2021-11-07 16:48:34 +08:00
halx99 b4549fd38c Add children indexer map for fast getChildByTag & getChildByName support 2021-11-07 16:14:31 +08:00
榆柳松 e001ae7194
ScrollView sometimes shows incorrect position in vertical direction. (#532) 2021-11-04 17:08:33 +08:00
rh101 49fb6f7205 Fix code formatting 2021-10-29 00:09:03 +11:00
rh101 9b2b3de565 The releaseFontAtlas method will remove the font atlas from the cache if it has a reference count of 1, and will always call release on that atlas as expected by the calling code. 2021-10-29 00:07:46 +11:00
rh101 b60478ac90 Revert "Ensure font atlas is correctly released even if it does not exist in the atlas cache."
This reverts commit 8b27fdb832.
2021-10-29 00:05:52 +11:00
rh101 8b27fdb832 Ensure font atlas is correctly released even if it does not exist in the atlas cache. 2021-10-28 17:41:25 +11:00
halx99 af19d52d0e
Update CCConsole.cpp 2021-10-27 23:02:38 +08:00
halx99 d8ed219bc4
Update copyright notice [skip ci] 2021-10-25 23:30:03 +08:00
halx99 45607062bd Fix ci 2021-10-25 20:29:40 +08:00
halx99 9183c664ce Rename cocos2d.cpp to adxe.cpp 2021-10-25 18:06:45 +08:00
halx99 c67aabac1d
Update version indicator [skip ci] 2021-10-25 17:55:05 +08:00
halx99 85d5b99add
Add copyright notice [skip ci] 2021-10-24 23:27:17 +08:00
halx99 67ce72db58 Unify Tex2F to Vec2 2021-10-24 22:44:44 +08:00
halx99 f88a490173 Fix reviews [skip ci] 2021-10-24 22:06:13 +08:00
halx99 0ce675aa5a Fix reviews 2021-10-24 21:55:48 +08:00