Commit Graph

104 Commits

Author SHA1 Message Date
Deal(一线灵) b46417809d
Windows Store UWP apps support (#1108)
* [BIG FEATURE] Windows Store UWP apps support

* Fix ci, add uwp for pr-ci

* Fix ci

* Improve ci script

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Upload uwp appx package artifacts [skip ci]

* Use d2d draw system font text

* Fix ci

* Improve code style
2023-03-11 22:10:18 +08:00
halx99 2d8d754cd9 Remove range-v3 which is not compatible UWP c++17 2023-03-10 13:20:45 +08:00
halx99 6e5723b590 Fix compile errors in c++17 2023-03-08 08:34:17 +08:00
halx99 ba61e83191 Improve UserDefault code style 2023-02-23 21:59:27 +08:00
halx99 49284f4cc2 Working on c++23
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
halx99 9f94bd461e Fix #1032 2023-01-17 10:06:09 +08:00
halx99 9eb65309b9 Don't use deprecated function 2023-01-11 23:28:22 +08:00
halx99 5bd36bfa7c Update yasio to latest 2023-01-04 23:20:07 +08:00
halx99 2c8f7aa84e Preferred use ax::print for engine log output 2023-01-04 22:52:40 +08:00
halx99 2b07737a91 Fix feature check for MSVC 2023-01-03 18:01:40 +08:00
halx99 e30d3c159c Fix ci 2023-01-01 18:41:48 +08:00
halx99 38cfc6aaa2 Renaming performFunctionInCocosThread to runOnAxmolThread 2023-01-01 18:08:25 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
halx99 0a4bf2b3fa Move SIMD detection to AXConfigDefine.cmake 2022-12-17 11:56:48 +08:00
RH 7dba255a1d
Add a pool for GroupCommand rendering commands (#969)
* Committing genbindings changes

* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios

* Ensure captureNode works as expected.

* Set member variables to default values when init method is called on the GroupCommand

* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
Vincent Lee 8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
joilnen 79ee13376f fixing some warnings compilation in linux gcc 12.2.0 2022-11-14 15:46:27 -03:00
Vincent Lee 0508dca83f
Replace use of deprecated sprintf with snprintf 2022-11-14 16:02:16 +09:00
halx99 60dbcd7bfd Improve ftruncate 2022-11-10 13:45:51 +08:00
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 576a1a6940 Improve ax::Vector compiler compatible, also fix #933 2022-10-26 23:17:48 +08:00
halx99 06079a5369 Migrate 2022-10-18 19:17:36 +08:00
halx99 9c7c80aafa Migrate [skip ci] 2022-10-18 19:13:40 +08:00
一线灵|Deal 39b57ae939
Improve code quality (stage1.Oct) (#916)
* Improve code quality

* Add env PULL_REQUEST [skip ci]

* Update build.ps1

* Fix ci [skip ci]

* Update ZipUtils.cpp

* Update build.ps1

* Resolve reviews

* Improve

* Improve code style

* Resolve reviews

* Use pod_vector

* Improve resize growth

* Update CCAnimation3D.cpp

* Update axstd.h [skip ci]
2022-10-13 21:44:42 +08:00
halx99 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
aismann c206a1456f
/* axmol thread id */ (#924) 2022-10-12 07:04:36 +08:00
aismann a5810457f1
rename cocos2d to axmol (#920)
* rename cocos2d to axmol

* rename cocos2d.h to axmol.h

* Update Physics3DTest.cpp

replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
halx99 72e6061557 Fix #861 2022-09-23 22:41:30 +08:00
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