Commit Graph

68 Commits

Author SHA1 Message Date
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