Commit Graph

467 Commits

Author SHA1 Message Date
一线灵|Deal 32367c8026
Remove unused 2023-01-01 18:01:01 +08:00
Turky Mohammed eb5ec6047c
[IMPROVEMENT] Remove camera unnecessary perspective option. (#993)
* Fix camera applyZoom when window size changes

* Revert "Fix camera applyZoom when window size changes"

This reverts commit 26154b5ff7.

* Fix pr

* remove camera perspective option

* fix merge conflict

* Update CCCamera.cpp

* Update CCCamera.h
2022-12-29 16:54:26 +08:00
Turky Mohammed d2a3b9a375
[BUG] Fix camera `applyZoom()` when window size changes and remove unnecessary projection code (#992)
* Fix camera applyZoom when window size changes

* Revert "Fix camera applyZoom when window size changes"

This reverts commit 26154b5ff7.

* Fix pr
2022-12-29 16:54:01 +08:00
pietpukkel 24c3afa524
Fix for UIEditBox password on Mac/iOS (Montery+/15+). (#995)
Fix for UIEditBox password on Mac/iOS (Montery+/15+).
2022-12-27 14:26:09 +08:00
halx99 2e4324c363 Fix charset process in glfwCharCallback 2022-12-18 11:52:57 +08:00
CHP d79156d728
Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
halx99 0a4bf2b3fa Move SIMD detection to AXConfigDefine.cmake 2022-12-17 11:56:48 +08:00
一线灵|Deal 5fe200ca0a
Fix #983 2022-12-12 19:41:07 +08:00
RH be224656fc
Move getWorldPosition() from Widget to Node class (#978)
* Committing genbindings changes

* Move getWorldPosition() method to Node class to allow world position to be retrieved for any node.
2022-12-07 09:24:46 +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 8b70aea233 Improve MFMediaPlayer state control 2022-11-14 11:35:38 +08:00
一线灵|Deal 618e851de5
Update axutils.gradle 2022-11-10 23:25:45 +08:00
halx99 0651f77a3c Improve gradle scripts
Add cmake options from gradle command line properties support
2022-11-10 22:53:54 +08:00
halx99 fbb40dd47f Fix ci 2022-11-10 22:03:40 +08:00
halx99 19e2a77bb4 Fix #958 2022-11-10 21:22:55 +08:00
halx99 60dbcd7bfd Improve ftruncate 2022-11-10 13:45:51 +08:00
一线灵|Deal d8a9a1534b
Fix http post with uri params 2022-11-08 13:15:00 +08:00
halx99 07f6b8e23f Improve memory use 2022-11-03 18:01:10 +08:00
RH 4022b1ff2b
Force recalculation of normalized position when assigning new parent to node (#952)
* Committing genbindings changes

* Ensure normalized position is re-calculated if parent node changes
2022-11-03 15:49:34 +08:00
RH b0c51f590d
Add support for centered horizontal layout (#946)
* Committing genbindings changes

* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
halx99 6083ec053e Remove unnecessary platform macro define in cmake 2022-11-01 19:00:48 +08:00
halx99 a56b28fbc1 Improve platform macro detection 2022-11-01 18:31:31 +08:00
halx99 e84982f86d Fix ci 2022-11-01 16:02:13 +08:00
一线灵|Deal 1bb6439d5f
Update CCRenderer.h 2022-11-01 09:27:50 +08:00
一线灵|Deal 732a11f74c
Update CCFileUtils-apple.mm 2022-10-31 08:12:06 +08:00
一线灵|Deal b23c3ca38b
Fix ci [skip ci] 2022-10-31 08:09:55 +08:00
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
一线灵|Deal b8bbaa8101
Improve code style 2022-10-30 16:58:48 +08:00
halx99 03d8945362 Fix ci warnings 2022-10-27 13:01:18 +08:00
halx99 576a1a6940 Improve ax::Vector compiler compatible, also fix #933 2022-10-26 23:17:48 +08:00
halx99 c77e9b9e0f Update glad to v2.0.0 2022-10-25 09:01:57 +08:00
halx99 0dda4a2776 Remove unnecessary code 2022-10-24 22:42:34 +08:00
halx99 69363b9e33 Add ETC2 support in pvr3ccz format 2022-10-24 19:06:49 +08:00
halx99 d2da0d6078 Validate shared VertexLayout from Shader Program 2022-10-20 20:22:28 +08:00
halx99 cebba41a1e Validate shared VertexLayout from Shader Program 2022-10-20 20:19:56 +08:00
halx99 4228b658af Fix memory leak 2022-10-20 20:18:32 +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
一线灵|Deal f1d31a15b6
Update Device.h 2022-10-12 20:37:56 +08:00
halx99 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
halx99 046eef5cf0 Fix #873 2022-10-12 12:39:27 +08:00
aismann c206a1456f
/* axmol thread id */ (#924) 2022-10-12 07:04:36 +08:00
CHP 825cfd05bb
Update CMakeLists.txt (#922)
* Update CMakeLists.txt

* Update CMakeLists.txt
2022-10-12 07:04:01 +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
CHP 01e3b209fb
Fix noisy message "Unable to resolve full path of PCH-header" (#918)
* Update CMakeLists.txt

fix noisy message "Unable to resolve full path of PCH-header"

* Update CMakeLists.txt

* Update CMakeLists.txt
2022-10-11 08:54:02 +08:00
CHP 58c311f63d
precompile_headers all platforms (#901) 2022-10-10 03:52:04 +08:00