Commit graph

4680 commits

Author SHA1 Message Date
JeffR e2d0cc1981 Fixes issue where Regenerate Bounds button for SceneGroup/SubScenes wasn't displaying by moving it to Editing inspector group
Added mode toggle for if changing the transform influences the child objects of a SubScene or not
Added onSelected/onUnselected callbacks for SimObjects to allow contextual behavior in the editor
Added functionality of programmatic/dynamic Tool Button Palettes
Added logic so when selecting SubScenes the world editor palette has new buttons for letting the move/rotate actions influence the child objects
2024-11-05 20:14:36 -06:00
JeffR 10d1aeca1f Shift tracking of dynamicObjects from strict child objects for Scenes, to tracking the objects but keeping them in the Cleanup Group to fix prefab loading behavior
Shifted to utilizing SimGroupInterator and persistenceManager to fix saving issues with SubScenes
Shifted to utilizing SimGroupIterator for Scene saving to standardize and minimize object misses
Changed prefab load file logic to add loaded child simgroup to rootscene for consistent tracking and avoiding conflicts with subScene's hijacking the ImmediateGroup var
Reduced duplication of build<type>field callback for inspectors
Added more standard field type lookups to inspector group when creating a field to avoid misses for types like 'F32' or similar.
Folded the added-on MinSize/MaxSize/SimgroupSelect fields for SimGroup editing into a single compound field and fixed bugs with it's behavior so it works as expected now
2024-10-27 20:04:13 -05:00
JeffR 484ece3d28 adds loadIf conditional eval, onLoad/UnloadCommands, ability to freeze loading state and per-subscene ticking for conditional checks
Fixes for child iteration of subscenes
Renamed tripCondition field in triggers to tripIf for consistency/naming clarity
Added ability for callbacks for gamemode to have reference on which subscene was loaded/unloaded for respective callback
2024-10-21 00:08:07 -05:00
JeffR dde0ffe32f Merge branch 'SubScenes_Gamemode_PR' of https://github.com/Areloch/Torque3D into development 2024-10-20 11:14:52 -05:00
Areloch 43501127ec
Merge pull request #1327 from Azaezel/alpha41/matrixMangle
fix(?) assimp to torquie matrix converter
2024-10-04 16:25:01 -05:00
JeffR e4d07c7e8d Adds utility function and method to be able to enact a load of subscenes at a specific world position
Adds loadIf conditional logic to evaluate if a subscene is 'allowed' to load when tested
Adds isAlwaysActive to GameMode to be able to flag a gamemode as being defaulted to on and used automatically
Updated GetGameModesList function to return an arrayObject of the gamemodes found
Overhauled CallGameModeFunction to utilize the gamemodes list with active/alwaysActive modes being called against, rather than level-scanning
Updated ChooseLevelMenu to be able to toggle on/off multiple gamemodes with an image indicator if it's active or not
2024-10-04 00:10:26 -05:00
AzaezelX bb432dc906 fix(?) assimp to torquie matrix converter
it wasn't accounting for the formatScaleFactor (1, 0.01, ect) leading to mesh deformations based on bone vs skinned mesh displacement
2024-09-30 22:39:00 -05:00
AzaezelX 99bcf7ca3e fix forest editor failing to pop up a create new
reminder note for if switches in c++, it it fails once in an or evaluation, that's it. it does not try other portions
2024-09-30 19:45:32 -05:00
JeffR 20a01d9f02 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into SubScenes_Gamemode_PR 2024-09-28 22:11:39 -05:00
AzaezelX 7664b63071 snap syncing
for world and convex shape editors
2024-09-22 14:34:07 -05:00
Brian Roberts e7585f15ab
Merge pull request #1316 from Azaezel/alpha41/colorPickerCleanups
colorpicker cleanups
2024-09-17 10:24:03 -05:00
AzaezelX ead06b845e colorpicker cleanups
largely focuses on removing extraneous code and mangled math
2024-09-16 13:24:41 -05:00
AzaezelX afeb957601 fix malformed GBitmap::getColor 2024-09-16 12:40:18 -05:00
Areloch a931e9a308 Tweaks the Scene and SubScene save calls to handle simGroups to call onto their children 2024-09-05 13:49:13 -05:00
Areloch 6ff92f61bb Fixed SceneGroup onInspect call to call up through parent
Adds utility methods and SimGroup onInspect injection to add a select button in inspector to select objects under simgroup
2024-09-03 18:25:28 -05:00
Areloch d896a2b99a Removed scan-down of subscenes from Scene's getObjectsByClass call
Properly returned value for SubScene::save()
2024-09-01 17:14:08 -05:00
Areloch 03efedab37 Adds a TORQUE_TOOLS_EXT cmake flag/preprocessor and moves the systemCommand method into that so that one can lock down full shell command execution calls without dropping tools support 2024-09-01 16:55:58 -05:00
Areloch ae8eca48e1 Implementation of Subscenes, SceneGroups and Gamemodes
Standardizes Gamemodes to be an actual class with data and utility functions that can be parsed
Adds inspector field handling for selecting gamemodes
Updated Scene class to work with Gamemodes for the gamemode field
Updates editor suite elements to be able to create SubScenes, SceneGroups and Gamemodes
Adds ability to convert SimGroup to SubScene
Updates BaseUI's chooselevel menu to have gamemode selection and filters shown levels based on selected gamemode
2024-09-01 16:39:00 -05:00
Brian Roberts bb81b687eb
Merge pull request #1308 from Azaezel/alpha41/loglunk2
(backup) correct malformed error reporting
2024-08-28 17:23:08 -05:00
AzaezelX 30dcf0bf78 (backup) correct malformed error reporting 2024-08-28 17:22:44 -05:00
Brian Roberts 5d4925bec7
Merge pull request #1273 from Azaezel/alpha41/steeringSupport
play steering thread on server so mounted objects like turrets can be…
2024-08-28 17:15:28 -05:00
AzaezelX 24a1636edd correct malformed error reporting 2024-08-28 17:14:42 -05:00
Brian Roberts 0d07823ecd
Merge pull request #1305 from Azaezel/alpha41/beNormal
let normal maps handle raw file locations (imposter support)
2024-08-26 20:08:09 -05:00
AzaezelX 2629d28520 let normal maps handle raw file locations (imposter support) 2024-08-22 18:16:19 -05:00
AzaezelX 1055dc8415 guiaudio crashfix on exit
further ensure sound playback isn't even started unless the test condition is true and the gui element is awake
remove redundant sfx->stop(). already does so with SFX_DELETE(source)
2024-08-07 21:51:36 -05:00
Brian Roberts 35e50b54b9
Merge pull request #1302 from Azaezel/alpha41/guiAudioCtrlFixes
guiAudiocCtrl fixes
2024-08-07 17:51:13 -05:00
AzaezelX 7678f680a4 fix light emission point for shapebaseimaged
light generally comes from the muzzle of a gun, not the ground
2024-08-07 11:02:46 -05:00
AzaezelX 9b5f137f77 guiAudiocCtrl fixes
ditch description: not needed.
set process ticking off when the gui element is put to sleep
for the case of re-use of 3d sounds, set emission to the listener position
2024-08-05 17:51:17 -05:00
marauder2k7 9d51fc2830 fix packing
now openal and sdl are embedded in the app bundle along with their symlink alternatives
clear out the openal framework and use the embedded dll instead

archiving works and will produce a notarized app if you provide the correct information and enable hardening.
2024-08-04 14:54:25 +01:00
marauder2k7 d62b40a9bf initial commit
this commit fixes the copying of dependencies into the app sandbox
2024-08-03 14:43:57 +01:00
Brian Roberts 95c7e9f3f2
Merge pull request #1299 from Azaezel/alpha41/abFixes
fix guiwindowCTRL callback
2024-07-29 04:06:16 -05:00
AzaezelX 265ce8429b fix guiwindowCTRL callback
also set asset browser to use rows or columns depending on which dimension is longer
2024-07-28 05:51:03 -05:00
Areloch c0dec83a21
Merge pull request #1296 from Azaezel/alpha41/revertReformulation
roll back player animation picking
2024-07-26 17:15:46 -05:00
AzaezelX b5e1b32064 roll back player animation picking
old one worked better even if it made the compiler scream
2024-07-26 10:25:02 -05:00
AzaezelX eaa09a6db7 corrections:
fill in missing SceneObjectTypes enums.
parity with simobject.cpp and objecttypes.h
correct inspector display
2024-07-24 20:43:36 -05:00
AzaezelX 72c67e196a Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into Enumnanigans 2024-07-24 17:58:27 -05:00
Brian Roberts 7db28feb67
Merge pull request #1292 from Azaezel/alpha41/openALUpgrade
open al upgrade
2024-07-23 14:46:03 -05:00
marauder2k7 324acaf896 Update uuid.cpp
code review from Tron better method for uuid toString
2024-07-23 13:36:49 +01:00
marauder2k7 665fc092aa Update uuid.cpp
remove dmalloc
2024-07-23 13:09:23 +01:00
marauder2k7 80a1f0a0c5 Update uuid.cpp
add a malloc to target to make sure it has the length to take the string
2024-07-23 08:07:54 +01:00
marauder2k7 0853748f12 Update uuid.cpp
2 pass format_token, 1st gets the length required second passes it to target.
2024-07-23 07:58:03 +01:00
marauder2k7 3e57c709d9 Update uuid.cpp 2024-07-23 01:33:26 +01:00
marauder2k7 b1e7b817d2 Update duDebugDrawTorque.cpp 2024-07-22 21:40:57 +01:00
marauder2k7 776a9b9024 Update particleEmitter.h
....how was this working before.....
2024-07-22 21:37:51 +01:00
marauder2k7 56a89ee0b0 Update consoleFunctions.cpp 2024-07-22 21:20:54 +01:00
marauder2k7 6807abc8b6 ID10T error
no default does not need case -_- id10t error, few other fixes
2024-07-22 21:12:48 +01:00
marauder2k7 a621cc5100 various warnings
warnings cleanup
2024-07-22 20:59:48 +01:00
AzaezelX b12ece4627 from @marauder2k9-torque: remove typedefs as al.h now defines them, linux fix 2024-06-30 15:08:02 -05:00
AzaezelX d7fde2135e update lib/cmakelists for revised default compiler flags 2024-06-30 14:36:57 -05:00
AzaezelX 6721a6b021 update openal 2024-06-30 14:35:57 -05:00