Commit graph

5268 commits

Author SHA1 Message Date
AzaezelX bd44ee5341 misc cleanups related to ranges
gui padding is a >=0 element
guitabbookctrl.selectedPage defaults to -1
shape editor triggers derived from textrows must ensure they are actually loking aty an entry. -1 is the return value of" not found"
2025-10-07 16:31:24 -05:00
Brian Roberts 191e69e589
Merge pull request #1568 from Areloch/ShapeEditorFixupsAndImprovements
Updates the ShapeEditor with various fixes and QoL changes
2025-10-06 07:42:49 -05:00
JeffR c5a810ae06 Updates the ShapeEditor with various fixes and QoL changes
- Updates the position/extent of most of the labels and fields so they no longer cut off or overlap
- Added a new button for explicitly added sequences based on existing sequences. This lets the Add Sequence button be exclusive for adding in new sequences from external assets improving stability and making the general behavior more consistent
- Adding new sequence now prompts a window to pre-fill data like the sequence name, source sequence name and start/end frames
- Made the shapeConstruct handle the adding of sequences handle the lookup of external assets consistent to the rest of the engine
- Fixes name presentation for ShapeAnimationAssets in AB
- Adds separate dropdown for the sequence properties section for picking the desired source sequence name. This makes it possible to pick an external animation source AND the internal sequence name via the UI, instead of needing to script it by hand
- Fixed saving behavior to properly restore the playback thread
- Fixed saving behavior to not needlessly save the asset def when editing sequences but before you clicked the save button
- Made it so clicking the Assets tab in the select window opens the AB, but re-selects the Scene tab so you're not fighting which tab is selected
- Adjusted positioning defaults of all the windows so be more standard
- Fixed openShapeInShapeEditor behavior
2025-10-06 03:14:12 -05:00
Brian Roberts 4e266ecab8
Merge pull request #1567 from Azaezel/alpha41/zlibUpdate
upgrade zlib to 1.3.1
2025-10-05 23:33:00 -05:00
Brian Roberts 071de73021
Merge pull request #1566 from TristonC13/development
addressed some refBase.h warns
2025-10-05 23:32:50 -05:00
Brian Roberts a107273e0b
Merge pull request #1561 from Azaezel/alpha41/playerPoking
player extendabilty flexpoints
2025-10-05 23:32:40 -05:00
AzaezelX 8a54622bd7 upgrade zlib to 1.3.1 2025-10-05 14:16:49 -05:00
Triston Caton c24d0211bd more constexprs
# Conflicts:
#	Engine/source/core/util/refBase.h
2025-10-05 13:24:54 -04:00
Triston Caton 8d1e95b3f3 resolved constexpr constructor not mem-initializing member variables 2025-10-04 19:38:30 -04:00
Triston Caton 4fc85ba717 addressed some refBase.h warns 2025-10-04 17:18:38 -04:00
Brian Roberts ed717abaf7
Merge pull request #1565 from Azaezel/alpha41/DisMaxDist
change per slot maxdistance to maxSlotDistance
2025-09-30 17:14:56 -05:00
AzaezelX 2316c164e9 change per slot maxdistance to maxSlotDistance
it conflicts with the general xaxDisance
2025-09-30 17:14:30 -05:00
AzaezelX 5989bca127 playaudio related fixes
soundassets in general: initialize the ease to default
for the ShapeBase::updateAudioState, we never call that without first checking if the asset is defined, *and* isvalid is not valid if it's never tried loading it. so that's both redundant *and* actively counterproductive for a filter
2025-09-29 22:13:12 -05:00
AzaezelX b8e135759f player extendabilty flexpoints
set several variables and methods to prtected instead of private for ease of inheritance
2025-09-27 15:38:08 -05:00
Brian Roberts f1723bbb28
Merge pull request #1560 from marauder2k9-torque/assimp-armature-fixes
DSQ Fixes
2025-09-23 13:22:34 -05:00
marauder2k7 10acab1b07 more fixes
DSQ Fixes
2025-09-23 19:09:20 +01:00
AzaezelX b69c0d2a0f even more precice filtering for dts vs dsq 2025-09-23 11:52:50 -05:00
marauder2k7 2606b6366b Assimp just armature tests
Remove the check for incomplete scene
Move child recursion to assimpAppNode in BuildChildList
same for meshes
2025-09-23 15:59:24 +01:00
AzaezelX f5875dd5a2 reinforce dsq or dts filter 2025-09-23 08:51:24 -05:00
Brian Roberts a8d370038a
Merge pull request #1556 from Azaezel/alpha41/addMeshAug
allow the addmesh command to take shapeassets as an entry
2025-09-23 08:41:57 -05:00
AzaezelX d813be4ea0 allow the addmesh command to take shapeassets as an entry 2025-09-23 08:41:38 -05:00
marauder2k7 e55247e015 Update CMakeLists.txt
Skip adding properties to precompiled libs
2025-09-23 14:31:15 +01:00
Brian Roberts eb380e58a3
Merge pull request #1554 from Azaezel/alpha41/decalAtlasWipWork
decal atlas and decal editor corrections
2025-09-22 08:49:42 -05:00
AzaezelX 19822e119a take uv coordinates into account for decal projection box 2025-09-20 12:25:16 -05:00
Brian Roberts ba56a8861b
Merge pull request #1553 from Azaezel/alpha41/reskinShank
remove redundant reskin
2025-09-19 09:46:43 -05:00
AzaezelX 7f1b83f1c6 remove redundant reskin 2025-09-19 09:36:46 -05:00
AzaezelX 82435693dd decal atlas support work
allow a textureCoordCount to be used raw when texrows and coumns are not >1 in order to let the transmitted vector actually be used

correct and augment editDecalDetails to now read
      DecalEditorGui.editDecalDetails( %this.instanceId, %pos, %tan, %size, %uvID  );
it needed the word split to begin with, and also added the uvID for instance frame tracking/overriding
same token added a  getDecalFrame(%this.instanceId); method

todos: add a frame lookup and selector for the instance tab, modify decal display to account for non-square uv portions
2025-09-19 09:09:55 -05:00
JeffR 11548d2630 Added early-out check if we're already successfully loaded 2025-09-15 21:26:56 -05:00
JeffR ce1be5e881 Makes sure the loading code for terrain assets is properly assigned.
This ensures stuff like saving works properly.
2025-09-15 21:16:34 -05:00
AzaezelX cd5f897e55 dsqs area subset of dts data
ensure if an input file contains mesh data *and* an animation, thats a dts, if it's *just* an armature, that's dsq
also fix shapeanimation tooltip display
and for furutere utility,  TSShape::isShapeFileType(Torque::Path filePath); is now static since it only requires a path, not an object instance per-se
2025-09-14 15:18:03 -05:00
Brian Roberts dae9642ef8
Merge pull request #1549 from Azaezel/alpha41/filterForFBX
expand TSShape::addSequence filetype filtercheck
2025-09-13 17:08:31 -05:00
AzaezelX caae061b0e expand TSShape::addSequence filetype filtercheck
if we're going to be looking into additional file formats for animation sources, need to check all of the extensions
2025-09-13 10:14:52 -05:00
Areloch d7d64fdd9f
Merge pull request #1548 from Azaezel/alpha41/eventManagerSafeties
reformulation of subscriber message consumer
2025-09-12 00:46:56 -05:00
AzaezelX 6389b32f9b reformulation of subscriber message consumer
add extra safeties to subscriber message recipts

and just for good measure, don't bother listening for an event that will never be triggered
2025-09-11 22:28:44 -05:00
Brian Roberts 3bb948b431
Merge pull request #1547 from Azaezel/alpha41/nixFixProbePoke
fix filename referencing for isfile on unix derivative o/s's
2025-09-11 15:51:21 -05:00
AzaezelX 20924fb38d fix filename referencing for isfile on unix derivative o/s's 2025-09-11 14:57:56 -05:00
JeffR 50e05800f4 Fixes issues with shifting the gui selection dropdown to be searchable via the Ex control. 2025-09-06 19:28:14 -05:00
AzaezelX ba32094b7b update openal-soft to 1.24.3
keeping the alt 87514151c4 (diff-73a8dc1ce58605f6c5ea53548454c3bae516ec5132a29c9d7ff7edf9730c75be)
2025-09-03 11:09:27 -05:00
Brian Roberts 12db0500e8
Merge pull request #1543 from Azaezel/alpha41/curdledCurl
redundant file cleanup
2025-08-26 18:40:23 -05:00
Brian Roberts 9b266cc6bd
Merge pull request #1542 from Azaezel/alpha41/stabbyStabilizers
hovervehicle stabilizer fix for groundplane (and other things)
2025-08-26 18:40:14 -05:00
AzaezelX d345640298 redundant file cleanup
httpobject is a curl-modeule dependent class. that already exists in the curl module
2025-08-26 18:35:00 -05:00
AzaezelX b28aaa8baa hovervehicle stabilizer fix for groundplane (and other things)
use the generic collisionmask for the stabilizer castrays
2025-08-26 11:59:05 -05:00
Brian Roberts e73efc13c4
Merge pull request #1541 from Areloch/MiscFixes_20250825
Misc small fixes, improvements and QoL tweaks
2025-08-26 01:43:57 -05:00
JeffR 9c654d7932 - Fixes the display of the preview in the MaterialAsset fields
- Hides the special-case direct filepath field for ShapeAsset persist fields macro
- Shifts the handling of TSStatics so the shape instance will load materials on the server as well as the client. This opens gameplay options as well as allowing rebaking of meshes functionality more easily
- Expands AssetBase's isValidAsset utility function to actually check validity instead of just returning true
- Adds isValid utility function to AssetPtr
- Added new field flag that makes the field not write out to file
- Removed legacy iconBitmap field from GuiIconButtonCtrl because it was causing errors
- Fixed group filtering check of guiInspector to ignore case
- Removed unneeded isFile checks for common datablock script files in Prototyping module script
- Removed test datablocks from Prototyping module
- Removed unnecessary container control from AssetBrowser
- Adjusted preview regen logic of AssetBrowser so it doesn't trip if you're simply resizing the window
- Fixed issue where row-vs-column layout logic for AssetBrowser when resizing window was fiddly
- Added handling for when Dragging and Dropping datablock from AssetBrowser to spawn, it'll prompt if it spawns the actual object, or a spawnsphere that spawns said object. In the event of an PlayerData will also prompt if it should spawn an AIPlayer
- Added ability to take a TSStatic that uses a baked down mesh and are able to restore it to the cache prefab, or trigger and in-place rebake to refresh it if something has changed in the original contents via RMB menu on the scene tree
- Added ability to explode prefab to RMB menu on scene tree
- Added ability to convert selection to prefab or bake to mesh in RMB menu on scene tree
- Tweaked sizing of the DatablockEditorCreatePrompt window to not have cut off elements and easier to see/work with
- Added sanity check to datablock editor creation
- Fixed preview display of material in Decal Editor
- Made compositeTextureEditor use the cached preview of images
- Fixed sizing/spacing of gui selection dropdown as well as resolution dropdown of GuiEditor
- Fixes MaterialEditor to properly save the group collapse state when editing
- Adds ability to in-flow edit and create datablocks in the NavMesh Editor for the testing panel, and makes the datablock dropdown searchable
- Fixed issue where opening the ShapeEditor via the edit button on a ShapeAsset field would cause the action buttons on the top bar to not show
- Fixed error in shape editor where when exiting it was erroneously checking for a clear value of -1 rather than 0
- Removed unneeded top tabbook and tab page for main editor panel
- Fixed issue where reset button of TerrainBrush Softness Curve editor didn't actually reset
- Resized Object Builder window to not cut off elements and have enough width to show more data
- Added a TypeCommand field type to Object Builder and changed spawnscript field of SpawnSphere to use it rather than a simple text edit field
- Allow SpawnSphere in ObjectBuilder to be passed in spawn class and spawn datablock default info
- Injects button to controllable objects when Inspecting them to make it easy to toggle if you're in control of it or not
-
2025-08-25 23:35:28 -05:00
Brian Roberts 6ee643d137
Merge pull request #1540 from Azaezel/alpha41/tabCycling
add tab cycling between inspector sub-elements
2025-08-24 19:57:05 -05:00
Brian Roberts 5a6ff8d118
Merge pull request #1537 from Azaezel/alpha41/wonkyWheels
skip transmitting server authorative wheel spin
2025-08-24 14:29:44 -05:00
AzaezelX 67f4ce44a6 add tab cycling between inspector sub-elements
for linked values like position, scale, extents ect
2025-08-24 12:11:31 -05:00
AzaezelX 3123935472 correct DECLARE_<foo>ASSET assigns
use string compare there, not pointer compares
2025-08-21 15:40:07 -05:00
AzaezelX a0bd5dd426 from marauder: sleep threshold work 2025-08-19 08:49:05 -05:00
AzaezelX d5a111e9ff set isAtRest report to read-only 2025-08-19 08:29:50 -05:00