Commit graph

4926 commits

Author SHA1 Message Date
AzaezelX 83a3ef877e don't trace setShaderConsts or onNewMessage callbacks
they spam up the console to uselessness when using the trace(true/false) command
2025-06-09 13:35:32 -05:00
Brian Roberts ccd30a19cc
Merge pull request #1495 from Azaezel/alpha41/safeSafties
add extra safeties to safe_delete macros
2025-06-06 10:56:46 -05:00
AzaezelX aebd497fd6 make sure device and texture manager are still around when making a deletion request of them 2025-06-06 10:56:02 -05:00
AzaezelX 2c15877d5a add extra safeties to safe_delete macros 2025-06-06 10:45:05 -05:00
Nick-IronTower 01ffdae89a GFXStateBlockDesc memory leak fix. 2025-06-06 14:52:20 +03:00
AzaezelX a3d2d13d39 remove stray methods.
revisit loadedstate shortcutting of already loaded textures
2025-06-01 12:41:31 -05:00
Brian Roberts f709130e72
Merge pull request #1489 from Areloch/DirectImageFileOption
Direct image file option
2025-05-31 07:18:24 -05:00
JeffR 0e6c33f78a Fixed gui editor drag and drop behavior for image, shape, and sound
Ensure BitmapFile is given a proper default
2025-05-30 20:21:13 -05:00
Brian Roberts 4ccbc37322
Merge pull request #1491 from Azaezel/alpha41/shaderConstConkOut
remove shaderconst timer clamp
2025-05-30 20:10:07 -05:00
AzaezelX 1e2b6c4e35 remove shaderconst timer clamp
looks ike the postfx shaderconst update cycle rate limiter is the source of our flickering
2025-05-30 20:01:30 -05:00
JeffR 5397c168bc Merge branch 'DirectImageFileOption' of https://github.com/Areloch/Torque3D into development 2025-05-30 00:08:29 -05:00
marauder2k7 ea751eb62f Update bitmapSTB.cpp 2025-05-30 04:00:45 +01:00
JeffR 41957cb98f Compares path and filename, excludes png in case the user swapped a dds for a png or the like 2025-05-29 16:06:04 -05:00
JeffR 029427d51c Fixes imageAsset lookup so if we're looking up a full filename path, we compare the actual full paths 2025-05-28 23:23:08 -05:00
JeffR 8ed3bab44c Re-added prefix handling for named texture lookups for image asset fields
Changed render-out of shape preview images to use png
Added filter against previewCache folder
2025-05-28 17:47:23 -05:00
AzaezelX 8bd145d54f use of get<some name> methods that already return nulls/false when attempting to load
in contexts where we would want to try first (pt2)
2025-05-28 17:45:02 -05:00
JeffR 0fa8b97f91 Reimplements ability to utilize direct file load alongside ImageAsset fields when utilizing the ImageAsset macros
Updates Asset Browser generated preview images to not utilize full assets, but just the preview image files themselves
2025-05-27 17:12:03 -05:00
AzaezelX 40974dd14b use of get<some name> methods that already return nulls/false when attempting to load
in contexts where we would want to try first
2025-05-27 17:07:08 -05:00
Brian Roberts a43458677a
Merge pull request #1481 from Areloch/MiscFixes_20250525
Misc Fixes and improvements including updated autosave handling
2025-05-27 08:03:08 -05:00
JeffR 51a43d5be1 Fixed bad return type for AssetManager::getAssetLooseFile 2025-05-26 22:18:14 -05:00
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
JeffR bb7ee38bf4 - Reimplements autosave logic to handle levels, subscenes and terrains in a more consistent, reliable way.
- Adds entry to RMB menu in Asset Browser to restore an asset to a backup copy taken from autosaves
- Adds reparent out-of-bounds objects button to SceneGroup inspector
- Adds ability to have SubScene have a different loading bounds from the actual subscene bounds, allowing load triggering to happen ahead of the bounds of the subscene itself
- Fixes asset importer handling of animFPS field to be the correct type
- Adds onInspect handling to GameBase allowing better handling for any game class type with editor integration
- Add getAssetLooseFileCount and getAssetLooseFile to AssetManager to be able to iterate over all loose files associated to an asset
- Add standard/default preload function def to forestItem
- Fixes handling of text placement on GuiIconButtonCtrl when text is set to the right
- Adds setGlobalCenter utility function
- Adds ability to set guiInputCtrl active state
- Matched util functions for tracking if left and right mouse buttons are down to EditTSCtrl alongside the existing middle mouse
- Add empty element sanity check to appMesh loader
- Add callback for GameBase when game is created
- Add default graphics options config for steamdeck
- Fix typo in assetImportConfig default
- Filters SceneGroup utility buttons in inspector to only show for relevent class types
2025-05-25 07:40:10 -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 78667ca43f Update ScriptTest.cpp
use case insensitive tests when interacting with script
2025-05-20 16:14:53 +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