Commit Graph

40855 Commits

Author SHA1 Message Date
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
halx99 1a537a7a98 [UWP] set VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION for all targets 2023-03-12 17:57:54 +08:00
RH 252308dce0
TiledMap sprite position fix (#1112)
* Correctly store flags and gid with sprite created for tile
Use correct coordinates when displaying sprite for a tile

* Fix up typo and long test titles
2023-03-12 16:15:11 +08:00
RH 2b3ce68d8b
Set default project in Visual Studio for UWP (#1111) 2023-03-12 12:34:51 +08:00
halx99 d99442a91d Improve winuwp-ci 2023-03-12 02:42:32 +08:00
halx99 7226125e7e Update project url in sources 2023-03-12 01:44:55 +08:00
halx99 c60b1e1d47 Update build status badges 2023-03-11 23:34:10 +08:00
halx99 51660009ba Update ghc filesystem to v1.5.14 2023-03-11 23:22:57 +08:00
halx99 da0085276a [UWP] Add API GLViewImpl::createFullScreen
- Fix for luabindings
2023-03-11 23:19:52 +08:00
halx99 418bef4bae Fix ci 2023-03-11 23:14:04 +08:00
halx99 2a86953e67 Update readme files 2023-03-11 23:08:08 +08:00
halx99 9255fc7ac5 Committing genbindings changes 2023-03-11 15:01:39 +00:00
halx99 1e66a93868 Improve API GLViewImpl::createWithRect 2023-03-11 22:53:55 +08:00
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
RH 95341a5c1f
Update readme to fix new project command template (#1107)
* Indicate how to get more information regarding axmol new command
2023-03-10 22:11:17 +08:00
halx99 2d8d754cd9 Remove range-v3 which is not compatible UWP c++17 2023-03-10 13:20:45 +08:00