Commit Graph

105 Commits

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