Commit graph

6179 commits

Author SHA1 Message Date
AzaezelX db3e7984ad fix mac compile 2023-06-04 12:45:55 -05:00
AzaezelX 1194f7f49d shift non-torque config flags over to lib/cmakelists.txt 2023-06-04 09:41:48 -05:00
AzaezelX 653580b469 get ogg working 2023-06-03 20:29:35 -05:00
AzaezelX c147cda110 additional library filters 2023-06-03 14:59:23 -05:00
AzaezelX 8906c12ddd kill dupe macro definitions, add macro(addFramework framework) for mac support to append frameworks, and further mark-as-advanced cleanups 2023-06-03 13:47:36 -05:00
AzaezelX e55d71f6ee macro and config refactor proposal 1 2023-06-03 10:42:04 -05:00
AzaezelX df24913f79 flip off assimp warns as errors 2023-05-31 17:10:56 -05:00
AzaezelX af88962d04 gtk check 2023-05-31 17:07:05 -05:00
AzaezelX 06f20a0476 correct a few cmake flags and options 2023-05-31 16:43:51 -05:00
AzaezelX 81ed240bf6 typofix 2023-05-30 20:00:20 -05:00
AzaezelX 60c27696ea get addDef back to working, add additional compiler flags win side to set the warning level back to 4 (and supress the more innocuous ones that we were doing previously till we've time for a focused pass there) 2023-05-30 19:24:35 -05:00
AzaezelX a14c7d7113 partial backport of the old addDef code. still needs fixup.
fix exe naming winside. todo: same for mac and 'nix
set startup project winside
2023-05-29 21:51:32 -05:00
AzaezelX 0ab5860286 assimp compile fix mac side 2023-05-28 18:42:48 -05:00
AzaezelX 6e6f785bab Merge branch 'alpha41/sdl2_26_5' into alpha41/cmake_adjustments 2023-05-28 12:04:34 -05:00
AzaezelX c3f53b99ea update assimp to 5.2.5 Bugfix-Release 2023-05-28 11:19:45 -05:00
AzaezelX 360edf18a1 quick collada compile fix as a straight update would pull in the boost library as well for yet another dependency 2023-05-28 00:14:37 -05:00
AzaezelX 8d434807af more targetted fix for c++20
readd blacklist via a filterOut macro
2023-05-28 00:13:36 -05:00
AzaezelX 166128dd73 update NFD to 67345b80eb 2023-05-27 20:47:21 -05:00
AzaezelX a5f3e70653 further conflict resolutions 2023-05-27 19:57:51 -05:00
AzaezelX 502f38f227 put back c20 2023-05-27 19:06:40 -05:00
AzaezelX c61439c2f9 Merge branch 'cmake_adjustments' of https://github.com/Ragora/Torque3D into alpha41/cmake_adjustments
# Conflicts:
#	Engine/lib/assimp/INSTALL
#	Engine/source/console/fileSystemFunctions.cpp
#	Tools/CMake/basics.cmake
#	Tools/CMake/modules/module_testing.cmake
2023-05-27 18:18:17 -05:00
AzaezelX 0e44e165bd update sdl to 2.26.5 2023-05-27 10:16:20 -05:00
Brian Roberts 0d981b62cf
Merge pull request #1015 from Azaezel/alpha41/consoleCleanups
fix warn reports for buffer over-runs
2023-05-09 14:44:01 -05:00
Brian Roberts 2dd0bde5e1
Merge pull request #1019 from Azaezel/alpha41/massCenter
fix massCenter exposure
2023-05-09 11:51:17 -05:00
AzaezelX 5693adb348 fix massCenter exposure 2023-05-09 11:50:43 -05:00
Brian Roberts a6f03897ed
Merge pull request #1016 from Azaezel/alpha41/mangledMath
clean up math varsize complaints
2023-05-08 21:28:49 -05:00
Brian Roberts 6c17386cdf
Merge pull request #1018 from Areloch/MiscFixes20230508
Misc Fixes for 2023/05/08
2023-05-08 21:28:32 -05:00
Areloch 667a0db760 Fixed getAssetBy... functions so the lookup loop is more stable and doesn't fail if null results return
Added sanity check to reflectionProbe preview shape so if the material didn't load right, it doesn't crash
Added logic to better control if module groups as a whole should fail if a module dependency in that group fails, defaulted to off
Added sanity check if a shape's material failed to load so it doesn't crash when checking accumulation rules
Added search bar to SimView control for easier use
2023-05-08 21:18:23 -05:00
Brian Roberts 3538da30d0
Merge pull request #1014 from Azaezel/alpha41/EnumErrata
add safeties for enum math across define boundaries
2023-05-03 13:38:23 -05:00
Brian Roberts 0cdced232d
Merge pull request #1017 from Azaezel/alpha41/validateVars
uninitialized and unused value cleanups
2023-05-03 13:38:07 -05:00
AzaezelX 3f2113bf7d revert some removals of vert to pixel shader getters to avoid register mismatches.
(cherry picked from commit 1e1e39f4f72ac6d4ce19704f69ba34bbff29d89c)
2023-05-01 17:10:38 -05:00
AzaezelX 835d6f009a thread var initialization fixes 2023-05-01 14:17:17 -05:00
AzaezelX e386a360ca more arithmetic overflow warns
(cherry picked from commit 3974775b9c6bc49fba7295dcdd35e8f2cc06a0c9)
2023-05-01 10:43:11 -05:00
AzaezelX b86716c670 further console cleanups. mostly of the form of correcting uninitialized values. some arithmatic sizes
(cherry picked from commit 833149e962d165aa4c10e6c760bb1a1116d1baf8)
2023-05-01 10:41:33 -05:00
AzaezelX 0d4221fa59 uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX fed381c945 more console cleanups
(cherry picked from commit a66ff6407cdcdf233996f49c74d7a42537314562)
2023-04-28 17:16:48 -05:00
AzaezelX 0ce2da3a23 clean up math varsize complaints 2023-04-27 16:10:04 -05:00
AzaezelX 339393aa85 adress https://github.com/TorqueGameEngines/Torque3D/pull/1015#discussion_r1179352178
docs for CodeBlock::calcBreakList() sizing
2023-04-27 11:12:24 -05:00
AzaezelX 9e036f142b fix warn reports for buffer oveeruns
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
AzaezelX aa02e48c8d add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
Brian Roberts 1230d0d280
Merge pull request #1013 from just-bank/fix-GuiTreeViewCtrl
Fix buffer overflow in GuiTreeViewCtrl class.
2023-04-24 08:21:55 -05:00
bank 93cea86312
Fix buffer overflow in GuiTreeViewCtrl class.
When calculating test length (in method `GuiTreeViewCtrl::Item::getDisplayTextLength()`)
the code doesn't take into account the `ItemState::Marked`, which
adds additional char in `GuiTreeViewCtrl::Item::getDisplayText()` method.

This commit fixes warning printed into console when calling `dSprintf()`
as the buffer is now enough to fit all data.
2023-04-24 13:41:19 +03:00
Brian Roberts 6969531e2e
Merge pull request #1012 from just-bank/fix-editor-popupmenu
Fix callbacks from PopupMenu
2023-04-21 13:07:22 -05:00
bank 1099c2d80c
Fix callbacks from PopupMenu
Since 4.0 release, the TorqueScript doesn't keep local vars in stack
when calling `eval()`.
2023-04-21 20:48:01 +03:00
Brian Roberts 4f403afe9a
Merge pull request #1011 from AtomicWalrus/ReverseDepthOnly_PR
Reverse depth & 32F buffer format
2023-04-18 01:28:19 -05:00
AtomicWalrus c64c2212ad Fix for MacOS OGL 4.1 support
Workaround: MacOS does not have access to glClipControl.

Because the lower range of the 32F buffer is not available using this workaround, the improvements to depth behavior from depth reversal will be limited on MacOS. Behavior is equivalent to reversed depth on a 24UINT buffer; Better than stock, but not dramatically.
2023-04-15 15:21:49 -06:00
AtomicWalrus 75625dc679 Reverse depth & 32F buffer format
-Adds reversed depth projection model, dramatically increasing depth buffer effective resolution.
-Adds 32F depth 8U stencil format GFXFormatD32FS8X24 (following DX naming conventions). Note this is a 64-bit format, and likely not suitable for mobile platforms. Revert to GFXFormatD24S8 in renderManager.tscript for mobile & "ancient" platforms.
-Corrects alignment of texture type details array.
2023-04-14 20:13:28 -06:00
Brian Roberts c08fa359d2
Merge pull request #1009 from Azaezel/alpha41/moduleFileReload
adds a  reloadModuleFiles(%moduleGroup); command
2023-04-11 18:29:40 -05:00
Brian Roberts 26adb11e49
Merge pull request #1008 from Azaezel/alpha41/timeTrouble
fileModifiedTime cleanups
2023-04-11 18:29:28 -05:00
Brian Roberts e234b50a24
Merge pull request #1010 from lukaspj/fix-test-reporting
Make all test result paths conform to the Linux runner setup
2023-04-11 18:11:36 -05:00