Commit Graph

125 Commits

Author SHA1 Message Date
halx99 fad9afbc9a Update thirdparty libs
fmt: 9.0.0 --> 9.1.0
    llhttp: 6.0.7 --> 6.0.9
    astc-encoder: 4.0.0 --> 4.1.0
    webp: 1.2.2 --> 1.2.4
    flatbuffers: 2.0.0 --> 2.0.8
2022-09-15 20:15:28 +08:00
Paulo Coutinho 8c359917f7
Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
aismann baceccbb2f #825 2022-09-01 13:51:19 +02:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
halx99 264d6f28d1 Improve code style 2022-08-16 17:15:56 +08:00
halx99 d8c9a8826a Avoid unnecessary double lookup 2022-08-16 17:14:06 +08:00
halx99 46bee8284f Fix ci 2022-08-11 22:05:23 +08:00
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 10530b1a19
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core (#781)
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\

D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762

* Replace push_back() vs emplace_back() on axis\core\ #781

* Update CCConsole.cpp

* Update UIWebViewImpl-android.cpp

* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
unknown 797a41b469 Missed edge case when resizing the memorymapped file in UserDefault that could cause a crash 2022-08-02 16:13:12 +05:30
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
halx99 f3ac6ea871 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
Turky Mohammed 8517d0ee7f
Replace everything under `core` (#735)
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
aismann b28e6d5aa6 Rename internal variable '_displayStats' to '_statsDisplay'
fix #709
2022-07-06 06:58:24 +02:00
halx99 701c1aa6ff Merge branch 'improve-3d-renderer' of https://github.com/DelinWorks/adxe into dev 2022-07-05 15:42:38 +08:00
Turky Mohammed fb4e263b8b
[IMPROVMENT] Change class name `Sprite3D` to `MeshRenderer` (#705)
* First draft [skip ci]

* Improve comments [skip ci]

* Rename MeshRendererMaterial to MeshMaterial [skip ci]

* Update dependent classes.

* Replace occurrences of Sprite3D with MeshRenderer.

* Update cpp-tests and extensions.

* Fix compilation.

* Try fixing lua-bindings

* Try fixing lua-bindings

* Update lua_cocos2dx_3d_manual.cpp [skip ci]

* Create RENAMED_TYPES.md
2022-07-05 14:48:46 +08:00
DelinWorks 1ed03a41ad Separate renderer enums to their own file. 2022-07-04 19:52:17 +03:00
DelinWorks da39a66e99 Improve function naming. 2022-07-04 17:45:23 +03:00
DelinWorks af4c3b0948 Revert "Update CCDirector.h"
This reverts commit 11200dfac0.
2022-07-04 05:12:54 +03:00
DelinWorks 11200dfac0 Update CCDirector.h 2022-07-04 04:58:13 +03:00
DelinWorks bdffd39784 Fix platforms compilation. 2022-07-03 21:01:21 +03:00
DelinWorks f7b50fe836 Use enum class instead. 2022-07-03 20:55:40 +03:00
DelinWorks 9009228ef4 [skip ci] 2022-07-03 20:50:02 +03:00
DelinWorks 166ebd2ce6 Move global enums to their own file. 2022-07-03 20:43:55 +03:00
aismann b3726421b2 use engine global namespace 2022-07-03 07:26:37 +02:00
halx99 62e2be281b Move enum FPSPosition to engine global namespace 2022-07-03 11:24:00 +08:00
aismann d94137be54 Remove unused variable and cleanup on windowtest.cpp 2022-07-02 11:29:26 +02:00
aismann 6c702daa3b Cleanup, last fixes, rename enum FPSPosition 2022-07-02 08:17:24 +02:00
aismann 8f5cc3ff2c fix typo 2022-07-02 06:19:47 +02:00
aismann 88fe2d7666 add 'no change' check. 2022-07-02 06:02:22 +02:00
aismann 97d7b793f7 FPS display set position should be set by API #695 2022-07-01 17:15:20 +02:00
DelinWorks 4997f613de Fix overriding position when applying custom properties. [skip ci] 2022-07-01 05:58:42 +03:00
DelinWorks 8d3c2b0cdb Use CCASSERT instead. 2022-07-01 05:54:20 +03:00
DelinWorks b4bac6d651 Fix get default camera nullptr on scene initialization. 2022-07-01 03:34:37 +03:00
一线灵 9bdc6232ac
Update CCDirector.cpp 2022-06-30 21:06:39 +08:00
一线灵 bfe12be7b6
Revert "Unify frame rate control logical to director mainLoop" 2022-06-30 21:04:00 +08:00
halx99 752d3150eb Improve code style 2022-06-30 12:05:28 +08:00
halx99 3f00332d3d Improve frame rate control 2022-06-29 17:26:22 +08:00
一线灵 884a4c3b1d
Delete unused comment [skip ci] 2022-06-28 17:14:35 +08:00
halx99 498747aeea Improve frame rate control precision 2022-06-28 16:33:50 +08:00
halx99 e2a9a5204d Unify fps control logical to director mainLoop 2022-06-28 12:39:05 +08:00
halx99 1889180a75 Improve renderer 2022-06-24 14:18:48 +08:00
一线灵 dc8650d7f6
Merge pull request #639 from DelinWorks/partical-system-animation
[PROPOSAL] Add Particle System Animations And Improvements
2022-06-16 21:18:57 +08:00
DelinWorks 2e3c84252d Add fourccId support. 2022-06-16 15:25:43 +03:00
halx99 864c73154c Improve code style 2022-06-13 12:46:40 +08:00
halx99 a4372fe9be Change android log debug info tag 2022-06-11 09:12:40 +08:00
halx99 384fa1056f Remove unused [skip ci] 2022-06-10 17:34:46 +08:00
halx99 4413728f6d Fix Value large integer storage 2022-06-08 16:38:42 +08:00
Turky Mohammed 6943fb9dce
Fix typo in HSV/HSL classes. (#647)
Co-authored-by: 一线灵 <halx99@live.com>
2022-05-26 19:25:30 +08:00
Turky Mohammed c6bca8ef86
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
halx99 21fe8df12b 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 30a164c31a 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 bf2cc6205b 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 4db3ba63b7 Match compression test images PMA with engine settings 2022-04-26 16:38:59 +08:00
halx99 ef56d0d335 Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 014e4f20e0 Add ktxv1.1 file format for etc2/etc1 support 2022-04-25 19:11:58 +08:00
halx99 0744ee4f74 Alloc astc block_size_descriptor same with original repo 2022-04-25 10:28:34 +08:00
一线灵 1f76edf752
MSVC compiler bug? 2022-04-24 22:25:27 +08:00
halx99 5e97f88f26 Update astcenc to v3.6 2022-04-24 19:15:08 +08:00
Turky Mohammed eb66048144
Remove annoying logs when adding multiple components to a single node (#619) 2022-04-24 10:51:37 +08:00
halx99 024253df0a Delete DEPRECATED code 2022-04-23 17:49:42 +08:00
halx99 7d7a1f3f2c 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 36fa5ad84e Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
halx99 2baa40248f Fix #597 2022-02-25 15:04:52 +08:00
deal 612a8db9a7
Why FMT_HEADER_ONLY doesn't works on android 2022-01-08 16:15:56 +08:00
halx99 2a6e749ad4 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 a466abfda8 Fix ci 2022-01-04 11:48:28 +08:00
halx99 a6a38679c1 Update uthash to 2.3.0 and move to thirdparty 2022-01-04 11:18:44 +08:00
halx99 e86fdf8a67 Improve linkage 2022-01-04 11:00:07 +08:00
halx99 a651879ee6 Tidy audio folder 2022-01-03 11:34:58 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00