Commit graph

5096 commits

Author SHA1 Message Date
AzaezelX
2f19db7607 overflow avoidance 2025-05-26 15:17:01 -05:00
AzaezelX
76b33ab57b unintialized variable cleanups 2025-05-26 15:16:48 -05:00
AzaezelX
6596865d92 overflow avoidance 2025-05-26 15:16:18 -05:00
AzaezelX
ddac695252 unintialized variable cleanups 2025-05-26 14:20:22 -05:00
AzaezelX
ba09744c6b volfog destructor safties 2025-05-25 23:04:10 -05:00
AzaezelX
7a97ad6099 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/sfxShanked
# Conflicts:
#	Engine/source/T3D/sfx/sfxEmitter.cpp
2025-05-25 22:09:53 -05:00
AzaezelX
9fe13d6a32 sfxEmitter destrctor safties
be more paranoid
2025-05-25 21:56:56 -05:00
Brian Roberts
fc73890ca8
Merge pull request #1480 from Azaezel/alpha1/sdlUpdate
update sdl to 2.32.6
2025-05-25 17:27:08 -05:00
AzaezelX
ddc1f8c1e2 update sdl to 2.32.6 2025-05-24 13:39:03 -05:00
AzaezelX
0c67f3642b clean up sfxemitter 2025-05-21 21:14:40 -05:00
AzaezelX
73af7f6c3e third case 2025-05-21 11:06:50 -05:00
AzaezelX
38de3d866c fix a couple cases of old direct references
use getBitmap(), not mBitmap
2025-05-21 11:02:31 -05:00
marauder2k7
f40c20d2f4 Update gfxGLShader.cpp
restore assertfatal if the bindPoint ==-1 as these require a location, ubo uniforms location returns -1
2025-05-21 07:16:45 +01:00
marauder2k7
ab36fe24ec fixes for opengl uniform buffer loading
This fix allows uniform buffers to be used with glsl shaders.

Small issue with uniform buffers not being initialized correctly.
2025-05-21 07:10:54 +01:00
AzaezelX
c7275300fb dial back a case of stringtable over use 2025-05-20 14:01:03 -05:00
marauder2k7
d128e0aa97 Update CMakeLists.txt 2025-05-20 16:48:23 +01:00
marauder2k7
78667ca43f Update ScriptTest.cpp
use case insensitive tests when interacting with script
2025-05-20 16:14:53 +01:00
Brian Roberts
86029683d3
Merge pull request #1474 from marauder2k9-torque/SDL2_OpenAL_Backend
Use SDL2 Backend with OpenAL
2025-05-20 08:31:49 -05:00
marauder2k7
0dc61d214c Update CMakeLists.txt
revert CoreAudio to default for mac build
2025-05-20 13:08:01 +01:00
marauder2k7
906484cf22 Update CMakeLists.txt 2025-05-20 12:35:27 +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
4a1019619f Update platformMemory.cpp
undo experimental changes to platformMemory.cpp
2025-05-20 10:11:25 +01:00
marauder2k7
700bf32a2a Update minimum requirements and libs
This updates the minimum required cmake version and the libs that have updates for this.
Ogg updated to master as of 20052025
Libsndfile updated to master as of 20052025
Opus minimum cmake version changed
vorbis minimum cmake version changed
2025-05-20 10:09:42 +01:00
Brian Roberts
8756e35853
Merge pull request #1472 from Azaezel/alpha41/leakleak
scrub memlogs
2025-05-19 20:32:14 -05:00
AzaezelX
ab5fcc00e9 scrub memlogs
ensures you can run leaktrace multiple times without a restart without accumulations
2025-05-19 20:32:00 -05:00
Brian Roberts
cfdb8fe959
Merge pull request #1467 from Azaezel/alpha41/PostfxProdding
postfx throttling
2025-05-19 20:24:38 -05:00
AzaezelX
5ab2419826 more stringtable leveraging 2025-05-19 12:09:21 -05:00
Brian Roberts
874229047c
Merge pull request #1470 from Azaezel/alpha41/learkReportClarity
mem report cleanups
2025-05-19 07:35:28 -05:00
AzaezelX
aeea20f078 mem report cleanups
ditch reporting ram adresses. it complicates comparisons
remove console filtering
spool report std::atexit
sort report by magnitude, then frequency
2025-05-19 05:59:36 -05:00
AzaezelX
391de9f62c use the stringtable to hold generated docstrings
among other things it removes doubles
2025-05-18 13:34:08 -05:00
AzaezelX
091b75930b postfx throttling
don't execute shadercont updates via callback more than the standard tick
don't execute preprocess more than once, unless explicitly reloading
2025-05-18 09:59:12 -05:00
Brian Roberts
2a9aa3a9d5
Merge pull request #1461 from Azaezel/alpha41/CreateCompositeCleanups
cleanup strays
2025-05-18 08:29:05 -05:00
marauder2k7
ecd8102688 Update consoleFunctions.cpp
add isPlayerBuild functon to see if this is a playback only build of torque.
2025-05-18 13:23:45 +01:00
JeffR
cac068d2c5 Adds the necessary ifdef flags to re-enable the ability to build with tools disabled 2025-05-17 18:41:15 -05:00
Brian Roberts
557101b338
Merge pull request #1463 from Azaezel/alpha41/rewdebugLeaktracking
allow relwdebug leak tracing
2025-05-17 13:59:12 -05:00
AzaezelX
c160401c72 allow relwdebug leak tracing
use TORQUE_ENABLE_ASSERTS, not just DEBUG for a filter
2025-05-17 13:58:48 -05:00
marauder2k7
f24e9f5195 Update mathTypes.cpp
TransformF can take 7 or 3 values so on false just set position for now. We may need to change ParseProperty to return a count for such cases as this and be able to tell whether its just position, rotation or both being set
2025-05-16 17:27:34 +01:00
AzaezelX
37f28dfbd7 cleanup strays
handle clearing composite input textures
we no longer have a material value labeled emissive.
2025-05-16 10:54:00 -05:00
marauder2k7
f64c7ce7aa Update materialDefinition.h
the values holding the channel selection were set to floats when they were expecting integer values.
2025-05-16 16:16:41 +01:00
marauder2k7
a9240b87f4 Update assetImporter.cpp
image asset importer was doubling up on the filepath.
2025-05-16 08:14:25 +01:00
marauder2k7
6870a040e2 purge assets and clear image
image asset was missing a clear, passing a null value should clear the image asset and set it to null on materials.
2025-05-14 00:57:38 +01:00
marauder2k7
aa3f07e339 update macro
Added get##name##File to macro that will check to make sure the asset is not null before getting the image file.
2025-05-14 00:30:47 +01:00
marauder2k7
a52069bbc5 processed material null ref
processedMaterial was not checking to see if each asset was null before getting the image filename inside the call to _createCompositeTexture
2025-05-13 23:46:54 +01:00
marauder2k7
cbde207fdd Update assetManager.cpp
fix crash on exit
2025-05-12 22:58:52 +01:00
marauder2k7
f86497434e is named target
clear out texHandles on teardown of imageAssets.
2025-05-12 22:17:01 +01:00
Brian Roberts
6cda97867c
Merge pull request #1452 from marauder2k9-torque/MEMORY-MANAGER-REFACTOR
Memory Manager Refactor
2025-05-12 15:31:06 -05:00
marauder2k7
fb1840ab1d Update console.h 2025-05-12 21:17:26 +01:00
marauder2k7
2207ae4a65 Update console.h 2025-05-12 16:35:08 +01:00
marauder2k7
e1c01cd49a Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3 2025-05-12 14:45:41 +01:00
marauder2k7
41c3f610be remove free from scripting lanugage
was causing issues with foreach
2025-05-12 12:50:49 +01:00