Commit Graph

3431 Commits

Author SHA1 Message Date
Deal 69b55efb82 Remove duplicated libz for ios/tvos (#1455) 2023-11-26 23:13:29 +08:00
RH 82d88d8970 Use execute_process instead of deprecated exec_program (#1450) 2023-11-26 00:03:36 +08:00
halx99 cad2d56641 Add missing prebuilt 2023-11-25 16:48:58 +08:00
axmol-bot 78672f4a19 Update thirdparty prebuilts to v60 (#1446) 2023-11-25 14:47:25 +08:00
halx99 6a0f021ba9 Update thirdparty
simdjson 3.3.0 ==> 3.6.0
astcenc 4.5.0 ==> 4.6.0
yasio 4.1.0 ==> 4.1.1
2023-11-23 23:27:27 +08:00
j-jorge f07b34e292 Add operator for Vec2/Vec2. (#1445)
Since we have the multiplication, it seems natural to have the division.
2023-11-23 09:04:09 +08:00
Deal b062eb3dc2 Improve linux deps (#1441) 2023-11-19 09:38:12 +08:00
halx99 afa763a6fd Improve build scripts 2023-11-18 13:16:40 +08:00
aismann c7be9816d9 Fix/enhancement for issue #1319 (#1434)
Fix/enhancement for issue #1319 (draw filled complex polygons (concave/convex)

Co-authored-by: eismpesd <peter.eismann@siemens-healthineers.com>
2023-11-16 12:06:39 +08:00
Deal 3fb41f25fb Fix install-pwsh.sh syntax [skip ci] [skip appveyor] 2023-11-12 23:27:01 +08:00
halx99 9bddf333e6 Improve build script 2023-11-12 19:54:03 +08:00
j-jorge 5122352019 Add missing include guard in CommandBufferGLES2.h. (#1430)
Co-authored-by: Julien Jorge <julien.jorge@MediaKind.com>
2023-11-11 17:32:10 +08:00
RH 4eb133bea7 [Android] Ensure AxmolEditBox used by TextField is visible prior to receiving focu (#1429) 2023-11-10 10:33:09 +08:00
RH 213434462a Use weak and strong references to determine if 'this' pointer is valid. (#1427)
Check _textBox to ensure it is not null before usage.
2023-11-09 08:43:24 +08:00
RH 7d79c095bb Add virtual file system support to WICImageLoader (#1425)
* Add virtual file system support to WICImageLoader

* Ensure supplied buffer pointers are not null

* Simplify conditional check to only not allow reads in WRITE file mode.
2023-11-08 21:56:51 +08:00
RH 2a650ba110 [UWP] Use Package to get app version information (#1424) 2023-11-08 08:16:28 +08:00
RH 4b5dc59574 Fix for UWP build issues (#1421) 2023-11-08 08:15:40 +08:00
RH 344ed98d49 Allow accessing HTTP cookie when using virtual file system. (#1423) 2023-11-08 01:31:41 +08:00
Deal 7a89b54cd2 Fix axmol console uwp deploy [skip ci][skip appveyor] 2023-11-07 22:59:22 +08:00
CHP a9091c4127 upload-artifact for android build (#1419) 2023-11-06 09:32:53 +08:00
halx99 859c8fc093 Committing genbindings changes 2023-11-05 16:27:00 +00:00
Deal 54ef33d34d Add API: Device::getPixelRatio (#1418) 2023-11-06 00:19:44 +08:00
RH 6f00aed73f [Android] Enable support for restarting application process if OpenGL context is lost (#1409)
* Add code to allow app to restart cleanly.
Call native renderer before the sleep in onDrawFrame due to possibility of invalid texture data after delay.
Dispatch event if application process will be restarted.
Add AX_ENABLE_RESTART_APPLICATION_ON_CONTEXT_LOST configuration option. Disabled if AX_ENABLE_CACHE_TEXTURE_DATA is enabled.

* Add missing code for nativeOnContextLost

* Revert onDrawFrame change to commit in separate PR

* Fix activity reference
2023-11-02 19:41:41 +08:00
CHP fbf358b81c Update android.yml (#1416) 2023-11-01 23:35:39 +08:00
RH 589f046007 Make AxmolEditBox invisible by default. (#1414) 2023-11-01 20:49:38 +08:00
halx99 e383179ed9 Improve axmol console
- Force cast corss config & build paramer to array to avoid combine
with builtin parameters incorrect
- Use evaluated build target to run and deploy
2023-10-27 23:37:44 +08:00
RH ddcecc3ff4 Live2d Android build fix (#1407)
* Allow optional setting target link scope for extensions when linking with Axmol.

* Fix Live2D linking with Axmol on Android
Add Android Tegra shader processing and usage
2023-10-26 21:30:31 +08:00
RH 1f5f8c182a Update Live2D to work with Axmol 2.x (#1405)
* Ensure Live2D extension is enabled for Live2D test

* Update Live2D to work with Axmol 2.x

* [skip ci] Remove commented out shader code
2023-10-25 19:25:42 +08:00
halx99 ddc9256ebe Committing genbindings changes 2023-10-25 01:54:02 +00:00
RH e808fb9758 [Android] Fix corrupted FPS stats font textures on OpenGL context lost (#1402)
* Fix corrupted FPS stats font textures on OpenGL context lost

* Ensure _rendererRecreatedListener is recreated on a director restart.
2023-10-25 09:44:08 +08:00
RH cc3156e66e [Android] Reset the OpenGL state cache if the context is lost (#1401) 2023-10-25 09:35:58 +08:00
RH fc67e58646 Imgui and Inspector enhancements (#1396)
* [imgui] Add support for displaying images correctly that are rotated in texture atlas
[imgui] Add parameter to select if displayed image maintains aspect ratio
[imgui] Move static methods to anonymous namespace
[imgui] Minor code clean-up

* [imgui] Add support for displaying SpriteFrame

* [imgui] Update test to show usage of ImGuiPresenter::image helper methods

* [Inspector] Show image of selected sprite
2023-10-20 19:22:49 +08:00
halx99 4d91ed6ca3 Fix dll build, make JSONDefault as static library 2023-10-19 23:27:59 +08:00
RH c5512a05bc [Inspector] Fix crash and add enhancements (#1394)
* Fix crash related to invalid selected node if it no longer exists in the scene.
Support using a custom font for the inspector.
Support automatic registration of inspector on scene switches.

* Fix compilation issue

* [skip ci] Remove redundant null check
2023-10-19 15:31:01 +08:00
Saroop Technologies f2ae7f9759 Add JSONDefault extension (#1393) 2023-10-19 15:30:39 +08:00
RH 0bf5bed809 Add support for adding custom properties to the inspector (#1392)
Minor code clean-up
2023-10-18 20:11:59 +08:00
halx99 429f11fd1c Fix #1391 2023-10-17 23:23:57 +08:00
halx99 9a8bab9440 Fix #1388 2023-10-16 20:24:59 +08:00
halx99 4ccac3c21c Fix #1389 2023-10-16 20:24:38 +08:00
Deal 836b0ff7a7 Update DevSetup.md 2023-10-14 10:55:16 +08:00
halx99 de286831de Improve code style 2023-10-12 22:10:11 +08:00
Deal c2847f892e Use std containers instead uthash (#1379) 2023-10-12 22:00:46 +08:00
halx99 b9042aeb20 Add a dedicated class for easy load padded string for simdjson parser 2023-10-12 00:02:48 +08:00
halx99 022af2fac2 Improve prebuilt link cmake module 2023-10-11 21:42:01 +08:00
Deal 8841c801ec Improve build-site.ps1 2023-10-11 01:33:15 +08:00
halx99 fd9f613b50 Enable Mat4 SSE Istructions acceleration 2023-10-11 01:05:22 +08:00
halx99 1e0dde5ba2 Fix ci 2023-10-11 00:49:49 +08:00
halx99 13b4a5bc93 Make macro same with cmake in c++
- AX_ENABLE_EXT_SPINE
- AX_ENABLE_EXT_DRAGONBONES
- AX_ENABLE_MSEDGE_WEBVIEW2
2023-10-11 00:32:04 +08:00
halx99 f13cce5a3b Fix link prebuilt preprocessors 2023-10-11 00:27:46 +08:00
halx99 8165a7280e Remove parsing target from CMakeCache
it's not trustable
2023-10-10 23:17:37 +08:00