halx99
a6dd7e932d
Allow turn on/off deprecated features, follow #2111 ( #2136 )
...
- Add new cmake option: `AX_CORE_PROFILE`
- Remove deprecated stubs from extension: `cocostudio`
- Remove `AX_DEPRECATED_ATTRIBUTE`
2024-09-13 02:17:35 +08:00
aismann
4ae3792164
DrawNode V2 ( #2124 )
...
* DrawNodeV2 ready4merge
* Update README.md
* Lua stuff
* Update DrawNode.h
* Update DrawNode.cpp
* Update DrawNode.cpp
* Update DrawNode.cpp
* Add the cocos2dx test again, add some improvements
* Some improvements
* Remove CandyMix from Android devices
* Update DrawNodeTest.cpp
* Clean tester code
2024-09-06 21:31:18 +08:00
halx99
8fd2a551e8
Refactor math simd ( #2070 )
2024-08-04 09:46:36 +08:00
halx99
210ad64668
Update emsdk to 3.1.61 and add cmake option AX_WASM_INITIAL_MEMORY
2024-06-12 23:13:49 +08:00
aismann
f2938663e0
Replace DrawNode with DrawNodeEx (Step 1: no longer optional, changed OFF to ${AX_EXT_HINT}) ( #1955 )
2024-06-03 13:09:39 +08:00
Deal
bf7635fe63
Add CMake option to remove Console from builds ( #1788 )
...
* Add CMake option to remove Console from builds
- option: AX_ENABLE_CONSOLE
* Fix ci
2024-04-05 14:25:22 +08:00
halx99
e8b070c84c
Remove unnecessary cmake option AX_VS_DEPLOYMENT_TARGET since we require cmake >= 3.28
2024-04-03 03:57:59 +08:00
RH
690e16df30
Use single macro to control each feature ( #1776 )
...
* Use single macro to control each feature
* Allow Physics module to be enabled or disabled via cmake option
2024-03-30 08:56:32 +08:00
RH
4fb845244f
Allow certain code modules to be removed from build process ( #1769 )
...
* Add support for disabling code sections from build process
* Add support for disabling built-in audio
* No need to add definition here
* Remove extra blank lines
* Add required copyright notice
* Document new options
2024-03-28 10:45:20 +08:00
RH
a1a444384e
Ability to disable default implementations of HTTP and WebSocket clients ( #1656 )
...
* Allow HttpClient and Websocket implementations to be excluded from build
* Allow LLHTTP to be excluded from build
* Add descriptions of new options
* Rename options based on current convention of AX_ENABLE_XXX
2024-02-06 22:19:03 +08:00
aismann
991e63ab8b
Set DrawNodeEx default to 'OFF" ( #1613 )
...
* Set DrawNodeEx default to 'OFF"
* Update controller.cpp
* Update CMakeOptions.md
2024-01-14 15:56:08 +08:00
aismann
70fa8872de
Add extension 'DrawNodeEx' aka 'DrawNode v2' ( #1568 )
2024-01-05 02:07:13 +08:00
halx99
9414177ce5
[docs] Add missing cmake options
2023-12-30 11:07:50 +08:00
halx99
e3c1d28316
Fix #1381 , improve cmake simd detection
...
Add cmake option `AX_ISA_LEVEL`
Note: we set default AX_ISA_LEVEL to 2 for sse4.1 for axmol app can runs on large amount devices
If you want axmol app runs on more old devices, you can specify in cmake cmdline `-DAX_ISA_LEVEL=1` or
`-DAX_ISA_LEVEL=0` to disable SIMD acceleration for thirdparty astcenc and webp
otherwise, host compiler generated instructions will crash on old devices which not support high level
SIMD instructions.
2023-10-09 01:33:41 +08:00
halx99
25d23da414
Update docs [skip ci][skip appveyor]
2023-09-18 19:03:47 +08:00
Deal
5f6d429b4a
Update CMakeOptions.md [skip ci][skip appveyor]
2023-09-18 15:16:19 +08:00
iAndyHD3
810c909e67
Add extension Inspector (Experimental) ( #1324 )
...
* node explorer
* fix some crash, add to tests
* change tabs to spaces
* remove node explorer from hello template
* change name to Inspector + add readme
* minor fix
* fix minor things
* fix minor thing...
* fix build on ios, android
* Apply suggestions from code review
* fix typename for gcc/clang, add font
* include cxxabi outside ax namespace
2023-09-12 01:06:28 +08:00
halx99
45cb0d82dc
Add cmake option 'AX_WASM_SHELL_FILE'
...
Specify the wasm shell file, by default use
`${_AX_ROOT}/core/platform/wasm/shell_minimal.html`
2023-09-07 21:09:36 +08:00
halx99
cec4c3a560
ImGui: Clear emscripten's MouseWheel callback before shutdown.
...
refer: https://github.com/ocornut/imgui/pull/6790
2023-09-06 19:15:05 +08:00
halx99
3fa70d602b
Improve wasm thread control by cmake option: AX_WASM_THREADS
...
- AX_WASM_THREADS: specify wasm thread count, valid value: number: `>=0` , string: must be: `auto` or `navigator.hardwareConcurrency`,
- number: explicit set thread count, `0` means disable wasm thread support
- string:
- `navigator.hardwareConcurrency`: will be emitted in the JS code which will use the number of cores the browser reports
- `auto`: Use cmake to detect host processor count
default is: `navigator.hardwareConcurrency`
2023-09-06 09:52:39 +08:00
halx99
c66ac9dedc
Merge: 41714a04fd
2631c8405b
...
Merge branch '1.x' into dev
2023-09-02 19:56:50 +08:00
halx99
b21fcb0272
Fix gendocs.ps1
2023-09-02 19:56:33 +08:00
halx99
8f8418c15d
Merge: c8bfa8cdf1
062b510c38
...
Merge 1.x WASM support into 'dev'
2023-09-02 19:47:18 +08:00
nowasm
03f007fdbe
Add webgl aka wasm build support ( #1315 )
2023-09-01 16:31:14 +08:00
halx99
4c0c328b80
Merge: 6d82d3a76c
5e3cba78a6
...
Merge branch '1.x' into dev
2023-09-01 16:29:02 +08:00
halx99
396313de47
consle-next: Looking both powershell 7.x and 5.x
2023-09-01 16:28:34 +08:00
iAndyHD3
ed39cf3996
Update AXBuildHelpers.cmake ( #1316 )
...
fix find_program call
2023-09-01 16:09:58 +08:00
halx99
b1ddb2fcce
Sync #1316
2023-09-01 16:09:27 +08:00
halx99
a000ccbab5
Update site build
2023-09-01 14:49:03 +08:00
halx99
ada7deb002
Sync docs [skip ci]
2023-09-01 14:48:42 +08:00
halx99
310c5868ec
Merge: 8f8814532d
bdbbc55909
...
Merge branch '1.x' into dev
2023-09-01 13:36:38 +08:00
halx99
e5d984a4f8
Auto deploy wasm demo to gh pages
2023-09-01 13:36:23 +08:00
halx99
5fe4e6d61f
Merge: 89955d901a
279ea746cc
...
Merge branch '1.x' into dev
2023-09-01 10:37:57 +08:00
halx99
e565645443
Auto get release list for doc build
2023-09-01 10:31:34 +08:00
halx99
f3f91147a3
Merge: 2a6e84aa15
2969a5b4ff
...
Merge branch '1.x' into dev
2023-09-01 03:35:30 +08:00
halx99
fe60bf0a1b
Fix cmake setup for linux
2023-09-01 01:17:49 +08:00
halx99
ec9b7f6e42
Merge: 1d4deae63a
7399ac41a6
...
Merge branch '1.x' into dev
2023-09-01 01:07:15 +08:00
halx99
0094c6bbb2
keep files for site build [skip ci]
2023-08-31 22:08:50 +08:00
halx99
2566feff5a
Merge: 6e1be139bd
1d26aa28a5
...
Merge branch '1.x' into dev
2023-08-31 21:20:23 +08:00
halx99
12bb1eb62a
Improve axmol site build
2023-08-31 21:20:01 +08:00
halx99
b50c629307
Merge: bdf976681e
82679fca74
...
Merge branch '1.x' into dev
2023-08-31 19:56:21 +08:00
Deal
c8d0fb85ea
Fix linux build
2023-08-31 18:59:12 +08:00
halx99
0952acea6a
Merge: 4fe5dd55e7
cc826cb6ae
...
Merge branch '1.x' into dev
2023-08-31 18:14:46 +08:00
halx99
b97b1a5630
Fix ci
2023-08-31 18:14:26 +08:00
halx99
06d51ac961
Merge: d3f55e0472
8e723b0cc9
...
Merge branch '1.x' into dev
2023-08-31 18:09:23 +08:00
halx99
4a52c781a2
Fix ci
2023-08-31 18:07:23 +08:00
halx99
09db3594f2
Merge: 3d97d1bcc1
0a63a8e364
...
Merge branch '1.x' into dev
2023-08-31 17:57:36 +08:00
halx99
a3a117ad2d
Update script permision
2023-08-31 17:57:19 +08:00
halx99
449a596f3e
Merge: fd2cbdc331
a816a8ac64
...
Merge branch '1.x' into dev
# Conflicts:
# README.md
# README_CN.md
# install-pwsh.sh
# tools/console/axmol
2023-08-31 17:56:09 +08:00
halx99
c2e55c4cdc
Merge console-next from dev into 1.x
2023-08-31 17:48:39 +08:00