Commit Graph

1449 Commits

Author SHA1 Message Date
halx99 7ece7b2cea Improve code style 2021-12-28 17:18:54 +08:00
halx99 1c3ec2d68c string_view for apple 2021-12-28 11:48:48 +08:00
halx99 8584b40f16 string_view for apple 2021-12-28 11:17:53 +08:00
halx99 9eeeb151a1 Committing clang-format changes 2021-12-28 03:00:34 +00:00
halx99 a0761b0a5d string_view for android 2021-12-27 19:24:35 +08:00
halx99 7cdfcafd2a string_view for android 2021-12-27 19:18:36 +08:00
halx99 01310bf1b1 Modify some extensions for string_view 2021-12-27 13:52:08 +08:00
halx99 0076283252 Huge changes for all string_view 2021-12-26 23:26:34 +08:00
halx99 2ba77a42fb Committing clang-format changes 2021-12-25 02:04:45 +00:00
halx99 8a813ca436 Fix file text encoding 2021-12-24 20:43:40 +08:00
deal 51498fb4d1
Delete Cocos2dxLocalStorage.java 2021-12-24 02:12:32 +08:00
halx99 b459acbcf7 Remove all unnecessary nothrow 2021-12-08 00:11:53 +08:00
halx99 bc14e09079 Move ntcvt directory 2021-11-26 17:19:50 +08:00
halx99 fc35fe78db Improve FileUtils::isAbsolutePath for windows 2021-11-21 22:11:48 +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 43f80b4416 Fixup 2021-10-24 11:07:54 +08:00
halx99 cc2ba51ed6 Use struct `Vec2` instead `Size` 2021-10-23 23:27:14 +08:00
halx99 c38681bdd0 Code style 2021-10-11 12:15:41 +08:00
halx99 d9b73b9a72 Fix codacy issues 2021-10-09 14:05:32 +08:00
halx99 bc4cbddd50 Fix some warnings 2021-10-09 13:48:56 +08:00
halx99 bbd3a78ae4 Improve lua workflow on windows
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
halx99 52dff7c19b Fix #518 2021-10-06 18:45:58 +08:00
halx99 0eb2da0d14 Avoid OS_WINDOWS conflicit with system macro 2021-10-02 17:29:07 +08:00
rh101 456d26628c Change off_t to int64_t 2021-09-02 21:18:23 +10:00
rh101 9cfc16ee38 Support 64 bit versions of posix lseek 2021-09-02 20:43:37 +10:00
rh101 de182c8360 Change %ld to %d for 32bit data types
Regenerate LUA bindings
2021-09-02 17:46:22 +10:00
rh101 737f0c39d7 Revert to usage of `long` type for external library methods that require it. 2021-09-02 16:08:57 +10:00
rh101 4d1ff40736 Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate. 2021-09-02 15:39:28 +10:00
halx99 74a1ac7cfe Delete unused sources 2021-08-25 16:14:15 +08:00
rh101 0266d332e5 Update FileStream seek, tell and size to support files greater than 4GB, and max size is 2^63. 2021-08-20 00:53:02 +10:00
halx99 65148417b2
Fix ci 2021-07-15 23:31:49 +08:00
halx99 bc6ebd920a Improve code quality 2021-07-15 23:03:43 +08:00
halx99 f70ad053c0 Rename everything to adxe 2021-07-09 10:42:36 +08:00
halx99 6864ef23b5
Fix ci error 2021-07-07 14:09:11 +08:00
halx99 cc85623d30 For doxgen happy 2021-07-06 15:22:07 +08:00
halx99 2181268139 Refine code [ci build] 2021-07-04 21:21:29 +08:00
halx99 b9e2a8b7e1 Fix #414 2021-07-04 21:18:14 +08:00
halx99 79b13d2372 Fix #413 2021-07-04 16:40:34 +08:00
halx99 a84067eb74 Refactor dual sampler shader [ci build]
Since not only etc1 could use sepreate RGB, A to two texture samplers, we unify the shader name.
2021-06-27 20:58:50 +08:00
halx99 de656ff773 Tidy thirdparty lib xsxml, fastlib to xsbase 2021-06-25 07:29:14 +08:00
RH f72cd54eac
Fix to allow the correct saving of images on iOS when using a virtual file system (#369)
* Fix to allow the correct saving of images on iOS when using a virtual file system

* Add missing import for FileUtils
2021-06-03 02:34:02 +08:00
halx99 29015e1cd7 Make gradle utils file as shared [ci build] 2021-06-02 06:27:19 +08:00
halx99 d56a6f53cb Update astc [ci build] 2021-06-01 23:43:54 +08:00
RH d17e7b442a
FileStream::size() implemented (#365)
* Add FileStream::size()
Add ZipFile::zfsize()

* Use FileStream::size()
2021-05-31 15:08:44 +08:00
halx99 2870c39fb2 Better code style 2021-05-24 13:26:56 +08:00
halx99 7f248efcee
Update CCDevice-win32.cpp 2021-05-18 23:52:25 +08:00
halx99 abc5f93c02
Fix charset process for fontName on win32 [ci build]
Since we use freetype, never needs create ttf font by win32 API
2021-05-18 23:50:23 +08:00
halx99 34026070ab Fix warning [ci build] 2021-05-14 20:50:59 +08:00
halx99 d0426578d5 Sync pr: https://github.com/cocos2d/cocos2d-x/pull/20662 2021-04-26 19:00:43 +08:00