Commit Graph

310 Commits

Author SHA1 Message Date
halx99 2e0ae58377 Add update thirdparty prebuilt script [skip ci] 2022-10-22 07:49:36 -07:00
涓€绾跨伒|Deal 25d93bd509 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 567069236b Luabinding: Add std:🧵:id support 2022-10-12 14:22:45 +08:00
涓€绾跨伒|Deal 1a0a70326c Merge: 27206fdc79 92cd2ee005
Merge pull request #898 from crazyhappygame/patch-2

Delete setup_android.py
2022-10-06 08:56:49 +08:00
涓€绾跨伒|Deal f72f18ce64 Merge: 6220071b3b 97fc3b7bcf
Merge pull request #896 from crazyhappygame/patch-1

Enable C++20 by default
2022-10-06 08:50:39 +08:00
CHP e654e9b9a0 Update run-script.sh 2022-10-05 21:20:53 +02:00
CHP 06fc6140a7 Update before-install.sh 2022-10-05 21:19:47 +02:00
CHP 026e694b5f Delete setup_android.py
This file is not needed with latest android SDK
2022-10-05 21:18:06 +02:00
涓€绾跨伒|Deal 48a7da97d6 Final migrate (#876) 2022-10-01 16:24:52 +08:00
tkzcfc 5f8b96d607 export 'setAttachment' function to lua (#868)
* export: sp.SkeletonAnimation:findBone sp.SkeletonAnimation:getBoundingBox

* export 'setAttachment' function to lua

Co-authored-by: tkzcfc <tkzcfc@users.noreply.github.com>
2022-09-27 19:15:11 +08:00
halx99 32a6a2b1ac Fix ci [skip ci] 2022-09-26 23:15:59 +08:00
halx99 484feb99f3 Migrate lua bindings generator 2022-09-26 23:01:09 +08:00
Paulo Coutinho f5aeb5a8c2 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
涓€绾跨伒|Deal e37761260a Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
涓€绾跨伒 c6fc93abbc Update README.md 2022-08-18 09:13:09 +08:00
unknown 9a9025aede Add empty check 2022-08-16 15:12:45 +05:30
halx99 6d5e50ded9 Avoid unnecessary double lookup 2022-08-16 17:14:06 +08:00
unknown 9968a7ddcb Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
涓€绾跨伒 a5ee1f0a98 Feature 803 (#804)
* Improve libpng cmake script to allow osx-arm64 target

* Update run-script.sh

* Update osx-ci.yml

* Update pr-ci.yml

* Update android-ci.yml

* Update pr-ci.yml

* Update osx-ci.yml

* Update README.md

* Update README.md

* Update libs

* Use macos-12 for osx target

* Fix ci
2022-08-14 11:19:56 +08:00
halx99 be779ec61a Fi ci 2022-08-09 09:48:03 +08:00
涓€绾跨伒 b80c469383 Fix ci 2022-08-08 22:22:34 +08:00
涓€绾跨伒 9892aa3d1c Migrate axys (#782) 2022-08-08 18:02:17 +08:00
halx99 1009b29a06 Fix andorid ci 2022-08-06 22:10:56 +08:00
halx99 714d814288 Improve android setup tools
- Rename ANDROID_SDK to ANDROID_SDK_ROOT, refer to: https://developer.android.google.cn/studio/command-line/variables
- CMake: Use ndk in sdk_root/ndk/xxx/
2022-08-06 22:02:58 +08:00
halx99 827dd3351a Sync android sdk build-tools version for setup_android.py
Match with Android Gradle Plugin 7.2.0
2022-08-06 19:23:41 +08:00
halx99 c09871e6b2 Sync axis cmdline stat default value [skip ci] 2022-08-06 18:26:47 +08:00
涓€绾跨伒 17716d853b Fix android ci
Overwrite deprecated env to avoid use unexpected android sdk
2022-08-02 19:17:16 +08:00
halx99 ce2494ea35 Fix android ci 2022-08-02 18:49:19 +08:00
涓€绾跨伒 83d7e2e75e Update setup_android.py 2022-08-02 18:07:00 +08:00
tkzcfc 839097ed95 [Lua Binding] Support return type 'ResourceData' (#763) 2022-07-22 13:13:22 +08:00
halx99 2c6fde019b Migrate macro COCOS2D_DEBUG, refer #751 2022-07-19 15:34:26 +08:00
halx99 c16a33e347 Migrate more macors 2022-07-16 10:43:05 +08:00
涓€绾跨伒 ac1872494c Remove unnecessary check [skip ci]
refer to #748
2022-07-15 19:44:31 +08:00
halx99 41d2c44308 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
涓€绾跨伒 b7467da607 Migrate extension lua (#747) 2022-07-12 21:31:54 +08:00
涓€绾跨伒 bf77f46dce Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
涓€绾跨伒 9b4a7b1446 Merge: 04ca16125b 9ee4181976
Merge pull request #739 from axis-project/migrate-engine-test-extension-config

Migrate tests, extensions and configs
2022-07-10 09:47:41 +08:00
涓€绾跨伒 d4c4d395a5 Merge: 18076d09f0 2f8d5dd2f6
Merge pull request #738 from solan-solan/index_array_to_stl

IndexArray to stl
2022-07-10 09:47:27 +08:00
halx99 c2acb3a744 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
halx99 60bd088129 Update tool scripts and delete unused file 2022-07-08 17:56:04 +08:00
DelinWorks 90053545eb Fix project creation tools. 2022-07-08 07:22:29 +03:00
DelinWorks 3d47f2aa91 Finally fix .gitignore [skip ci] 2022-07-07 15:51:47 +03:00
DelinWorks 67c43b84ea Update .gitignore 2022-07-07 15:32:12 +03:00
DelinWorks 14593030d1 Update .gitignore 2022-07-07 15:31:33 +03:00
DelinWorks 977d1f01a0 Rename build toolchain. 2022-07-07 15:29:23 +03:00
涓€绾跨伒 e6ae7c44b3 Merge: 555f847c1f 6dd8b2c74a
Merge pull request #702 from DelinWorks/improve-engine-types

[PROPOSAL] Move global enums to their own file.
2022-07-05 00:39:20 +08:00
DelinWorks 96158090db Add stride functions and remove unneeded UNSPEC value. 2022-07-04 19:20:04 +03:00
DelinWorks 7e199cce21 Update lua_cocos2dx_auto.cpp 2022-07-04 18:34:50 +03:00
halx99 a31ba3caae Improve meshdata load
- Avoid GC alloc when store indices
- Fix indices iterator by IndexArray::for_each
2022-07-04 23:23:33 +08:00
DelinWorks 0d9f8d8d5d Fix compilation. 2022-07-04 17:55:41 +03:00
halx99 7f9511358f Fix warnings 2022-07-01 13:47:47 +08:00
Turky Mohammed 87e4fad96c Merge: a2bea19e1e 3ac444efa6
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-12 17:26:54 +03:00
DelinWorks 237a3ccbad Improve emission shapes workflow.
`ps->addEmissionShape(ParticleSystem::createConeShape({ -2000, 0 }, 400, 90, 50));` is the new workflow.
2022-06-11 18:06:43 +03:00
涓€绾跨伒 03c8056078 Merge: 5138d701d6 5c35eda3b9
Merge pull request #650 from adxeproject/ndk-r23c

Upgrade android toolsets to ndk-r23c LTS
2022-06-11 16:57:37 +08:00
halx99 89c075f679 Fix ci 2022-06-11 16:21:47 +08:00
halx99 9bf295d8e4 Upgrade android toolsets
- ndk to r23c
- gradle plugin to 7.2.0
- gradle wrapper to 7.4.2
- config ndk ver at adxetools.gradle
2022-06-11 16:16:47 +08:00
Turky Mohammed d0b551d26b Merge: 6e1d48835e 193ed82788
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 16:55:30 +03:00
DelinWorks 5239256b13 Improve particle RNG and add useful functions
Replaced M11 RNG with KISS RNG which is better and fixes a problem with particle strafing, added the ability to pause the entire particle system (useful for pause menus) and ability to control particle system time speed multiplier 馃挭馃ザ
2022-05-23 16:04:09 +03:00
halx99 6d48aa055c Fix github ci scripts 2022-05-23 17:11:10 +08:00
halx99 dffaf9b8d7 Enable video & webview lua-tests on windows 2022-05-18 12:52:05 +08:00
涓€绾跨伒 2623d53b98 Try fix windows ci 2022-04-24 20:08:48 +08:00
halx99 7f27ca033e Sync lua bindings 2022-02-24 18:53:14 +08:00
halx99 7ce188ebda Finish #578 2022-02-17 17:11:17 +08:00
deal 1a4fc33daf Enable ImGUIExt check for linux [skip ci] 2022-02-03 15:43:40 +08:00
deal 8dd0aef742 Update setup_android.py 2022-01-28 20:25:58 +08:00
deal b7b29dc315 Update script prompt [skip ci] 2022-01-28 20:18:46 +08:00
deal 7fa220daa2 Update setup_android.py 2022-01-28 20:17:28 +08:00
deal 115634a37e Delete jdk setup on script [skip ci] 2022-01-28 15:19:56 +08:00
deal bac28c62f5 [ci] Add openjdk17 to PATH 2022-01-28 15:04:23 +08:00
deal 33a7836d0d print jdk version [skip ci] 2022-01-28 15:01:42 +08:00
deal d5347ce7f5 [ci] Install openjdk17 for android build 2022-01-28 14:53:36 +08:00
deal c053848f57 Optimize setup_android.py and update cmdlinetools
Update cmdlinetools revision to 8092744
2022-01-28 11:52:02 +08:00
deal c424d7b8b0 Build fairygui-tests for android ci 2022-01-08 00:08:12 +08:00
halx99 5031f8f54c Sync console scripts 2022-01-03 19:06:51 +08:00
halx99 74271f207b Tidy audio folder 2022-01-03 11:34:58 +08:00
deal 1889bcc229 Update genbindings.ps1 2022-01-01 21:56:55 +08:00
halx99 8beea3967f Fix ci 2021-12-31 16:29:11 +08:00
halx99 f80ddd3505 Fix ci [skip ci] 2021-12-31 15:49:45 +08:00
halx99 def5f9e2bc Rename core folder name 2021-12-31 14:39:08 +08:00
deal f32280ff42 Merge: 687d15f16e 369de31853
Merge pull request #560 from adxeproject/ahead

Merge ahead to dev
2021-12-31 12:12:40 +08:00
halx99 64d7b55366 Update ci branch name 2021-12-31 11:00:35 +08:00
halx99 e726066595 Tidy tools 2021-12-30 21:24:22 +08:00
halx99 fb5c2926af Tidy ci scripts 2021-12-30 20:15:42 +08:00
deal bfb1c9199e Update before-install.sh 2021-12-30 20:09:25 +08:00
halx99 af52e6b6bb Tidy ci scripts 2021-12-30 19:40:30 +08:00
halx99 11c83ea1cf Optimize ci scripts [skip ci] 2021-12-30 17:47:01 +08:00
halx99 24a70b0fb0 Update lua bindings config files 2021-12-30 12:53:37 +08:00
deal a813aac10e Merge: 6639f55c0f bec2e07a00
Merge pull request #561 from adxeproject/dev

Merge Crash Fix #559 from dev
2021-12-28 21:27:32 +08:00
halx99 13927aa1bc Fix #559, match number type for get CURLINFO_RESPONSE_CODE
a. On linux x64, will crash with stack protector

Reported by @rh101

Signed-off-by: halx99 <halx99@live.com>
2021-12-28 21:00:45 +08:00
halx99 4ea331fb20 string_view for lua bindings 2021-12-28 15:46:32 +08:00
halx99 c9159c62fa Delete unused binding generator 2021-12-08 00:15:08 +08:00
halx99 a95f3bc32a Fix #528 2021-10-27 10:27:46 +08:00
halx99 2bd82c11bd Fix ci 2021-10-25 20:29:40 +08:00
halx99 7477b4f534 Fixup 2021-09-20 17:22:15 +08:00
halx99 75af319e25 Update before-install.sh 2021-09-20 17:06:01 +08:00
halx99 476bf5a480 Update before-install.sh 2021-09-20 16:47:44 +08:00
halx99 0cee74a4bf Fix part of #487 2021-09-02 11:43:27 +08:00
halx99 73c5f887b5 Merge: 30625f2330 f5af50debd
Merge pull request #475 from adxeproject/win64

Win64 build support [DONE] 馃殌馃帀
2021-08-27 12:34:24 +08:00
aismann 147b4b7946 Update README.md 2021-08-27 06:25:18 +02:00
halx99 824130acc4 Enable lua-tests build for ci 2021-08-27 11:42:43 +08:00
halx99 63cfa97024 Update build.ps1 2021-08-27 08:02:03 +08:00
halx99 008c2b9be4 Rename tools/windows-ci/windows-ci/windows-ci/build.ps1 to tools/windows-ci/build.ps1 2021-08-27 01:43:07 +08:00
halx99 34083069f3 Create build.ps1 2021-08-27 01:42:32 +08:00
halx99 de54082c76 Update lua bindings 2021-08-14 13:22:03 +08:00
halx99 fd9422d36d Update lua bindings 2021-08-13 20:36:10 +08:00
halx99 5ee960a0b3 Update run-script.sh 2021-07-09 10:35:57 +08:00
halx99 cbb1df02c4 Improve Lua RTTI performance [ci build] 2021-06-18 12:23:10 +08:00
halx99 9ed3be94c0 Fix for luabinding generator [ci build] 2021-06-18 11:31:07 +08:00
halx99 3a7d79733f Update readme guide and fixup [ci build] 2021-06-08 21:53:18 +08:00
halx99 20f31af61d Restore prebuilt libs from git lfs storage
You鈥檝e used 100% of your data plan for Git LFS on the organization adxeproject. Please purchase additional data packs to cover your bandwidth and storage usage:
https://github.com/organizations/adxeproject/billing/data/upgrade
Current usage as of 05 Jun 2021 06:46PM UTC:
Bandwidth: 1.01 GB / 1 GB (101%)
Storage: 0.16 GB / 1 GB (16%)
2021-06-06 10:16:44 +08:00
halx99 12a12a618d Use git lfs manage prebuilt libs 2021-06-05 19:26:40 +08:00
halx99 e1862c28b0 Update run-script.sh 2021-06-05 01:22:33 +08:00
halx99 bf60323b76 Python support for win32 adxe compile command 2021-05-27 17:23:03 +08:00
halx99 827d384eef Renaming refactor (#353) [ci build] 2021-05-18 16:40:30 +08:00
halx99 07a2d3f81f Add some comment 2021-05-15 11:54:17 +08:00
halx99 821492ad8d Fix linux ci 2021-05-15 01:00:20 +08:00
halx99 7aaeb8007d Fix ci [ci build] 2021-05-15 00:44:30 +08:00
halx99 4d7d323eb3 Fix ci [ci build] 2021-05-15 00:33:38 +08:00
halx99 4a12425a1b Fix android ci [ci build] 2021-05-15 00:12:41 +08:00
halx99 8e6faac1f1 Merge: 3348f10813 3a7bb58045
Merge pull request #350 from rh101/fix-cmake-set-property

Fix for CMake error when set_property is called with aliased target
2021-05-05 19:49:30 +08:00
rh101 c3618f8ea6 Extract real target from ALIAS if it exists in order to set property successfully
Remove duplicate entries in dependencies lists
2021-05-05 16:04:06 +10:00
halx99 a7577ba4c7 Merge: d8367d9376 3a3c4ed518
Merge pull request #348 from c4games/dev

Merge dev to master
2021-04-28 04:47:16 -07:00
halx99 70f8393b8f Update install-deps-linux.sh 2021-04-28 19:14:44 +08:00
halx99 30ca89005f Update setup_android.py 2021-04-28 17:56:40 +08:00
halx99 69d2631389 Sets ndk minimum required version to r19c [ci build] 2021-04-28 17:48:26 +08:00
rh101 95cf5b5c2b Merge: 2aa2d69151 b7506fed0c
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101 54ffa13dff Move PosixFileStream class to its own files
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
RH 1e15ed4839 Merge: 2cef9f2e76 844119d162
Merge pull request #3 from c4games/master

Sync with master
2021-04-22 21:48:49 +10:00
rh101 7540c06fd3 Use FileStream to write JPG images to disk 2021-04-22 21:36:26 +10:00
halx99 8ed6d34234 Explicit set cmake minimum version at app/build.gradle [ci build] 2021-04-22 11:40:53 +08:00
rh101 2bf12b2226 Add support for virtual file system via custom FileStream and FileUtils implementations. 2021-04-22 03:15:49 +10:00
halx99 569edd09e1 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:35:29 +08:00
halx99 96aea0ae6e Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:30:39 +08:00
halx99 3ea8e50d90 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:39:42 +08:00
halx99 0c87f1d4ef Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:02:55 +08:00
halx99 92e0eff6df Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:58:09 +08:00
halx99 98152f235b Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:46:32 +08:00
halx99 76646692fc Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:44:12 +08:00
halx99 e6467fac7b Refine somethings & improve command cocos python3 support [ci build]
a. Change android sdk root env var to `ANDROID_SDK`
b. Change android ndk root env var to `ANDROID_NDK`
2021-04-20 16:13:48 +08:00
halx99 366636e861 Update before-install.sh [ci build] 2021-04-08 23:32:34 +08:00
halx99 c14dafcbaa Update before-install.sh [ci build] 2021-04-08 23:28:46 +08:00
halx99 e05c59f7e1 Update before-install.sh [ci build] 2021-04-08 23:08:05 +08:00
halx99 984c164c57 Sync yasio to 3.35.0 [ci build] 2020-12-21 18:12:13 +08:00
aismann f38b271650 Update controller.cpp
"Node: Physics" using Chipmunk2D (hardcoded on e.g.: CCPhysicsBody.cpp)

Maybe a Wiki entry is also usefull?
2020-12-20 07:11:13 +01:00
halx99 b92c3d30c4 Update lua bindings source [ci build]
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99 eb2917fbf6 Merge: d467b647e2 29819491f7
Merge branch 'master' of https://github.com/c4games/engine-x
2020-12-16 12:47:04 +08:00
halx99 14f38d0ebc Sync luabinding config file 2020-12-16 12:46:37 +08:00
halx99 808fdd6494 Update README.md 2020-12-16 12:33:22 +08:00
halx99 0b805564dc CI don't needs download deps manually [ci build] 2020-11-16 16:02:47 +08:00
halx99 e132a37b2b fix android nasm version print for ci [ci build] 2020-11-12 18:01:27 +08:00