Commit graph

1226 commits

Author SHA1 Message Date
JeffR bf9692a451 Updates DecalRoad, MeshRoad and River to be able to write out via persistManager using specialityField functions, similar to ConvexShape
Fixes behavior with gamemode selection in ChooseLevelMenu so if there is only one gamemode, it is auto-selected and advances to the level selection
Update ExampleLevel in ExampleModule to have updated gamemodes field name
2024-12-15 23:48:16 -06:00
JeffR 81ac23fd35 Merge branch 'SubScenes_Gamemode_PR' of https://github.com/Areloch/Torque3D into development 2024-12-15 18:39:03 -06:00
JeffR 61d9e82ce5 Adds FIELD_SpecialtyArrayField field type and handling for it in PersistenceManager, as well as a use-case of it for the surface field in ConvexShape 2024-12-07 13:20:30 -06:00
marauder2k7 7810ee4f51 Update guiMaterialPreview.cpp
light movement now makes sense
2024-12-05 00:34:17 +00:00
marauder2k7 a92b9d0e2d code review with az
changes per review, frustum wasnt dirty... i like it dirty
2024-12-05 00:17:44 +00:00
marauder2k7 e7a7935bd4 Update guiMaterialPreview.cpp
more "fixes"
2024-12-04 23:59:43 +00:00
marauder2k7 291c5c75b6 Update guiMaterialPreview.cpp
use mSaveFrustm to keep states between object switches
2024-12-04 23:45:32 +00:00
Areloch 49c76cc486
Merge pull request #1332 from Azaezel/alpha41/configConfusion
correct malformed config passalong
2024-11-27 01:29:09 -06:00
AzaezelX f8f9e88dc6 correct malformed config passalong 2024-11-26 19:56:34 -06:00
Brian Roberts 65e11745fa
Merge pull request #1330 from Azaezel/alpha41/FixGLBDetection
fix glb detection
2024-11-25 21:03:56 -06:00
AzaezelX b1f68ec3fb fix glb detection 2024-11-25 21:03:29 -06:00
JeffR e56df92002 Used the math from PathShape updating to standardize updating the transform of the child objects 2024-11-17 14:53:04 -06:00
JeffR 75fb6683f5 Fixed up render transform handling for SceneGroups 2024-11-14 20:23:23 -06:00
JeffR 2c8adfdf93 Fixed child relative transforms for when SceneGroups are updated 2024-11-14 19:29:41 -06:00
JeffR 9ff2a56466 Fixed issue of mis-transforming child objects so rotation would be weird when rotating subscenes
Fixed issue of action buttons breaking with subscenes when going between child-object manip modes and not
2024-11-13 17:10:27 -06:00
Brian Roberts 1be326e0d0
Merge pull request #1297 from marauder2k9-torque/matrix-templated
Template Matrix class
2024-11-07 16:17:38 -06:00
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 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
JeffR 20a01d9f02 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into SubScenes_Gamemode_PR 2024-09-28 22:11:39 -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 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 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 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
marauder2k7 888332a85c rest of the implementation
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01: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
marauder2k7 776a9b9024 Update particleEmitter.h
....how was this working before.....
2024-07-22 21:37:51 +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
marauder2k7 547b8c8c8c Merge remote-tracking branch 'upstream/development' into PhysicsDiscovery-tests 2024-06-25 13:17:39 +01:00
Brian Roberts 760c153232
Merge pull request #1288 from Azaezel/alpha41/posePoking
pickanimation filter fix, with docs
2024-06-15 14:30:52 -05:00
AzaezelX 7ac714606f proper formulation 2024-06-11 16:08:07 -05:00
AzaezelX 61978fa4da pickanimation filter fix, with docs
sorts the order of operations flaws clang was complaining about, with explainations on why
2024-06-11 15:21:24 -05:00
AzaezelX a58f98167f handle missing virtual destructors
clang translation: destructinplace needs to know what to erase.
2024-06-10 13:20:09 -05:00
marauder2k7 25d6ee5372 backup
backup commit
2024-05-20 12:21:37 +01:00
marauder2k7 2d2d3c7560 PlaneConvex
Working example of a plane convex type, now groundplane does not need to create a box for its collisions.
2024-05-19 01:18:50 +01:00
Areloch b77911bdcd Exposes the SceneObjectTypeMasks as an enum type, allowing it to be utilized in inspectors.
Updated Trigger triggeredBy field to utilize new enum type for editing
Updated MaterialDefinition's animFlags field to utilize appropriate enum type for editing
Fixed image reference in bitmask inspectorField type to use correct image asset name
2024-05-04 09:56:04 -05:00
AzaezelX 3a7f3beb64 play steering thread on server so mounted objects like turrets can be linked to it 2024-05-02 21:01:16 -05:00
marauder2k7 ce4d861658 Test PR for generating cubemap mips
note ibl skips prefilter step and prefilter just becomes the cubeRefl.getCubemap()

Generates cubemap mip levels after the bake correctly on DX side.
2024-04-18 07:56:52 +01:00
AzaezelX 785872d398 getPrefabByCHild should skip NULLs 2024-04-15 13:20:09 -05:00
AzaezelX 00bdc913b0 onAssetRefresh(); already chains. no need to call that again 2024-04-06 17:14:56 -05:00
AzaezelX 40d38cc1ec uneeeded 2024-04-06 16:48:02 -05:00
AzaezelX 5ff83138cf need to set state to ok post-load and pre-changesignal callback 2024-04-06 16:39:31 -05:00
AzaezelX 3ace31c68c crashfix work for hot-editing shape assets tied to tsstatics 2024-04-06 14:48:22 -05:00