Torque3D/Engine/source
Areloch 368b687043 This implements a fix to an issue with the CICD that causes a segfault.
The fix adds a sanity check to the D3D and GL device enumeration function that exits early if there's no registered display from the OS(implying it's running in commandline).
With newer versions of SDL, attempting to enumerate the GL device causes a segfault because the OS will return back a valid context, but the context isn't actually valid. So when tested against, it crashes. Avoiding enumerating the device when you're not in a position to render works around the issue.

TODO: If the machine is running in terminal-only mode, and thus has no valid render context, but still has a monitor plugged into the machine, it can sidestep the sanity check and still result in a segfault. Need a more robust check for that circumstance in a future fix.
2023-07-23 01:04:29 -05:00
..
afx add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
app Missed the second var 2023-01-30 19:04:47 -06:00
assets Expands ScriptAsset behavior to operate as a generic type-settable asset 2023-02-23 15:29:59 -06:00
cinterface various fixes and memory corruption bug. 2021-09-09 19:30:32 -04:00
collision * BugFix: Clear a lot of warnings and correct a few actual programming errors along the way. 2021-10-04 20:04:21 -04:00
console gtest tweaks 2023-07-13 17:16:50 -05:00
core Merge pull request #1015 from Azaezel/alpha41/consoleCleanups 2023-05-09 14:44:01 -05:00
environment uninitialized and unused value cleanups 2023-05-01 10:40:02 -05:00
forest fix forest element inspector 2023-06-17 11:31:32 -05:00
gfx This implements a fix to an issue with the CICD that causes a segfault. 2023-07-23 01:04:29 -05:00
gui Add 2d value types 2023-07-04 07:15:03 +01:00
i18n Parametrize script extension, default to 'tscript' 2021-01-19 21:32:31 +01:00
lighting uninitialized and unused value cleanups 2023-05-01 10:40:02 -05:00
main requested revision: use dword just in case of compiler shenanigans 2018-02-26 22:34:21 -06:00
materials Merge pull request #1016 from Azaezel/alpha41/mangledMath 2023-05-08 21:28:49 -05:00
math AngAxis toEuler 2023-06-13 15:11:28 +01:00
module Fixed getAssetBy... functions so the lookup loop is more stable and doesn't fail if null results return 2023-05-08 21:18:23 -05:00
navigation add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
persistence Merge pull request #1015 from Azaezel/alpha41/consoleCleanups 2023-05-09 14:44:01 -05:00
platform sleep for an actual tick (also do so between dfiletouch and isfile on the off chance the o/s is choking) 2023-07-13 18:43:01 -05:00
platformMac $platform $= "macos" is used throughout the codebase 2022-09-20 19:58:02 -05:00
platformPOSIX disabled PosixCPU info for freebsd 2023-05-12 13:17:35 +02:00
platformSDL better cpu count guess 2023-05-12 13:47:55 +02:00
platformWin32 Merge pull request #1016 from Azaezel/alpha41/mangledMath 2023-05-08 21:28:49 -05:00
platformX11 * BugFix: Correct many include paths and build platformX11 on non-Apple Unix. 2021-11-14 14:45:42 -05:00
platformX86UNIX * Adjustment: Tweak the include paths for platformPOSIX.h. 2021-11-14 14:05:16 -05:00
postFx add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
renderInstance Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
scene add setEulerRotation to pair with getEulerRotation for sceneobjects 2023-07-03 15:14:17 -05:00
sfx Merge pull request #1016 from Azaezel/alpha41/mangledMath 2023-05-08 21:28:49 -05:00
shaderGen revert some removals of vert to pixel shader getters to avoid register mismatches. 2023-05-01 17:10:38 -05:00
sim Prevent memory leak 2023-03-04 21:54:21 +01:00
sqlite Fix for build 2022-12-02 11:58:45 +06:00
T3D set typehint for spawners to the spawndatablock 2023-05-24 19:58:34 -05:00
terrain Merge pull request #1016 from Azaezel/alpha41/mangledMath 2023-05-08 21:28:49 -05:00
testing Cleanup and improve 2023-04-06 15:28:09 +02:00
ts clean up 2023-05-12 11:42:06 +02:00
util Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
Verve add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
windowManager This implements a fix to an issue with the CICD that causes a segfault. 2023-07-23 01:04:29 -05:00
.gitattributes Somebody broke SDL when they updated it. The new version depends on AudioToolbox, so added that as dependency in torque3d.cmake 2017-01-13 10:42:52 -05:00
ggEndOfLineFix.txt Engine directory for ticket #1 2012-09-19 11:15:01 -04:00