Commit Graph

294 Commits

Author SHA1 Message Date
halx99 53b1da1bf9 fix mssing sources 2020-08-27 12:44:30 +08:00
halx99 b6f2d775a9 Make UserDefault encrypt/decrypt algorithm can be customlized 2020-08-27 12:37:20 +08:00
halx99 f583ec6300 By default, disable stream parsing 2020-08-27 11:40:44 +08:00
halx99 6345cca301 freetype stream parsing support, reduce memory use on FontCache 2020-08-27 11:35:55 +08:00
halx99 ea1cb45ba3 Refine code style 2020-08-27 10:19:21 +08:00
halx99 6ac06d8571 fix ci compile 2020-08-27 00:49:07 +08:00
halx99 c9d6c5afdf Rename PXFileStream to CCFileStream 2020-08-27 00:21:44 +08:00
halx99 d0c01ea688 Merge: 6be52c29e7 9d7d1e40fb
Merge branch 'master' of https://github.com/c4games/engine-x into master
2020-08-26 12:46:51 +08:00
halx99 6df5f91142 Sync LayoutHelper APIs 2020-08-26 12:46:41 +08:00
halx99 8d7a5ab3c6 finish killCurrentProcess implementation on windows 2020-08-26 10:36:33 +08:00
halx99 6fe10e8809 Add utils::killCurrentProcess API to kill game immidiately 2020-08-25 23:12:26 +08:00
halx99 0e0a28e033 Merge: 1740c444f8 5c850e00ac
Merge pull request #171 from halx99/feature-170

Add utils::createInstance to instead macro CREATE_FUNC
2020-08-24 23:55:37 -07:00
halx99 feb4e1783a fix warning 2020-08-25 14:47:51 +08:00
halx99 0545a471cb fix ci 2020-08-25 14:08:17 +08:00
halx99 d39f803459 Add utils::createInstance to instead macro CREATE_FUNC 2020-08-25 13:49:45 +08:00
halx99 c8a665da40 Update al format enum 2020-08-24 19:04:08 +08:00
halx99 3b770e4519 Improve engine CMakeLists.txt for ios
benefit: Now engine can build without ios.toolchain.cmake,
because we solvoe follow issues:
a. fix cmake try_compile failed with arm device without
b. fix try_compile/compile will failed with device on armv7
c. fix thread local storage require:
1. deployment target >= 9.0 (arm64)
2. deployment target == 10.x (armv7)
2020-08-24 15:31:45 +08:00
halx99 34c51f5596 Print al vender and version after initialized 2020-08-20 22:37:34 +08:00
halx99 e348312baa Naming style [skip appveyor] [skip travis] 2020-08-19 12:26:31 +08:00
halx99 eaaeeea27f Refine code 2020-08-19 12:10:29 +08:00
halx99 98fab08a6c fix label crashing, add private use BatchCommand move constructor to adapte std::vector resize properly 2020-08-19 11:46:13 +08:00
halx99 7ff2ffa0b3 Make CustomCommand safe copyable and moveable 2020-08-19 11:42:32 +08:00
halx99 aa3f12628a Sync mssing code from official-v3 2020-08-18 14:43:09 +08:00
halx99 083d14f342 Improve code quality 2020-08-18 14:29:09 +08:00
halx99 b594cda5e3 Consider mutex use, which object dou you want guard? 2020-08-18 12:48:16 +08:00
halx99 9eb32b634f Make core lib can be build as dll, fix link issue for external 2020-08-18 12:36:44 +08:00
halx99 c9882c195a Update README_CN.md 2020-08-18 12:11:04 +08:00
halx99 641b2e40f3 Sync fix from https://github.com/cocos2d/cocos2d-x/pull/20518 2020-08-18 12:09:56 +08:00
halx99 a3a231495c Backport CCValue APIs 2020-08-18 11:33:18 +08:00
halx99 d084d9f61a Improve shared library for android, remove mojoal,sdl2, still use OpenAL.framework on apple platform, alsoft on other platforms. 2020-08-17 18:45:14 +08:00
halx99 bda3a720b4 Use CC0-1.0 licensed decoder 'minimp3' to replace LGPL licensed decoder 'mpg123' 2020-08-17 14:56:53 +08:00
halx99 b090664084 Make android listFiles behavior same with other platforms 2020-08-17 12:09:31 +08:00
halx99 08e3b65b9a More clearly check supported pcm format by alsoft extends 2020-08-15 17:48:57 +08:00
halx99 2e4499b6d0 Add ios framework required by SDL2, check whether SDL2 support strip it later 2020-08-15 17:47:40 +08:00
halx99 072deafeae Adapte zlib licensed AL library: mojoal 2020-08-14 18:58:44 +08:00
halx99 f72f6e8cac Cleanup unused code for min support iOS 2020-08-13 23:03:55 +08:00
halx99 a09253c7a2 fix-157 2020-08-13 22:35:41 +08:00
halx99 a3b208075b fix compile issue without alsoft 2020-08-13 00:41:30 +08:00
halx99 da2ec96fd8 fix ci android build issue. 2020-08-12 18:53:33 +08:00
halx99 5732e20789 Tidy code 2020-08-12 18:40:04 +08:00
halx99 d9ef1e238f Simplify audio source again, merge audio sources 2020-08-12 17:00:07 +08:00
halx99 37d4be2152 FreeType: Output missing char in .ttf at _DEBUG compiling mode 2020-08-12 14:24:06 +08:00
halx99 9fef6a8720 Sync macro 2020-08-07 23:55:25 +08:00
halx99 7e7fba9649 By default, make cocos2d::log multi-threading safe 2020-08-07 23:52:41 +08:00
aismann 63e7c6e4dc OpenGL 'works' better... 2020-08-07 08:10:12 +02:00
halx99 d424be2a80 Naming style 2020-08-07 00:39:55 +08:00
halx99 77b3290226 Make CCValue compatible official cocos2d-x v3/v4 2020-08-06 19:39:50 +08:00
halx99 9c92a5e4ab Sync optimize code from v3 2020-08-06 17:37:34 +08:00
halx99 b781a25e16 Reorder members of Node, sizeof(Node) decrease from 640 to 616 on 32bit application 2020-08-06 13:30:35 +08:00
halx99 8af53505c1 Merge: 3cf637418f 137ded73a5
Merge branch 'master' of https://github.com/c4games/engine-x into master
2020-08-05 18:12:31 +08:00