Commit Graph

3485 Commits

Author SHA1 Message Date
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
halx99 e17721d5bc Improve ObjLoader, avoid use temp buffer to token parse 2023-10-10 23:16:10 +08:00
halx99 9ef282c60f Fix link prebuilt incorrect msvc runtime 2023-10-10 22:10:35 +08:00
halx99 65e253b54a Fix wasm build 2023-10-10 22:01:09 +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
Joilnen 61bcb24a25 fix warning messages in gcc 13.2.1 to compliance with C++20 (#1383) 2023-10-08 23:46:27 +08:00
Deal 58221bbf2a Fix osx ci 2023-10-08 08:03:47 +08:00
halx99 dbb0dbcb79 Use JsonWriter for SDFGen 2023-10-08 02:28:08 +08:00
aismann 525c53b0b5 Update FastTMXLayer.cpp (see issue #1283) (#1285)
* Update FastTMXLayer.cpp

fix #1283

* Using local variable rather than doing two calls

* Fix #1336

* Fix ci

---------

Co-authored-by: eismpesd <peter.eismann@siemens-healthineers.com>
2023-10-07 20:36:48 +08:00
halx99 93c5e350b3 Fix build error when -DAX_USE_ALSOFT=ON on xcode14.3+ 2023-10-07 13:13:08 +08:00
Deal 94550d5c3f No need set ios simulator sysroot 2023-10-07 12:42:22 +08:00
halx99 734e3664e5 Fix #1378, refer to #1310 2023-10-07 12:36:33 +08:00
halx99 2305bfeced Update yasio to latest 2023-10-06 01:02:01 +08:00
RH 86ab2fe995 Fix undeclared identifier errors (#1370)
* Fix undeclared identifier errors

* Add IFileStream::Mode to the FileStream scope
2023-10-03 13:59:34 +08:00
Deal 5c1d7fbbfb Update DevSetup.md[skip ci][skip appveyor] 2023-10-03 12:05:33 +08:00
halx99 539f37651b Make Data::fastSet behavior compatible, refer #1369 2023-10-02 21:08:51 +08:00
Deal 1b5bb08e41 Update .appveyor.yml [skip ci][skip appveyor] 2023-10-02 11:36:36 +08:00
halx99 6978028783 Fix wasm build 2023-10-02 11:26:50 +08:00
RH a503004418 [Android] Restrict temporary and generated files to build folder (#1368)
* [Android] Restrict temporary and generated files to build folder

* Fix temporary axslc folder path
2023-10-02 09:47:11 +08:00
halx99 1db60f4f0d build1k: Improve ndk find [skip ci][skip appveyor] 2023-10-01 23:55:46 +08:00
halx99 8dbdce55c3 Avoid unexpected behaivor when compile optimized 2023-10-01 22:39:46 +08:00
halx99 b19e5eb9f7 Fix ci 2023-10-01 22:30:18 +08:00
halx99 352f3ad420 Remark IFileStream::tell as `virtual`, refer #1366 2023-10-01 22:05:45 +08:00
halx99 57492b203c Update yasio, improve pod_vector
a. now the pod_vector more reusable, byte_buffer, array_buffer aka dynamic_array
b. change pod_vector resize, assign allocate memory exactly/fit and +=, append, insert operations trigger msvc capacity growth strategy
2023-10-01 22:04:47 +08:00
halx99 4156052157 Fix win32 dll build 2023-09-29 17:13:35 +08:00
halx99 79cd628235 Improve API utils::base64Encode with std::span 2023-09-29 17:13:10 +08:00
halx99 8ea11838a3 Minor improvements 2023-09-29 11:30:33 +08:00
halx99 55bb54073e Update readme files [skip appveyor] 2023-09-29 11:29:51 +08:00
halx99 4735e7acbe Minor improvements 2023-09-29 11:27:01 +08:00
halx99 4065b90039 Preferred use byte_buffer as APIs 2023-09-29 01:57:41 +08:00
halx99 1fcb6abfc2 Fix setup.ps1 not working 2023-09-28 20:36:44 +08:00
halx99 4e04f6da95 Improve build script 2023-09-28 13:07:09 +08:00
halx99 23a2daf2b4 Improve build scripts [skip ci][skip appveyor] 2023-09-27 20:28:04 +08:00
halx99 678ed7ce51 Don't disable multi-touch in templates [skip ci][skip appveyor] 2023-09-27 20:12:07 +08:00
halx99 96e60b9e19 Fix #1306 2023-09-27 11:38:10 +08:00
RH ef635f0649 Fix for missing scripts and resources in lua tests project (#1357)
* [MacOS] Several linker flags removed to fix executable

* Fix both Apple and Windows missing resources and scripts folders.

* Fix for lua project with prebuilt engine

* Remove usage of _AX_TOP_LEVEL for lua-tests project
2023-09-26 20:07:13 +08:00
Deal ce414ef0d0 Avoid find PowerShell.sh in /Applications on macOS [skip ci] 2023-09-26 19:43:03 +08:00
halx99 437e042906 Update readme files [skip ci][skip appveyor] 2023-09-26 18:10:06 +08:00
halx99 4f0b6303d0 Improve build1k.ps1
support load build target from cmake cache file
2023-09-26 15:21:36 +08:00
Deal 9dd6b589a2 Update README.md 2023-09-26 14:30:07 +08:00
halx99 cd57b24a86 Improve console 'axmol new' command 2023-09-26 14:28:10 +08:00
halx99 83e6991979 Update tolua ndk ver [skip ci][skip appveyor] 2023-09-26 14:16:01 +08:00
halx99 ab289141f2 Fix #1350 2023-09-26 14:10:46 +08:00
halx99 b9b3abb9ed Committing genbindings changes 2023-09-26 04:58:17 +00:00
Deal 59afe8fe8f Fix genbindings.ps1 2023-09-26 12:52:00 +08:00
halx99 526f382c11 Fix ci 2023-09-26 12:47:28 +08:00
Deal 5c81568f94 Update setup.ps1 2023-09-26 11:26:07 +08:00