Commit graph

418 commits

Author SHA1 Message Date
marauder2k7
48312ae20e JOLT Physics update
adds jolt physics to torque3d
2026-04-13 14:55:46 +01:00
marauder2k7
d331731aa1 local build of libpng 2026-04-13 14:55:45 +01:00
marauder2k7
974f217b96 SFX API Changes
DSound has since been deprecated and xaudio2 would require us to write our own 3d spatialization and mixer
Load devices the same way we load in the gfx end
setup sfx provider
run sfx devices on startup
various fixes around sfx null device
added the bitrate and samplerate globals
added the hrtf global code is in to use this but not setup yet
Adds speed of sound to the sound system
SFXAmbience now has a property for speed of sound for different mediums, can also be set directly
2026-04-13 14:55:43 +01:00
marauder2k7
2304dce93c fix 2026-04-13 14:55:41 +01:00
marauder2k7
581fe50756 remove finders 2026-04-13 14:55:41 +01:00
marauder2k7
d0a00da9a0 vcpkg complete replacement
Replaces all our 3rd party dependencies with vcpkg installed dependencies.

Some will be downloaded eg assimp/libpng
2026-04-13 14:55:41 +01:00
AzaezelX
dbea2bc636 supress oversenstivie apple-only check on the al side 2026-03-19 13:45:17 -05:00
AzaezelX
ff1b4d47e5 further followups to CI compilation config 2026-03-17 14:04:54 -05:00
AzaezelX
ce8ee94624 fix CI 2026-03-17 13:15:40 -05:00
marauder2k7
86b0baf432 Update torque_macros.cmake 2026-03-07 16:14:31 +00:00
marauder2k7
8c1acbd1da add normal safety
wrap safety around normal checks, this was done on the scalar math may as well do it here just in case.

Ad the impl.inl files to libraries so they can actually be found.
2026-03-05 18:55:49 +00:00
marauder2k7
67f12311d4 ISA backends float3 and float4 - cleanup history squash
working for both neon32 and neon64

Update math_backend.cpp

further sse simd additions

avx2 float3 added
added normalize_magnitude
added divide fast to float3 may copy to float4

move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend

all float3 and float4 functions and isas

completed all options of float3 and float4 functions in isas and math_c
neon still to be done but that will be on mac.

Update math_backend.cpp

mac isa neon update

added float3
restructured the classes to look more like the final version of the x86 classes

linux required changes

Update build-macos-clang.yml

Update build-macos-clang.yml

Revert "Update build-macos-clang.yml"

This reverts commit 29dfc567f40f20d2400a9967a35bbdb823182e2d.

Revert "Update build-macos-clang.yml"

This reverts commit 2abad2b4ca4de717c5f4278708f289dd1bb22561.

Update CMakeLists.txt

fix macs stupid build

remove god awful rolling average from frame time tracker....

use intrinsic headers instead

each isa implementation now uses a header for that isa's intrinsic functions these are then used in the impl files. This will make it easier for matrix functions when those are implemented.

fixed comment saying 256 when it should be 512 for avx512

consolidated initializers for function tables

Update neon_intrinsics.h

fixes for some neon intrinsics no idea if this is the best way to do these but they work at least

v_cross is especially messy at the moment we basically just do it as a c math function need to look into getting this done correctly
2026-03-05 18:55:34 +00:00
marauder2k7
9ebcee420f moar changes
mac implementation had _mm_div (x86 intrinsic)
2026-03-05 18:55:32 +00:00
marauder2k7
e9fdffc2dd math backend setup
setup libraries for different simd isa's
add float4 functions for c sse2 and avx2 (placeholder file for neon to be implemented on mac)
2026-03-05 18:55:29 +00:00
marauder2k7
7f351ef429 Restore LIBPNG for png files
Restores the use of libpng for png files as stb does not support writing out 16bit png files.
2025-12-31 11:00:07 +00:00
AzaezelX
58d4b3a781 make git installation optional 2025-12-20 12:25:06 -06:00
marauder2k7
01873502e3 Update portfile.cmake
add the "d"
2025-10-29 14:15:25 +00:00
marauder2k7
28b7babfc0 Update torque_configs.cmake
add clean after build
2025-10-29 02:19:03 +00:00
marauder2k7
0ff57142cd Update torque_configs.cmake 2025-10-29 02:15:14 +00:00
marauder2k7
ebc6566cee Update torque_configs.cmake 2025-10-29 01:48:33 +00:00
marauder2k7
320b91fe34 link libs 2025-10-29 01:47:22 +00:00
marauder2k7
873fbbf1fe usse vcpkg just for the libsndfile build chain 2025-10-29 01:40:27 +00:00
marauder2k7
574ca023d9 update libsndfile to fix linux build 2025-10-28 17:10:28 +00:00
marauder2k7
f691188f74 tools build requirements 2025-08-03 10:18:23 +01:00
marauder2k7
3924c6590a Update navigation.cmake 2025-07-27 15:43:13 +01:00
marauder2k7
80473e10b5 added first tool
Added the tileTool with the ability to select tiles
Abstraction layer for navmesh tools created.
2025-07-23 15:08:29 +01:00
marauder2k7
87514151c4 Use SDL2 Backend with OpenAL
This change implements openal to use the sdl2 backend.

The main change in this is in openal-soft cmakeLists.txt it was not using our custom finders to find sdl2 for us before and so it had to be changed to a list append instead of a set. This needs to be remembered for future updates to openal
2025-05-20 12:13:10 +01:00
marauder2k7
eec4573782 Update torqueConfig.h.in 2025-05-12 16:49:08 +01:00
marauder2k7
f2d4d7103a Revert "Update torqueConfig.h.in"
This reverts commit bf6c8827a1e6863804c32905f20b1df15b74fa1f.
2025-05-12 11:50:49 +01:00
marauder2k7
8795a4f330 Revert "Update torqueConfig.h.in"
This reverts commit f624a85ce4c4bb89d9281ddf4f65f5318eab4c01.
2025-05-12 11:50:48 +01:00
marauder2k7
2b14e5448e Revert "update"
This reverts commit 7ac9c55bf1efa23db674dba4f2c7ada7ca344d7d.
2025-05-12 11:50:45 +01:00
marauder2k7
5cc2abc9ae update
revert console.h to best working version
wrap includes around the TORQUE_DISABLE_MEMORY_MANAGER macro
in torqueConfig.h.in add check for whether we are in release and make sure TORQUE_DISABLE_MEMORY_MANAGER is defined.
2025-05-12 11:50:44 +01:00
marauder2k7
a993b72881 Update torqueConfig.h.in 2025-05-12 11:50:39 +01:00
marauder2k7
0ba8d6102d Update torqueConfig.h.in 2025-05-12 11:50:38 +01:00
marauder2k7
b0eb3875c9 changes from az
Output now collates issues together into 1 entry for each leak point
tDictionary leak
2025-05-12 11:50:18 +01:00
marauder2k7
b8cd25cc0a fix cmake finders on linux 2025-03-14 14:31:11 +00:00
marauder2k7
142467ccc6 update lib
can use original cmakelists.txt from torque, but update naming to tinyxml2
2025-02-14 19:57:38 +00:00
AzaezelX
6fe06c602e remove old module_curl.cmake
it now exists in a different form in https://github.com/Torque3DResources/curlModule/tree/main/source/libs\libs.cmake
2025-01-23 21:15:48 -06:00
Areloch
e503bccb2e
Merge pull request #1348 from Azaezel/alpha41/libSupport
suport augs for modules that include full libraries
2025-01-07 17:15:28 -06:00
AzaezelX
b3ddd712ce suport augs for modules that include full libraries
copies over .in and .cmake files for those cases when libraries themselves need to self-configure
searches for a source/libs/libs.cmake file for any torque-specific confiugurations we need to make for a given library
autoinclude any source/wrappers directory for unique to orque files, which will most commonly be data holder classes and script exposure, as well as adding those dirs to the #include listener list
also ditches forcing warn levels to lowest for libraries since if folks are going to experiment, best tey know about anmy underlying things to avoid
2025-01-02 10:27:09 -06:00
marauder2k7
9f88688680 Create findPCRE.cmake 2024-12-31 14:22:18 +00:00
marauder2k7
f3a1388ff9 add find scripts
add cmake find modules.
2024-12-31 10:27:31 +00:00
Brian Roberts
1be326e0d0
Merge pull request #1297 from marauder2k9-torque/matrix-templated
Template Matrix class
2024-11-07 16:17:38 -06:00
Areloch
03efedab37 Adds a TORQUE_TOOLS_EXT cmake flag/preprocessor and moves the systemCommand method into that so that one can lock down full shell command execution calls without dropping tools support 2024-09-01 16:55:58 -05:00
marauder2k7
250b66b4db Update torque_macros.cmake
applying fixes in a hurry cause problems
2024-08-05 01:06:29 +01:00
marauder2k7
0374da0077 Update torque_macros.cmake
since this is showing in the cmake gui may as well make it unique for each framework..
2024-08-05 00:44:36 +01:00
marauder2k7
02de5160cf Update torque_macros.cmake 2024-08-05 00:38:46 +01:00
marauder2k7
9d51fc2830 fix packing
now openal and sdl are embedded in the app bundle along with their symlink alternatives
clear out the openal framework and use the embedded dll instead

archiving works and will produce a notarized app if you provide the correct information and enable hardening.
2024-08-04 14:54:25 +01:00
marauder2k7
7177e491dd Update torqueMacOSconfigs.cmake
simplify macos configuration

now sdl and openal no longer complain about multiple rpaths
2024-08-03 15:37:30 +01:00
marauder2k7
d62b40a9bf initial commit
this commit fixes the copying of dependencies into the app sandbox
2024-08-03 14:43:57 +01:00