Commit graph

3863 commits

Author SHA1 Message Date
Jeff Hutchinson 2e006390f8 Add GFXFormatA8L8 for OpenGL 2022-09-15 17:59:00 -04:00
AzaezelX 567e766ffe correct a flaw with mapto importing.
addImportingAsset was improperly applying cleaning to cleanAssetName rather than leaving it as the raw origional. may or may not want a tighter target there
2022-09-12 01:10:20 -05:00
AzaezelX 90cb07a550 uniform float targetRatio; var by request 2022-09-04 13:15:50 -05:00
Areloch fb5ad738e0
Merge branch 'development' into MiscFixes20220829 2022-08-30 01:31:42 -05:00
Areloch cd82186231 Fixes setter issue for image/shape/material custom inspector fields where it was not correctly passing through the changed value from the Asset Browser select
Swapped the water's disableTrueReflections variable to be enableTrueReflections for simplicity and consistency(also fixed a persistent typo)
Swapped disableVerticalSync to be enableVerticalSync for simplicity and consistency
Swapped disableParallaxMapping to be enableParallaxMapping for simplicity and consistency
Fix click detection on slider mode entries for guiGameSettingsCtrl so the click position correctly matches the percentage
Fixed problem where postFX initialization would always exec default.postfxpreset.tscript, even if a level's got it's own preset, which can cause problems
Fixed range field type behavior so that editing the values applies in real time, and also consistently applies between slider and text field
2022-08-30 01:29:39 -05:00
AzaezelX 73c1a902de cAps fix 2022-08-29 21:43:14 -05:00
AzaezelX 65275a8a35 leftover profile reference flaw 2022-08-29 21:18:20 -05:00
AzaezelX b79b1ae65e remove leftover 2022-08-29 20:39:04 -05:00
marauder2k7 5d85664b40 Change GuiProfile to use Sound Asset
-Added SoundAssetInspector to bypass circular issue
-Added SoundAsset to GuiTypes
2022-08-29 23:40:51 +01:00
marauder2k7 fe47048293 Mac OpenAL 1.1
Added compatibility function to return max sources the old way.

If openal 1.2 method returns 0 it will do it the old way.
2022-08-29 20:06:29 +01:00
marauder2k7 5b1e20f28c OpenAL Mac
Cleanup print functions cos mac hates them. All these functions did was print what was capable on openal anyway end user doesn't really get any benefit from this. Will save these for the refactor.
2022-08-29 18:04:55 +01:00
AzaezelX 5453d53f4c correct capturing flag test 2022-08-28 17:24:59 -05:00
AzaezelX 748f884671 adds light fade and cap trackign to probe manager
prebake removes them, postbake restores them to ap settings.
also went ahead and threw the probes::capturing val at it as well
2022-08-28 14:27:15 -05:00
AzaezelX 111f0c840d probe capture cleanups pt1
fix high-metalness object capture (had the lerp the wrong direction for canceling out NULL-ibl due to full metallic)
use dStrcmp for (Con::getVariable("$Probes::Capturing", "0") comparisons. and early out on rendering probes when we are capturing, not when we aren't.
2022-08-27 17:25:35 -05:00
AzaezelX d24df92a8b Revert "provide a new levelinfo. fallbackAmbient value for scenes with no global light source"
This reverts commit 270cf0e054.
2022-08-27 15:14:09 -05:00
Areloch ded99cd8cb * Fixes handling for Image, Material and Shape Assets' inspector fields so they properly work with non-object targeted inspectors, such as the PostFXEditor
* Updated PostFXEditor scripts to handle refreshing properly when certainl field types(assetId fields) are changed
* Adjusted display handling of slider values on guiGameSettingsCtrl to show 0.x decimal format instead of 0.xxxxx
* Fixed pad length of item names in guiTreeView for items that are marked to avoid console spam
* Fixed local offseting for popupMenus so scaled/offset window position doesn't cause the popup menu to offset from mouse click position(courtesy OTHG_Mars)
* Fix issue with terrain where, due to default value save validation, the global scope for the terrain collision list would be whiped when saving, causing players to fall through terrain. Moved to per-terrain convexLists
* Fixed issue with the core camera model mesh and updated references so camera bookmarks display properly
* Fixed console spam during asset browser initialization where it would try and expand the directory tree even though the dir tree isn't populated yet
* Fixed handling of Open File Location RMB menu action to properly deal with script and datablock types
* Removed unusuable "Create ___" asset type prompts from the RMB menus for the AB to avoid confusion
* Improved slider offset positioning for various popup sliders on editor toolbars
* Anchored the visibility popup menu to the button for more consistent formatting and better feel
* Shifted various visibility toggles from 'in place' on the menu buttons to functions, allowing it to also properly mark the menu entries as checked or not, improving usability
2022-08-26 15:25:17 -05:00
Brian Roberts a4cda42328
Merge pull request #852 from OTHGMars/WinShiftArrow
WinKey+Shift+L/R Arrow handler.
2022-08-23 17:34:51 -05:00
AzaezelX 270cf0e054 provide a new levelinfo. fallbackAmbient value for scenes with no global light source 2022-08-23 13:59:48 -05:00
marauder2k7 3eca15cb31 OpenAL Internal name
-Now there is an internal name for openal and a default name for the device to be displayed
2022-08-16 15:55:56 +01:00
marauder2k7 52dc5cf3da Device Name
-OpenAL wraps device name in brackets, if found return only device name.
2022-08-16 11:02:36 +01:00
marauder2k7 4006615723 OpenAL Initialization
-Device capabilities left until a device is actually selected and is loading
-ALDEVICEINFO possibly no longer needed.
-aldlist possibly no longer required as well.
2022-08-16 08:33:26 +01:00
marauder2k7 16062fb996 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into development 2022-08-16 08:25:32 +01:00
AzaezelX f4cc0e8151 default translucency for PBR authoring tools generally assume premul, not lerpalpha nowadays 2022-08-15 16:50:06 -05:00
OTHGMars 13a53dd0ca WinKey+Shift+L/R Arrow handler.
Attempts to constrain canvas when switching between monitors via keyboard shortcut.
2022-08-15 03:10:42 -04:00
marauder2k7 d02f5da414 OpenAL enumeration fix
Openal enumeration after default device loading.
2022-08-14 10:36:02 +01:00
AzaezelX 5ec4e8fb62 forgot the.h 2022-08-07 15:55:42 -05:00
AzaezelX 23bc293b88 Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into alpha40/tsStaticCleanup 2022-08-07 15:55:22 -05:00
AzaezelX a75c64fef3 tsstatic aug cleanups
1- adds a hasNode method to see if a named node exists
2- cleans up getNodeTransform nomenclature and notes, and adds safeties
2022-08-07 15:16:08 -05:00
AzaezelX 4fd8436911 targeted fix for #45
as there was no consensus on conversion to explosions from the RFA, holding 7a88b2d489 on back untill we adress that in the ECS pass with 4.1
2022-07-31 13:24:01 -05:00
Areloch 0a1fd3c278
Merge pull request #831 from Areloch/MiscFixes20220724
Misc FIxes 2022/07/24
2022-07-30 01:02:44 -05:00
Brian Roberts 332193b53a
Merge pull request #835 from Azaezel/alpha40/pathShapeSillies
pathshape cleanups and callbacks
2022-07-29 17:22:46 -05:00
Brian Roberts 14d1b16892
Merge pull request #833 from Azaezel/alpha40/particlePainPunt
particle emission safeties
2022-07-29 17:22:35 -05:00
AzaezelX f4e6060b52 pathshape cleanups and callbacks
sceneObject:
   UpdateXformChange(mat); operates on the parent object, so made no sense to shove it in void SceneObject::PerformUpdatesForChildren(MatrixF mat){
provide callbacks for when the parent/child relationship changes

simpath+camerapline+pathshape
provide a mechanism to embed a callback for a pathshape defined on a path node. example:

            new Marker() {
               seqNum = "7";
               hitCommand = "TheCommand" // <------------------------------;
               position = "-17.0856 -92.2349 4.00051";
               rotation = "0.0334943 -0.254411 0.966516 179.495";
            };

function PathShapeData::TheCommand(%this,%obj)
{
    echo("Do the thing");
}
2022-07-27 16:35:09 -05:00
Brian Roberts c8db2ea955
Merge pull request #834 from Azaezel/Preview4_0
soundAsset profile and description getter fixes
2022-07-27 16:29:06 -05:00
AzaezelX f59c5f152f soundAsset profile and description getter fixes 2022-07-27 16:28:07 -05:00
AzaezelX 77ef842670 particle emission safeties
both for player specifically, and emission in general
2022-07-27 16:26:58 -05:00
Joseph d56227fccd Update TORQUE_GAME_ENGINE_VERSION_STRING version number 4.0.0
Update TORQUE_GAME_ENGINE_VERSION_STRING version number to reflect current version 4.0
I somehow forgot to push this with my pull request #486 commit 6f52b87360
2022-07-27 20:18:06 +01:00
Brian Roberts 70971f7c6c
Merge pull request #830 from Azaezel/alpha40/boundsDisplayfix
fix bounds box display
2022-07-24 20:56:09 -05:00
Areloch dbf60a95a2 Adds handling to winVolume's _BuildFileName so if it's a filename-less filename(has only extension but no name) then we process the filename string correctly
Adds logic so when trying to do a path copy, if it's not a valid source filename, we merely fail the copy, rather than crashing due to a nullref
Makes guiPopUpCtrlEx respect the mActive flag so the mouse cannot interact with it if it's inactive
2022-07-24 13:12:46 -05:00
AzaezelX 74d847c513 fix bounds box display 2022-07-24 00:14:19 -05:00
JeffR 305e4851e0 Fixes issue with using Edit Asset in RMB menu in AB on datablocks where it wouldn't correctly recognize the datablock
Fixes issue where the local sfxProfile in a sfxEmitter would share pointer reference to the utilized shapeAsset's sound buffer, so when it's deleted it would nuke the soundAsset's buffer, causing reference exceptions
Adds includes to torqueConfig.h in several files that are blocked out with TORQUE_TOOLS to ensure that if the flag is on in the config file, the files are loaded/compiled as expected
Add sanity check to AssetManager::unloadAsset to ensure that the assetDef being unloaded was actually correctly loaded/registered into the console in the first place
2022-07-02 23:27:18 -05:00
AzaezelX 0aab4b63a5 make sure the volfog manager is dead before we kill scene 2022-06-26 10:04:26 -05:00
AzaezelX f0b218f1e2 fix shape errorcodes
corrects out of bounds flaw
2022-06-16 22:07:45 -05:00
Brian Roberts b753c9d91c
Merge pull request #713 from Ragora/feature-vfs-security
Feature: VFS Security
2022-06-16 21:23:49 -05:00
Brian Roberts 41f5350173
Merge pull request #815 from Azaezel/alpha40/TORQUE_TOOLS
fix TORQUE_TOOLS = off compilation
2022-06-16 21:23:38 -05:00
Robert MacGregor 35b348f93c * Adjustment: Change Platform::makeFullPathName to use "game:/" as cwd if none is specified. 2022-06-16 19:04:43 -04:00
Robert MacGregor 2a865d387a * BugFix: When loading sound assets, don't resolve the absolute path. 2022-06-16 18:46:25 -04:00
Robert MacGregor 2b8f9e3999 Merge https://github.com/TorqueGameEngines/Torque3D into feature-vfs-security 2022-06-15 18:12:39 -04:00
AzaezelX a808990bc6 you want the higher number, not the lower 2022-06-15 16:46:54 -05:00
Brian Roberts 003ba9f059
Merge pull request #818 from Azaezel/alpha40/fixForward
fix computeForwardProbes shadergen gl side
2022-06-14 23:18:15 -05:00