Commit Graph

40670 Commits

Author SHA1 Message Date
Deal(一线灵) 74f4832120
Update freetype for linux setup 2023-04-02 17:16:10 +08:00
Deal(一线灵) 7a24a89ca8
Building with ninja + official llvm-clang-cl support (#1159)
* Building with ninja + official llvm-clang-cl support

* Update gh ci for clang

* Fix ci

* Fix ci

* Fix ci

* FIx dll copy [skip ci]

* Fix ci warnings

* Update ci files and readme

* Update badges
2023-04-02 16:04:19 +08:00
halx99 caaacf4dfa Fix UWP mouse scroll delta process 2023-04-02 14:31:51 +08:00
halx99 ed3fee976a Add missing test resources [skip ci] 2023-04-02 12:53:23 +08:00
halx99 efa1a8d286 Fix UWP build 2023-04-02 12:29:39 +08:00
halx99 9059016d2f Update .gitignore[skip ci] 2023-04-02 11:58:00 +08:00
halx99 0ec39ff62f Update freetype to v2.13.0 2023-04-02 11:57:20 +08:00
halx99 cfecec34af Committing genbindings changes 2023-04-02 01:37:22 +00:00
halx99 ee14c17cbb Fix lua binding 2023-04-02 09:29:12 +08:00
halx99 1560049f03 Fix #1157 2023-04-02 09:27:56 +08:00
Deal(一线灵) de7fdee6e4
Enable video player(VideoTexture) based on new MediaEngine for macOS and tvos (#1154)
* Ready for PR macOS

* Update videoTexture.frag

* Fix compile

* Fix h265 for mac [skip ci]

* Fix compile error

* Update readme [skip ci]
2023-04-02 01:51:36 +08:00
Deal(一线灵) 54c6087bb4
Fix #1156 2023-04-02 01:41:00 +08:00
halx99 fa1c9b8322 Fix #1155 2023-04-02 00:26:03 +08:00
Deal(一线灵) b48eb3d29f
Support clang-cl + ninja, refer to #1152 (#1153) 2023-04-01 23:11:58 +08:00
Deal(一线灵) f294c6bdf6
Update .gitignore 2023-04-01 22:34:00 +08:00
bwaiox 8026e9fd70
Fix lua warnning (#1151)
* Update CMakeLists.txt

fix tmpnam warnning in loslib.c

* Update utils.py

fix error "File "/axmol/tools/console/bin/axmol.py", line 1091, in <module>" when command "axmol new " was used
2023-04-01 17:31:13 +08:00
halx99 9c10ea53bb Update readme files 2023-04-01 16:14:05 +08:00
halx99 d55ceacb66 Update readme 2023-04-01 16:07:55 +08:00
RH 6ad2152333
Ensure that the axmol engine git folder is the one used for versioning (#1149)
* Committing genbindings changes

* Fix compilation error related to redefinition of 'pause'
Fix update override warning
Improve code

* Revert "Fix compilation error related to redefinition of 'pause'"

This reverts commit 1744a48fec.

* Ensure that the engine .git folder is the one being referenced for versioning
2023-03-31 08:04:38 +08:00
halx99 ee2de093a7 Done #1139 2023-03-30 22:08:53 +08:00
aismann 973239f8a0
Fix: error C2360: initialization of 't' is skipped by 'case' label (#1146)
* Fix: error C2360: initialization of 't' is skipped by 'case' label

case ExampleGameState::update:
        /////////////////////////////
        // Add your codes below...like....
        //
        // UpdateJoyStick();
        // UpdatePlayer();
        // UpdatePhysics();
        // ...
        int t = 10;
        break;

* Update HelloWorldScene.cpp

* Update HelloWorldScene.cpp
2023-03-30 21:41:44 +08:00
halx99 872693b5e0 Improve cmake script 2023-03-30 00:19:24 +08:00
halx99 facba25f12 Fix #855 2023-03-29 23:36:54 +08:00
halx99 abf3405066 For clang-format happy 2023-03-28 00:07:33 +08:00
aismann 65875a977e
Clipper2 1.2.2 (#1138) 2023-03-27 21:46:14 +08:00
halx99 a847fdab9a Add FileStream::getNativeHandle() 2023-03-26 22:42:13 +08:00
halx99 9a4d173030 Fix ci 2023-03-25 16:08:48 +08:00
halx99 7bca1b19a2 Update readme & ci files 2023-03-25 11:18:21 +08:00
halx99 57afc51241 Update ci: setup-python step 2023-03-25 11:14:51 +08:00
Deal(一线灵) 3d23eea8d0
Media engine video texture (#1133)
* VideoPlayer based on new MediaEngine[Win32/UWP]

* Improve MediaEngine interface

* Update readme

* Improve pixel format

* Improve MediaEngine interface

* Ready for PR UWP/Win32

* Ready for PR UWP,Win32

* Update reademe files

* Update readme files

* Update UIVideoPlayer-android.cpp [skip ci]

* Update UIVideoPlayer-ios.mm

* Update MFUtils.cpp

* Fix ci
2023-03-25 08:37:51 +08:00
Turky Mohammed ff8a16350f
[IMPROVEMENT] Fix tilemap camera move and zoom culling (#1134)
* Fix tilemap culling

* Update CCFastTMXLayer.cpp

* Update CCFastTMXLayer.h
2023-03-25 08:33:39 +08:00
Turky Mohammed ed3bb5eaf8
[BUG] Fix TMX Tiled Map `CSV`, `BASE64`, & `ZLIB` incorrect parsing (#1131)
* Fix TMX Tiled Map `CSV`, `BASE64`, & `ZLIB` incorrect parsing

* Revert "Fix TMX Tiled Map `CSV`, `BASE64`, & `ZLIB` incorrect parsing"

This reverts commit 3088123a20.

* Use `std::regex_replace` instead

* Avoid copying strings

* Update CCTMXXMLParser.cpp
2023-03-25 08:33:13 +08:00
axmol-bot fa148791c7
Update thirdparty prebuilts to v49 (#1130)
* Update thirdparty prebuilts to v49

* Fix version [skip ci]

---------

Co-authored-by: axmol-bot <axmol-bot@users.noreply.github.com>
2023-03-22 19:04:28 +08:00
RH 3eae9cf0f6
Fix return reference to local temporary value (#1127)
* Fix invalid return type for temporary variable
2023-03-21 21:22:02 +08:00
Deal(一线灵) 4f8b5a25a9
Update update-prebuilts.ps1 2023-03-21 21:21:02 +08:00
Sam 8a4494606a
Improve Android performance (#1125)
* Improve Android performance

* Remove unused memset

* Using the same code as Metal.

* Add a comment
2023-03-21 19:43:37 +08:00
halx99 cd76849c4d Update ios splash images [skip ci] 2023-03-21 19:40:55 +08:00
axmol-bot aeaf787722
Update thirdparty prebuilts to v47 (#1124)
Co-authored-by: axmol-bot <axmol-bot@users.noreply.github.com>
2023-03-18 08:34:23 +08:00
halx99 5d23fea656 Improve thirdparty updating robot 2023-03-18 00:25:35 +08:00
Sam 874299e114
Add ClippingNode Performance Test (#1122)
* Impore Metal Renderer Dirty Detection.

Remove setTargetFlags _dirty

* Add Clipping Node Performance Test

* Fix Win UWP compile error
2023-03-16 08:07:53 +08:00
Yehsam23 5c7d6b07e9
Impore Metal Renderer Dirty Detection. (#1120)
Remove setTargetFlags _dirty
2023-03-15 11:09:20 +08:00
aismann 487e7bbe76
improve cpp template (add more event handler) (#1118)
* improve cpp template (add more event handler)

* fix C-style pointer casting
2023-03-14 15:25:12 +08:00
halx99 80a5191af2 Remove UWP from PC family 2023-03-14 12:08:31 +08:00
halx99 1671ac462c [UWP] Add cmake option: AX_VS_DEPLOYMENT_TARGET
a. It's useful to specify UWP apps deploy target version, vs property is
TargetPlatformMinVersion
b. Use `CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION` possible
supported by cmake-3.27.0 or later
2023-03-14 08:24:27 +08:00
halx99 d46ff3a79f Committing genbindings changes 2023-03-14 00:03:28 +00:00
aismann 7f1d61185f
add axmol_ext.h (#1117) 2023-03-14 07:56:07 +08:00
Joilnen 4608ecf8de
fixing some warning messages of code not conform C++20 yet (#1113)
* fixing some warning messages of code not conform C++20 yet

* trying to compile in C+17 because UWP
2023-03-13 21:35:42 +08:00
RH 09d86de9e7
Fix for incorrect tile sprite setup on creation (#1114)
* On tile sprite creation, apply required settings based on tile flags
2023-03-13 08:55:26 +08:00
halx99 5e16c43245 Fix osx-ci.yml
Don't set cmake version which may not present on target action vm
2023-03-12 19:26:36 +08:00
halx99 2709b459f6 Set default UWP min deploy target to 10.0.19041.0 2023-03-12 19:00:35 +08:00