Commit Graph

660 Commits

Author SHA1 Message Date
Turky Mohammed 233b1372de Update RngSeed.hpp [skip ci] 2022-06-16 05:23:41 +03:00
Turky Mohammed 269cc85453 Update RngSeed.hpp [skip ci] 2022-06-16 05:14:56 +03:00
DelinWorks d85aa026e0 extract RngSeed struct to it's separate class. [skip ci] 2022-06-16 05:01:35 +03:00
DelinWorks c5eb8db573 Fix fixed fps move stuttering. 2022-06-16 03:55:46 +03:00
DelinWorks ebbafbd938 Add function versioning. [skip ci] 2022-06-16 00:47:19 +03:00
DelinWorks 73b29e235e Add cpp_tests and improve system. 2022-06-15 23:04:08 +03:00
halx99 5c9ab14d3e Fix astc cmake simd check for windows x64 2022-06-15 21:16:51 +08:00
DelinWorks 82722eefc2 Fix rotation override and node base class calls.
Make sure Node class calls it's base functions and NOT the ones overridden when changing position, and make sure the rotation set for the camera isn't altered when calling applyCustomProperties().
2022-06-15 16:10:47 +03:00
aismann a0dfe6e2ab SimpleSnake small updates
- CodeCleanup
- MIT License file
- readme update
2022-06-15 07:02:08 +02:00
Turky Mohammed db6ea424ea Remove useless code and comments. [skip ci] 2022-06-15 05:25:40 +03:00
DelinWorks a15572d08a Fix rotation update & reference deduction. 2022-06-15 05:00:17 +03:00
DelinWorks 2886ada2b6 Fix orthogonal apply custom positioning. [skip ci] 2022-06-15 03:55:57 +03:00
DelinWorks 14666d9c1f Add position rotation setters & getters override for custom behaviors. 2022-06-15 03:48:26 +03:00
halx99 ce63a440ef Take care glGetTexImage func pointer check 2022-06-14 15:33:42 +08:00
涓€绾跨伒 b9bc6b7357 cocos2dVersion compatible (#655)
* cocos2dVersion compatible

* Update [skip ci]
2022-06-14 13:33:45 +08:00
DelinWorks ed7f8c2929 Update CCCamera.cpp [skip ci] 2022-06-14 02:11:40 +03:00
DelinWorks 3e98101dc4 Improve system and fix near plane zoom in. 2022-06-14 01:53:35 +03:00
DelinWorks 9ddbab21a9 Fix other platforms compilation. 2022-06-13 21:33:23 +03:00
DelinWorks a9f2e29ebf Add zoom and camera features. 2022-06-13 21:04:24 +03:00
涓€绾跨伒 010172e659 Fix typo [skip ci] 2022-06-13 15:44:25 +08:00
halx99 e3f0f29d1a Improve code style 2022-06-13 14:28:09 +08:00
halx99 864601764f Improve code style 2022-06-13 12:46:40 +08:00
halx99 2877a7eb78 Improve code style 2022-06-13 09:45:33 +08:00
halx99 aa5d3b65e0 Improve code style 2022-06-13 09:26:10 +08:00
Turky Mohammed 11c21ddde4 Merge: 31dcd4eb25 bd2cff3dfd
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-13 00:10:42 +03:00
涓€绾跨伒 9b50a8e8c3 Improve text rendering (#652)
* Improve text-rendering
a. Separate outline texture data upload for GL and Metal backend
b. Fix memory leak of FontAtlas::_currentPageDataRGBA
b. Add FontFreeType::setMissingGlyphCharacter for rendering a missing char
d. Improve FontFreetype::renderCharAt with memcpy
2022-06-13 01:44:31 +08:00
涓€绾跨伒 faf0038a53 Update install-deps-linux.sh 2022-06-13 01:13:08 +08:00
Turky Mohammed 87e4fad96c Merge: a2bea19e1e 3ac444efa6
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-12 17:26:54 +03:00
DelinWorks f6c390296d Add in-between fill in. 2022-06-12 15:57:11 +03:00
DelinWorks 95b8cd80ef Add comments. 2022-06-12 15:36:25 +03:00
DelinWorks 8d1e3fccf4 Emplace dummy masks to container. 2022-06-12 15:15:51 +03:00
DelinWorks 4f5bcc797d Cleanup and add performance logs.
Somehow not using const reference takes 30 fps away 馃槙
2022-06-12 03:40:13 +03:00
DelinWorks 191d55433d what? [skip ci] 2022-06-12 03:10:49 +03:00
DelinWorks c4b2177137 Avoid unnecessary copying of memory. 2022-06-12 02:44:27 +03:00
DelinWorks 49a01563d7 Add emission mask transformations support. 2022-06-12 02:16:15 +03:00
DelinWorks 853b8601d0 Fix RANDOM_KISS rounding crash. 2022-06-12 01:39:11 +03:00
DelinWorks ce6da8c562 Fix RANDOM_KISS 1.0F Bias 2022-06-12 01:32:29 +03:00
DelinWorks c241edab27 Add emission mask support. 2022-06-12 00:58:01 +03:00
DelinWorks 237a3ccbad Improve emission shapes workflow.
`ps->addEmissionShape(ParticleSystem::createConeShape({ -2000, 0 }, 400, 90, 50));` is the new workflow.
2022-06-11 18:06:43 +03:00
halx99 0462dbea43 Fix #651 2022-06-11 17:58:02 +08:00
涓€绾跨伒 03c8056078 Merge: 5138d701d6 5c35eda3b9
Merge pull request #650 from adxeproject/ndk-r23c

Upgrade android toolsets to ndk-r23c LTS
2022-06-11 16:57:37 +08:00
halx99 89c075f679 Fix ci 2022-06-11 16:21:47 +08:00
halx99 9bf295d8e4 Upgrade android toolsets
- ndk to r23c
- gradle plugin to 7.2.0
- gradle wrapper to 7.4.2
- config ndk ver at adxetools.gradle
2022-06-11 16:16:47 +08:00
halx99 ddc1a80420 Delete unused comment 2022-06-11 15:30:51 +08:00
halx99 1e33f4ce7b Fix ci 2022-06-11 10:14:32 +08:00
halx99 9d91b7837d Fix #648, remove GB2312 charset handle, only support UNICODE font 2022-06-11 09:50:07 +08:00
halx99 b7e98b0394 Change android log debug info tag 2022-06-11 09:12:40 +08:00
halx99 cb8db3c0da Remove unused [skip ci] 2022-06-10 17:34:46 +08:00
halx99 8eea58226b Remove feature filename lookup dictionary 2022-06-09 16:48:59 +08:00
halx99 3816aa314d Remove ugly feature, fix ci 2022-06-09 16:40:14 +08:00
halx99 0d3e3d3fd8 Improve performance with string_view 2022-06-09 16:30:51 +08:00
halx99 f4b480576c Improve performance with string_view 2022-06-09 16:19:33 +08:00
halx99 180c256732 Fix Value large integer storage 2022-06-08 16:38:42 +08:00
涓€绾跨伒 d4bfd4cd6c Cancel downloader with closesocket when shutdown failed 2022-06-08 12:51:46 +08:00
涓€绾跨伒 4c18771e34 Merge: 6943fb9dce 3a3b899636
Merge pull request #637 from rh101/fix-screen-blank

Fix Android screen blank issue after unlocking device
2022-06-07 20:05:29 +08:00
Turky Mohammed a30815f2bf Merge: c54b142e58 6943fb9dce
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-07 13:04:51 +03:00
DelinWorks d40192ef7c Fix indentations. 2022-06-06 19:23:11 +03:00
DelinWorks 399eb0cf20 Fix rectangular torus stretched dimensions. 2022-06-02 22:26:26 +03:00
DelinWorks 905bc64cd6 Add ability to clear emission shapes. 2022-06-02 19:29:19 +03:00
DelinWorks 1157637bda Add emission shapes support. 2022-06-02 19:26:02 +03:00
DelinWorks ddd7f781ce Oops [skip ci] 2022-05-29 08:21:08 +03:00
DelinWorks b97a097486 Optimize code. 2022-05-29 08:13:22 +03:00
DelinWorks 9b0dc23742 Improve performance. 2022-05-28 20:36:04 +03:00
DelinWorks 3d731e505c Fix HSV Blending bug. 2022-05-28 20:34:19 +03:00
DelinWorks c5b50eedfe Remove useless `_isHSV` 2022-05-27 14:08:25 +03:00
DelinWorks dee4234e98 Improve allocation safety. 2022-05-27 13:36:38 +03:00
DelinWorks 47b6aad5e1 Make scale in smooth 馃構 2022-05-27 00:29:53 +03:00
DelinWorks e57f69483a Add spawn scale in feature. 2022-05-26 22:53:19 +03:00
DelinWorks 4d5d018c60 Put loops inside ifs statements not the opposite 馃ぁ 2022-05-26 21:34:15 +03:00
DelinWorks 7eba4588d6 Add spawn fade in feature. 2022-05-26 19:59:48 +03:00
DelinWorks b427bfaf74 Fix texture atlas index unintended increment bug. [skip ci] 2022-05-26 16:53:26 +03:00
DelinWorks 5f361ff58b Conserve memory allocations & Improve animation system.
Use memory when we need it 馃槧
2022-05-26 15:56:56 +03:00
Turky Mohammed 96d41b83e9 Fix typo in HSV/HSL classes. (#647)
Co-authored-by: 涓€绾跨伒 <halx99@live.com>
2022-05-26 19:25:30 +08:00
DelinWorks 726f40cda8 Add HSV support and remove frame compensation. 2022-05-26 14:00:33 +03:00
涓€绾跨伒 1e2467e6dd Merge: c6bca8ef86 ced908a1bb
Merge pull request #646 from DelinWorks/hsv-hsl-cpp-tests

Add `cpp_tests` to HSV/HSL
2022-05-26 04:13:01 +08:00
Turky Mohammed 554ed444c1 Merge: f0d650c6ef c6bca8ef86
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-25 22:04:13 +03:00
Turky Mohammed 409e643df9 Add HSV/HSL color spaces to the engine. (#642)
* Add HSV support.

* Do not use a reference on hsv()

* Add alpha specifier to hsv()

* Rename function hsv() to rgb()

* Update ccTypes.cpp

* Fix angle wrapping

* Fix typo.

* Added HSV & HSL Support with a much better API

* Remove parameter prefixes.

* Fix self assignment.

* Fix self assignment.

* Update core/base/ccTypes.h [skip ci]

* Update core/base/ccTypes.h [skip ci]

Co-authored-by: 涓€绾跨伒 <halx99@live.com>
2022-05-25 20:10:52 +08:00
涓€绾跨伒 b6790e40e4 Merge: 1cdbf8c273 d2e96534d2
Merge pull request #645 from aismann/patch-1 [skip ci]

Update readme.md
2022-05-25 18:17:43 +08:00
DelinWorks f23aefc182 Revert "Revert stashed changes temporarily."
This reverts commit c3ca96bcbc.
2022-05-25 10:46:54 +03:00
DelinWorks e6c13ac358 Revert stashed changes temporarily. 2022-05-25 10:20:35 +03:00
涓€绾跨伒 df01924b2d Update revision 2022-05-25 12:35:30 +08:00
rh101 af0b18a54a Allow the forced reformatting of RichText contents 2022-05-25 11:42:12 +10:00
DelinWorks 84a52c519f Improve code and add frame animation independence and null indices. 2022-05-24 11:26:53 +03:00
DelinWorks 38803e0f5b Improve code and add stutter compensation. 2022-05-24 09:42:27 +03:00
DelinWorks 7bf7c10614 Stop annoying me visual studio 馃槧 ur not helping 2022-05-24 08:58:49 +03:00
DelinWorks 87ec232c10 Add fixed FPS function for particle system.
Useful for low-end devices.
2022-05-24 00:49:17 +03:00
DelinWorks dc4f6285d5 Improve code and add useful functions.
Renamed some variables and functions correctly, added the ability to simulate particles and give them a true random look.
2022-05-24 00:46:38 +03:00
Turky Mohammed 1bcf616d44 Merge: eb8404f1fe 18f58a1925
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 18:42:36 +03:00
涓€绾跨伒 ebb11194c1 Update CMakeLists.txt (#641) 2022-05-23 23:40:37 +08:00
DelinWorks 5358cd431c Fix particle bursts when using manual emissions. 2022-05-23 18:35:36 +03:00
Turky Mohammed fe65570561 Merge: 0704503186 843d127a95
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 17:54:08 +03:00
halx99 60457300b7 Fix ci 2022-05-23 22:06:28 +08:00
Turky Mohammed d0b551d26b Merge: 6e1d48835e 193ed82788
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 16:55:30 +03:00
DelinWorks 5239256b13 Improve particle RNG and add useful functions
Replaced M11 RNG with KISS RNG which is better and fixes a problem with particle strafing, added the ability to pause the entire particle system (useful for pause menus) and ability to control particle system time speed multiplier 馃挭馃ザ
2022-05-23 16:04:09 +03:00
halx99 71c27f43d8 Fix ios device install problems
- lua template missing `CFBundleExecute`
- Use `_` instead tests project to avoid unknown error
2022-05-23 17:03:07 +08:00
DelinWorks 6f241e1967 Separate quad animation loop from color loop
This improves cache hit rate which in turn increases performance 馃ザ
Of course that's viable when you're using pure memory pointer arrays that use simple POD-like data types.
2022-05-23 11:32:54 +03:00
DelinWorks 7ec3e4a184 Improve loops using std::fill_n() [skip ci] 2022-05-23 11:11:55 +03:00
DelinWorks 1a9a2540e1 Recheck code and improve it (No CI I trust it 馃ザ) [skip ci] 2022-05-22 20:51:56 +03:00
Turky Mohammed 618a4fa0db Update core/2d/CCParticleSystem.cpp
Co-authored-by: 涓€绾跨伒 <halx99@live.com>
2022-05-22 17:51:42 +03:00
Turky Mohammed 8f7bca37d0 Update core/2d/CCParticleSystem.cpp
Co-authored-by: 涓€绾跨伒 <halx99@live.com>
2022-05-22 17:42:54 +03:00
DelinWorks a063a8cc86 Use const reference vectors 馃槷 2022-05-22 17:38:43 +03:00
DelinWorks 752aa3df46 Reimplement atlas animation system
Reimplement atlas animations with an easier workflow and make it work with the new animation descriptor system 馃槏馃ザ馃コ
2022-05-22 15:58:36 +03:00
DelinWorks 881e1eb2ca Add emitter animation random picking 2022-05-22 12:13:17 +03:00
DelinWorks cde0982213 Update CCParticleSystem.cpp 2022-05-22 10:09:13 +03:00
DelinWorks 362e3e6d31 Macros and random functions are pain... 2022-05-21 20:23:19 +03:00
DelinWorks b0db3df55b Fix Other Platforms Compilations 2022-05-21 17:57:21 +03:00
DelinWorks dfaaa1e93a Fix Other Platforms Compilations
Somehow not including `2d/CCSpriteFrame.h` makes the other platforms fail to compile but not windows :o
2022-05-21 17:47:44 +03:00
DelinWorks 4f7bbcdb48 Add TODO 2022-05-21 16:56:56 +03:00
halx99 38510615db Improve code style 2022-05-21 21:55:48 +08:00
DelinWorks dae8804045 Fix #include
Visual studio thinks it's doing something useful throwing includes all around LOL
2022-05-21 16:51:56 +03:00
DelinWorks 0a8035c12c Add sprite frame and animation descriptors support 2022-05-21 16:48:46 +03:00
halx99 49763c5f17 Fix uri toString 2022-05-21 20:55:25 +08:00
halx99 6af9d55222 Remove unnecessary alGetError call 2022-05-20 17:26:33 +08:00
halx99 6dfbe87c3b Fix parameter order 2022-05-20 17:03:26 +08:00
DelinWorks 5c18700fdb Correct function naming 2022-05-20 01:45:55 +03:00
DelinWorks 3b3a870c12 Update 2022-05-20 01:15:39 +03:00
halx99 85f395383b Delete unused code 2022-05-18 10:29:29 +08:00
rh101 c8822a9cda Fix Android screen blank issue after unlocking device with application running. 2022-05-17 14:02:02 +10:00
halx99 429918baa9 Fix lua template duplicate res error on mac
Fix typo

Fix cmdline fail on new macos
2022-05-15 16:36:06 +08:00
halx99 f1b56abfaf Tidy audio module code 2022-05-15 09:55:57 +08:00
涓€绾跨伒 cc200d3827 Fix high-end device always 120fps 2022-05-15 04:42:39 +08:00
halx99 2e6fd8891f Cleanup code 2022-05-14 02:47:47 -07:00
halx99 964d82e707 Don't include freetype internal header 2022-05-14 15:16:39 +08:00
halx99 c3f40d2b36 Improvements and bug fixes
Improve ResizableBufferAdapter style

Improve extesnion adxelua

Improve code quality

Fix lua-tests BillBoardTest

Sync texture pixel format enum values for adxelua

Fix luaval_to_vec2 parameter location

Improve windows workflow

Improve cmake scripts

Take care Texture2D::setDefaultAlphaPixelFormat use
2022-05-13 21:06:29 +08:00
halx99 6ea9d930af Fix incorrect sampler for non-aligned video files 2022-05-09 10:05:33 +08:00
涓€绾跨伒 4893e17e5c Fix indent 2022-05-07 20:40:54 +08:00
halx99 2749450e05 Fix #627 2022-05-07 20:21:22 +08:00
Turky Mohammed 30b9d4cb5f Update core/2d/CCMotionStreak.cpp [skip ci]
Co-authored-by: 涓€绾跨伒 <halx99@live.com>
2022-05-04 10:00:38 +03:00
Turky Mohammed 022686bda7 Update CCMotionStreak.cpp 2022-05-04 09:26:54 +03:00
DelinWorks 670eabbf64 Update CCMotionStreak.cpp 2022-05-03 20:54:44 +03:00
DelinWorks 371d9c7770 Update CCMotionStreak.cpp 2022-05-03 20:14:12 +03:00
DelinWorks 588b5d31ab Update CCMotionStreak.cpp 2022-05-03 20:10:26 +03:00
DelinWorks 70f3874d49 Update CCMotionStreak.cpp 2022-05-03 20:01:12 +03:00
DelinWorks 89621c5601 Update UIVideoPlayer-win.cpp 2022-05-02 05:35:45 +03:00
halx99 111df39a7d Add setPlayRate for UIVideoPlayer for windows only 2022-04-28 12:14:08 +08:00
halx99 d86d79eb93 Improve code style [skip ci] 2022-04-28 12:04:23 +08:00
halx99 bddf0aecdb Improve code style 2022-04-28 12:00:32 +08:00
halx99 680f14a5e2 Improve VS Ninja workflow 2022-04-28 11:43:59 +08:00
halx99 ba66918607 Improve Ninja build with visual studio ide
a. Disable PCH for Ninja, just a workaround fix compiler always said: can't open xxx.pch files
b. Remove unnecessary definition _WINSOCKAPI_ for Ninja build
2022-04-27 18:48:57 +08:00
halx99 a6e7eb8942 Rename source file name match with class name 2022-04-27 18:24:33 +08:00
Turky Mohammed bdd69e9d7f [Fix] Camera masking bug deep child nesting (#623)
Co-authored-by: 涓€绾跨伒 <halx99@live.com>
2022-04-27 16:23:57 +08:00
halx99 6939196d5c Match compression test images PMA with engine settings 2022-04-26 16:38:59 +08:00
halx99 da1b16432e Remove duplicated include 2022-04-26 16:33:04 +08:00
涓€绾跨伒 bd79e4965e Merge: bc16bb1cd3 d71c620fc1
Merge pull request #622 from shatyuka/dev

Compatible with Ninja
2022-04-26 16:20:11 +08:00
Shatyuka d9d6509c2b Compatible with Ninja 2022-04-26 15:16:02 +08:00
halx99 83b8828e8d Fix missing include 2022-04-26 12:51:01 +08:00
halx99 5412c14e58 Remove duplicated macros 2022-04-25 21:39:49 +08:00
halx99 cc5509f23a Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 57eefa9d12 Add ktxv1.1 file format for etc2/etc1 support 2022-04-25 19:11:58 +08:00
halx99 5c695d12bf Alloc astc block_size_descriptor same with original repo 2022-04-25 10:28:34 +08:00
Turky Mohammed a1ebd965c9 [Fix] Node Camera Masking Design Flaw (#621)
* Update CCNode.cpp

* Add a separate method for assigning mask to children

* Update CCNode.cpp

* Tidy Up Stuff
2022-04-25 09:37:41 +08:00
涓€绾跨伒 821be105dc MSVC compiler bug? 2022-04-24 22:25:27 +08:00
halx99 96e789f5c8 Reindent code [skip ci] 2022-04-24 21:44:41 +08:00
halx99 21254dcfe0 Try fix windows ci 2022-04-24 21:23:28 +08:00
halx99 cc48a75983 Update astcenc to v3.6 2022-04-24 19:15:08 +08:00
Turky Mohammed 11a3b711c5 Remove annoying logs when adding multiple components to a single node (#619) 2022-04-24 10:51:37 +08:00
halx99 4bd1163242 Delete DEPRECATED code 2022-04-23 17:49:42 +08:00
halx99 f4d493651c All compressed image should do PMA at texture convert tools or GPU fragment shader
such as astcenc-2.3+(https://github.com/ARM-software/astc-encoder/releases) with -pp-premultiply
2022-04-23 17:45:07 +08:00
halx99 19b979473c Delete unused code 2022-04-05 13:58:55 +08:00
halx99 1b0d6d0873 Improve use prebuilt engine libs for windows
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
2022-04-02 13:50:53 +08:00
halx99 73430a4835 Fix #609 2022-03-24 11:03:17 +08:00
deal fc03414f37 Update CCBundle3D.h 2022-03-18 22:20:31 +08:00
halx99 a576a42002 Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
halx99 f7b4536bae Fix #602 c++20 compile errors 2022-03-17 09:37:56 +08:00
halx99 43765519aa Improve shader compatible 2022-03-13 13:07:58 +08:00
halx99 8caed810e0 Fix leak 2022-03-13 12:05:22 +08:00
halx99 d88768e865 Fix #597 2022-02-25 15:04:52 +08:00
halx99 13d90b76ee Enable video player test case for windows 2022-02-24 18:30:58 +08:00
halx99 ae2fc24f78 Move video player implementation to a unique folder 2022-02-24 18:13:01 +08:00
deal 9afd478ea9 Add windows video play support [render video sample to texture2d] (#577)
* [Draft] Implement windows video player

Based on microsoft media foundation

* Delete pvd

* Shutdown MF media before release player

* Consider MFMediaPlayer ref leak

* Use Microsoft::WRL::ComPtr

* Simplify code

* Improve code and take care COM object refs

* Update UIVideoPlayer-win.cpp

* Delete unused code

* Add play from url support

* Update logic

* Rename ADXE_ENABLE_MFMEDIA to AX_ENABLE_MFMEDIA

* Rescale video render sprite to view node

* Fix warnings

* Don't shallow copy the video context, it's very dangerous

* Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1

* Fixup

* [Window video player] play event dispatch

* support switch video file

* Update UIVideoPlayer-win.cpp

* [windows-video-player] keep aspect ratio and full screen support

* Improve code

* Update changelog [skip ci]

* Update README.md

* Update README.md

* Update README.md

* Update README_CN.md

* Update README_CN.md
2022-02-24 17:57:08 +08:00
deal 1028488de2 Fixup 2022-02-23 18:56:26 +08:00
halx99 ba56042bd5 Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1 2022-02-23 18:39:02 +08:00
halx99 183b8f10c1 Don't shallow copy the video context, it's very dangerous 2022-02-23 17:38:21 +08:00
halx99 f7d3d37ae5 [cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA 2022-02-17 21:31:39 +08:00
halx99 7ce188ebda Finish #578 2022-02-17 17:11:17 +08:00
halx99 d8ee872fe9 Fix #587
Note: New OS feature 'Beta: Use Unicode UTF-8 for worldwide language support' since win10/win11
- OFF: GetACP() equal to current system locale, such as chinese simplified is 936, english is 437
- ON: GetACP() always equal to 65001(UTF-8)

Remark:
The macro CP_ACP for ntcvt::from_chars works for converting chraset from current code page(936,437,65001) to utf-16
2022-02-16 11:56:33 +08:00
deal 885d99751b Merge: e7d683958b f0c91e38c1
Merge pull request #588 from DelinWorks/feature-proposals

Expose detach IME function for custom behaviors in UITextField
2022-02-16 06:54:38 +08:00
Delin 3799344fa3 Update README.md
Update README.md to version v1.0.0-beta6 badge
2022-02-15 17:42:19 +03:00
DelinWorks c350e5a628 Update UITextField.h 2022-02-15 17:19:26 +03:00
DelinWorks b19133e96d feature-expose-detach-function 2022-02-15 17:17:45 +03:00
deal 768d716caf Update adxe.cpp 2022-02-08 23:22:14 +08:00
halx99 d07c36f60f Fix #580 2022-02-08 12:41:18 +08:00
halx99 df441ca0c9 Fix ci 2022-02-06 13:18:27 +08:00
halx99 bc1d0223c0 Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
halx99 6131b237b2 [Android][freetype] Change streamingParsingEnabled to true
Add noCompress config to build.gradle for all templates & tests project

Exists project, please add follow config

android {

// Other configs
// ...

// noCompress config
aaptOptions {
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
}

}
2022-01-29 14:54:32 +08:00
deal 9f86eef0db Update adxetools.gradle 2022-01-28 19:59:27 +08:00
deal a285c80f89 Update adxetools.gradle 2022-01-28 19:51:42 +08:00
deal 8682491014 Update adxetools.gradle 2022-01-28 19:31:42 +08:00
halx99 231ba0cf5c Improve gradle script to find cmake 2022-01-28 18:25:50 +08:00
halx99 9623414a2f Downloader: download file with cacert support 2022-01-20 19:15:37 +08:00
halx99 0652d1a2d4 Fix log order when create download task fail 2022-01-20 19:00:52 +08:00
deal 73e056f720 Update adxetools.gradle 2022-01-17 10:57:48 +08:00
deal 68215b792e Why FMT_HEADER_ONLY doesn't works on android 2022-01-08 16:15:56 +08:00
halx99 beb8606e16 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 12b4023db2 Fix ci 2022-01-04 11:48:28 +08:00
halx99 30f9bbf307 Update uthash to 2.3.0 and move to thirdparty 2022-01-04 11:18:44 +08:00
halx99 64a6c1b105 Improve linkage 2022-01-04 11:00:07 +08:00
deal 15cc403967 Remove dup sources 2022-01-04 09:42:10 +08:00
halx99 cd98e6c880 Fix #570
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00
Delin 55aa56584a Update CCLabelTextFormatter.cpp 2022-01-03 08:57:40 +03:00
Delin 82a354d803 Update CCLabel.cpp 2022-01-03 08:56:25 +03:00
Delin 110e0578c4 Update CCLabel.h 2022-01-03 08:55:52 +03:00
Delin 717f5d9397 Update CCLabel.cpp 2022-01-03 08:39:18 +03:00
Delin ebd93353bb Update CCLabel.cpp 2022-01-03 08:33:00 +03:00
Delin 8806136b52 Update CCLabel.cpp 2022-01-03 08:20:34 +03:00
halx99 4920faf8f3 Add missing files 2022-01-03 11:42:07 +08:00
halx99 74271f207b Tidy audio folder 2022-01-03 11:34:58 +08:00
halx99 e8ef4eb750 Fix TTFconfig construct with nullable customGlyphCollection 2022-01-01 21:21:34 +08:00
halx99 71c997d1ae Fix isAbsolutePathInternal for string_view 2021-12-31 15:50:34 +08:00
halx99 def5f9e2bc Rename core folder name 2021-12-31 14:39:08 +08:00