Commit Graph

210 Commits

Author SHA1 Message Date
halx99 90aa74cdfa Improve cmake script
- glslcc helper function
  - Rename ax_add_shader to ax_target_compile_shaders
  - Provide argument FILES for specify single or multi shader
    source files support, i.e.
       ax_target_compile_shaders(target_name FILES 1.frag 1.vert)
- Rename all _AX_ROOT_PATH to _AX_ROOT
2023-07-06 19:21:36 +08:00
halx99 f98ecb2000 Sync lua-bindings 2023-07-05 20:22:44 +08:00
halx99 ef41a52939 Sync yasio to latest 2023-06-24 21:18:27 +08:00
Deal(一线灵) 87601a734b
Update 3rd sources (#1240)
- llhttp: 8.1.1
- yasio: latest
- recast 1.6.0
- openal-soft: latest for official UWP support
- glad 2.0.4
- libpng 1.6.40
- astcenc 4.5.0
- Add fastlz: latest
- Disable lz4 by default
2023-06-24 09:17:14 +08:00
halx99 9b3031822d Fix lua bindings 2023-06-11 15:07:31 +08:00
Deal(一线灵) 0c058a5d3e
Remove CC prefix from code file name (#1230)
* Add migrate sources tool

* Fix include replace regex

* Fix compile

* Migrate maually

* Disable sources-migrate tool by default

* Fix ci

* Fix ci

* Improve source migrate

* Fix ios/tvos ci

* Fix ios/tvos ci

* Fix
2023-06-11 13:08:08 +08:00
Deal(一线灵) d57706b8ae
Improve media-engine for android, linux (#1228)
* Improve media-engine
- Implement andorid,linux
- Improve local file uri scheme

* Fix ci

* Improve code style

* Improve

* Update VlcMediaEngine.cpp

* Update AvfMediaEngine.h

* Fix ci

* Improve code style

* Enable androidx gradle.properties [skip ci]

* Improve code style

* Remove unnecessary callbacks

* Rename VideoPlayer to MediaPlayer
2023-06-10 22:05:49 +08:00
halx99 70bfc7ffab Committing genbindings changes 2023-06-05 09:19:09 +00:00
halx99 247d044dc7 Committing genbindings changes 2023-05-31 12:31:31 +00:00
halx99 d1accbf082 Committing genbindings changes 2023-05-23 11:54:13 +00:00
halx99 14373a8483 Update yasio to latest 2023-05-14 22:39:05 +08:00
RH cb9f8d9695
Update LUA constants for target platform (#1192) 2023-04-28 14:55:27 +08:00
halx99 eb906e9c69 Committing genbindings changes 2023-04-05 08:27:15 +00:00
halx99 800c149f6e Improve code style 2023-04-05 11:06:25 +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
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
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
halx99 9255fc7ac5 Committing genbindings changes 2023-03-11 15:01:39 +00: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
halx99 00c1a2379a Committing genbindings changes 2023-03-07 15:34:03 +00:00
tkzcfc 89981bc080
fix: type judgment error (#1084)
* fix: type judgment error

---------

Co-authored-by: tkzcfc <tkzcfc@users.noreply.github.com>
Co-authored-by: 一线灵|Deal <halx99@live.com>
Co-authored-by: HYGK-PC\Administrator <tkzc@foxmail.com>
2023-02-27 19:12:21 +08:00
halx99 68774d8319 Committing genbindings changes 2023-02-14 15:38:16 +00:00
solan-solan 64034df2ad
GL_RGBA32F GL backend support (#1034)
* Added GL_RGBA32F_EXT for GL backend to support floating point textures.

* Committing genbindings changes

* Added fp texture constant to mtl.

Co-authored-by: solan-solan <solan-solan@users.noreply.github.com>
2023-01-19 22:10:41 +08:00
halx99 5857874885 Remove unused from cmake script 2023-01-17 10:08:09 +08:00
halx99 9b81b06e06 Committing genbindings changes 2023-01-06 15:48:02 +00:00
一线灵|Deal a224966f6b
Fix ci 2023-01-05 02:47:23 +08:00
halx99 5bd36bfa7c Update yasio to latest 2023-01-04 23:20:07 +08:00
halx99 6f08abab88 Committing genbindings changes 2023-01-04 14:59:56 +00:00
halx99 25a9a4fb7a Committing genbindings changes 2023-01-01 10:21:43 +00:00
halx99 c149cb6c79 Committing genbindings changes 2022-12-29 09:01:26 +00:00
tkzcfc fa0d9c8d55
Fix download task creation failure Program crash (#984)
* Support return type'ResourceData'

* Revert "Support return type'ResourceData'"

This reverts commit dd38d06350.

* Support return type'ResourceData'

* Support binary files

* Support Lua to call cc.utils: capturenode

* Support Lua to call cc.utils: capturenode

* export: sp.SkeletonAnimation:findBone sp.SkeletonAnimation:getBoundingBox

* export 'setAttachment' function to lua

* Committing genbindings changes

* search path adding repeated judgment

* add macro definition  AX_NO_DUP_SEARCH_PATH

* add macro definition  AX_NO_DUP_SEARCH_PATH

* Update core/platform/CCFileUtils.cpp

* Fix downloader crash in the lua coroutine

* fix download task creation failure Program crash

Co-authored-by: tkzcfc <tkzcfc@users.noreply.github.com>
Co-authored-by: 一线灵|Deal <halx99@live.com>
Co-authored-by: HYGK-PC\Administrator <tkzc@foxmail.com>
2022-12-12 20:56:48 +08:00
halx99 445e51d4c4 Committing genbindings changes 2022-12-07 01:31:10 +00:00
halx99 e943d5d24e Committing genbindings changes 2022-11-28 00:44:15 +00:00
一线灵|Deal 4811b9768e
Update init.lua 2022-11-12 20:34:48 +08:00
halx99 4d9ec2ac36 Committing genbindings changes 2022-11-07 08:04:54 +00:00
halx99 7f77a5e9f4 Committing genbindings changes 2022-11-01 04:19:28 +00:00
halx99 14bf3b776a Committing genbindings changes 2022-11-01 01:34:53 +00:00
halx99 9558360df1 Committing genbindings changes 2022-10-31 22:56:01 +00:00
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 4732d7c073 Committing genbindings changes 2022-10-20 12:52:19 +00:00
tkzcfc 5345d9eb38
Fix downloader crash in the lua coroutine (#927) 2022-10-18 17:42:19 +08:00
halx99 8ea5342cca Committing genbindings changes 2022-10-13 14:08:14 +00:00
halx99 8e5a378f1c Luabinding: Add std:🧵:id support 2022-10-12 14:22:45 +08:00
halx99 16c592367d Committing genbindings changes 2022-10-11 23:33:16 +00:00
halx99 29d4e3209e Migrate lua scripts, remove deprecated files 2022-10-07 21:24:11 +08:00
halx99 b9f79ac07a Committing genbindings changes 2022-10-04 03:15:52 +00:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
tkzcfc c01af9d338
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