Commit graph

1947 commits

Author SHA1 Message Date
Brian Roberts e8028b93a7
Merge pull request #1403 from Azaezel/alpha41/spawnSphereShaping
ObjectBuilderGui::buildSpawnSphere
2025-03-01 18:41:08 -06:00
AzaezelX 0562e2fea6 ObjectBuilderGui::buildSpawnSphere
adds a build callback for the add menu->markers->spawnsphere, using the general case presentation
2025-03-01 18:40:49 -06:00
AzaezelX 5f1eec0e00 expand playgui callbacks to also allow game modes to inject element layers 2025-02-27 14:41:21 -06:00
AzaezelX 41133624e3 reduce redundant calcs for the dampen method.
remove overemphasized normal infleunce on groundcover foliage
2025-02-25 15:46:41 -06:00
AzaezelX 34bc015d3e correct high metallic objects lacking color input 2025-02-25 02:45:53 -06:00
Brian Roberts 7bb8587db5
Merge pull request #1388 from Azaezel/alpha41/erosionBrushes
additional terrain brushes
2025-02-20 12:08:22 -06:00
AzaezelX 1ac6ad0887 icons 2025-02-18 20:41:26 -06:00
AzaezelX 25ea164a1f add a pasteUp and pasteDown pallet 2025-02-17 23:42:19 -06:00
Brian Roberts 2bacfca540
Merge pull request #1387 from Azaezel/alpha41/buttonPalletBump
fix buttonpallet extents misalignment
2025-02-17 23:27:43 -06:00
AzaezelX 7b42080b9e fix buttonpallet extents misalignment 2025-02-17 23:27:23 -06:00
AzaezelX 561c201b88 copy paste support for terrains 2025-02-17 22:10:56 -06:00
AzaezelX 2eb2cbc302 add erosion brushes
todo: sort why noise... isn't.
2025-02-17 05:48:15 -06:00
Brian Roberts bb1cd32838
Merge pull request #1386 from Azaezel/alpha41/oninspectDBFilter
add a datablock namespace hook for onInspect
2025-02-15 20:26:55 -06:00
AzaezelX 818d76d481 add a datablock namespace hook for onInspect 2025-02-15 17:38:11 -06:00
AzaezelX 516df48354 adds a built in detail map generator
splitTerrainMaps("data/some/file"); or  makeTerrainMapsFrom("module:anAsset"); to take a detailed albedo map and split it into a _bas(is) file thats an averaghe of the inut and a _det(ail) file to raise and lower different channels from that average.
special note: while used primarily for terrain authoring, these files could also be plugged into a normal material
2025-02-06 14:46:05 -06:00
Brian Roberts b47ffb2f28
Merge pull request #1379 from Areloch/VariousSubSceneFixes
Various Subscene Fixes
2025-02-06 12:16:49 -06:00
JeffR 0d338f2d51 * Update levelAsset creation so it can be flagged to be creating a subScene preemptively, improving workflow when creating a SubScene level asset 'in place' via the inspector.
* Fixed issue of creating new SubScene using the full level template instead of a blank level file
* Fixed subScene inspector field handling so clicking the create new will mark the 'in place' created level asset as a subscene appropriately
* Changed up persistenceManager logic when parsing objects out - especially with specialty fields - to use Strings instead of const char* to simplify memory juggling and improve stability
* Rolled back specialty array field outputs for decal roads and convex shapes to have the field names in the output again
* Added sanity check for MeshRoad's when writing out via specialty array field to ensure there are profile nodes before trying to write any
* Added sanity check to avoid pointlessly writing out meshroad and river position field into subScene file as it could cause a transform double-up and cause them to move when loading from a subscene
2025-02-05 22:51:43 -06:00
AzaezelX cf92b29898 take ao into account for the brdf diffuse component 2025-02-03 11:51:53 -06:00
Brian Roberts f71f4e051f
Merge pull request #1375 from Azaezel/alpha41/conoleCleanups
Don't report keybinds unless asked
2025-01-30 17:31:15 -06:00
AzaezelX 3797038664 Don't report keybinds unless asked
Do report where you're saving prefs
2025-01-30 17:29:31 -06:00
Brian Roberts cb63b382ff
Merge pull request #1373 from Azaezel/alpha41/matEDmangle
fix material editor becoming nonresponsive when specifically dragging…
2025-01-29 00:16:31 -06:00
AzaezelX 5a0b9a5120 fix material editor becoming nonresponsive when specifically dragging and dropping a texture 2025-01-29 00:16:03 -06:00
Brian Roberts cd2213de36
Merge pull request #1371 from Azaezel/afxZodiacFindings
Afx zodiac findings
2025-01-27 18:57:28 -06:00
Brian Roberts fdbac265b7
Merge pull request #1363 from marauder2k9-torque/ColorPicker-refactor
Color picker refactor rev2
2025-01-27 11:31:17 -06:00
marauder2k7 c4a6159faa Update core.tscript
change the execution order so sfx is initialized right after rendering
2025-01-26 21:04:52 +00:00
marauder2k7 f519cff6ff gui types using image_asset 2025-01-23 22:12:57 +00:00
marauder2k7 fa8110ce8f all DECLARE_IMAGEASSET refactored 2025-01-23 22:12:55 +00:00
marauder2k7 7ffb27dab3 Update colorPicker.ed.gui 2025-01-23 19:24:11 +00:00
marauder2k7 d06a28041d Update colorPicker.ed.gui 2025-01-23 19:22:50 +00:00
marauder2k7 704e304eef display correct values
Few fixes to display float values if the inspector field asks for floats
Split Hsb out from colorI now linearColorF can return HSB from its own color without having to go through the colorI conversion, hopefully gets rid of rounding errors etc since we are only doing the calc once.
2025-01-23 19:06:35 +00:00
AzaezelX 967fa62ddd shaders/common/ no longer exists 2025-01-23 11:19:27 -06:00
AzaezelX fa1380acc5 add missing shaderData defines. don't ask if something exists before creating it 2025-01-23 11:18:52 -06:00
marauder2k7 48ca98ca84 color palette saving
for now saves palette colours as their hex value. This will miss out on the alpha value.
2025-01-23 14:46:05 +00:00
marauder2k7 46192c3709 Eye dropper functionality
Adds eye dropper functionality
adds eye dropper button image supplied by jeff
adds a few missing asset files (due to in asset browser scan and add all loose files)
2025-01-23 10:18:18 +00:00
marauder2k7 d5d7f9b91b missed glsl shader changes
missed a few glsl shader changes
fixed gradient to look correct with selected underlay colour
2025-01-22 21:32:07 +00:00
marauder2k7 5ca1c37fe9 more fixes for hsb conversion and gui updated 2025-01-22 19:14:40 +00:00
marauder2k7 29a9bd7917 ground work before gui 2025-01-22 17:21:46 +00:00
GATTOUMIDE 88b5bf9245 Fixes camera speed slider and minor gui adjustments 2025-01-22 00:04:01 -03:00
AzaezelX 52dbef6f5f correct misbehaving ibl
got turned around on which pass returned the surface.basecolor when ign orelighting was on.
refine dampen method o stop fighting grass
2025-01-20 19:45:22 -06:00
Brian Roberts a0d1eda965
Merge pull request #1358 from Azaezel/alpha41/saveAsSignature
fix level saveas
2025-01-18 22:04:36 -06:00
AzaezelX aea3879698 fix level saveas
.getCount()  != .count()
2025-01-18 22:02:56 -06:00
Brian Roberts 6b1a811689
Merge pull request #1355 from Azaezel/alpha41/roughTime
roughness was ramping up mip levels too slowly
2025-01-09 10:50:01 -06:00
AzaezelX 439438cd1f roughness was ramping up mip levels too slowly 2025-01-09 10:24:52 -06:00
AzaezelX 87024fe53a fix overdark default sun ambient setting 2025-01-08 18:18:07 -06:00
AzaezelX 59d6ec1a0f adjust spherical probe attenuation curve to steepen with to assist with blending 2025-01-08 11:13:04 -06:00
AzaezelX a4266a1336 fix distance falloff misassignmen. fix uninitialized attenuation in root probes 2025-01-07 23:48:34 -06:00
AzaezelX 5a2ec2731f shift attenuation to probes in general. 2025-01-07 16:58:50 -06:00
JeffR 8d63e3008e Adjusts final call invoke of when we spawn to after we have both the spawnObject type as well as a spawn position
Also adds a check so if we have spawned as just a camera, it scopes down to the client correctly
Correctly has the shortcut calls activate for the spawn override callbacks if no modules or gamemodes are able to respond to them
2025-01-07 07:14:48 -06:00
Brian Roberts 8274bbbca4
Merge pull request #1342 from Areloch/SpawnObjectOverrideOverhaul
SpawnObject Override Overhaul
2025-01-03 09:44:37 -06:00
JeffR 46f6f6a9da Added field to ModuleDefinition for priority, which can be used to process/sort them in priority order
Added logic to ModuleManager's findModules method to allow priority sorting as well as pre-filtering by a given module group
Adjusts the %isFine argument for the onMapLoadFailed callback events to %canContinueOnFail for a bit more clarity on what the arg conveys
Shifts the setSpawnObjectType, setSpawnPoint and onPostSpawn call stack to utilize an event manager to allow the setup process for spawners and gamemode prepwork to run in it's own time, if needbe. Such as if a gamemode has to generate a map and there's no guarantees on when it'll b e done for one client vs another
Added getModulesAndGameModesList, callOnObjectList and getNumCanCallOnObjectList utility functions
2025-01-03 00:37:25 -06:00
AzaezelX 6113373efc fix several missing palletbars 2024-12-29 15:59:08 -06:00
Brian Roberts 783f2a03b4
Merge pull request #1341 from Azaezel/alpha41/probeOffsetFix
fix probe capturepoint nudge utility
2024-12-23 03:12:07 -06:00
JeffR c5ae9af0ae Core now spawns a ControlObject directly, with callbacks allowing overriding of values to control what spawns (and what occurs afterwards) to tie several tracking variables to a given client connection.
By default this list of variables would be:
%this.spawnClass = "Camera";
%this.spawnDBType = "CameraData";
%this.spawnDataBlock = "Observer";
%this.playerSpawnGroups = "PlayerSpawnPoints PlayerDropPoints";
%this.spawnPoint = "";
%this.spawnLocation = "0 0 0";

Also adds several callbacks so that these values can be overridden by modules and gamemodes, kicked off from the %client.spawnControlObject(); command :
callOnModules("setSpawnObjectType", "Game", %this);
callGamemodeFunction("setSpawnObjectType", %this);

callOnModules("setSpawnPoint", "Game", %this);
callGamemodeFunction("setSpawnPoint", %this);

callOnModules("onPostSpawn", "Game", %this);
callGamemodeFunction("onPostSpawn", %this);

This is to ensure that a game mode can supersede modules, but even modules can dictate spawn behaviors for minimalist implementations and drop-in interop support
2024-12-21 02:11:35 -06:00
AzaezelX 9eb87b9555 fix probe capturepoint nudge utility 2024-12-16 12:01:53 -06:00
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
marauder2k7 66aa127fca delete these 2024-12-11 20:34:50 +00: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 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
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
AzaezelX 218caea9e8 remove filtes on misbehaving brushes.
correct range defaults
2024-10-28 09:39:02 -05: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
AzaezelX 149f6cc5bf expose min/max height filters to terrain sculpting tab 2024-10-24 15:17:19 -05:00
AzaezelX 24933a1cc7 add min/max tile height entrys to painter, apply those to the general isvalid check for a given tile alteration. apply that to more brushes. 2024-10-24 13:37:45 -05:00
AzaezelX 85955479c8 terrain mask work
adds an isValid(gridinfo tile) command to prefilter out grid elements of a specified nature
applies that to SetEmptyAction::process
also corrects sliderbar positions for terrain painting elements, as ell as adds a min/max slope for removal

potential TODOs: apply it more places pending feedback. add a min/max hieght filter as well
2024-10-23 17:50:07 -05:00
JeffR 020bd03cf9 Adds logic so levels without a gamemode defined at all are treated as wildcarded to any given gamemode selected 2024-10-04 00:22:12 -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
JeffR 3442aceb0f Updates most of the handling of asset types to follow a more standardized type-registration system.
This streamlines much of the code and makes it easier to find and follow how different asset, object and file types are handled by the asset browser
Also clears out various bits of cruft and old commented blocks of code
2024-09-28 16:09:56 -05:00
Brian Roberts 00e5482733
Merge pull request #1323 from Eikelenboom/development
Add extra increased font size to Windowed Console
2024-09-24 18:32:42 -05:00
Nils Eikelenboom 8f2dbd5e2f Add extra increased font size to Windowed Console
Added extra large font to the windowed console.  Use the [-A]  [A+] buttons to change the size.

Preferably would introduce "lineSpacing"  to the GuiConsole object for improved readability; as well to store this into the prefs.
2024-09-24 21:43:01 +02:00
Brian Roberts b6efb96191
Merge pull request #1322 from Eikelenboom/development
Windowed Console button close / open / resize
2024-09-24 14:13:56 -05:00
Nils Eikelenboom 02b86eafee Windowed Console button close / open / resize
- Close the windowed console when it's opened and the button is hit.
- Resize/reposition the window after reopening.
- Add a button to the GUI editor.
2024-09-24 20:52:41 +02:00
AzaezelX 8461b9dbfd asset browser spam kill
don't report populating preview images if the count is 0
also, remmber to cancel a pending scheduled method if you're rescheduling it
2024-09-23 08:59:36 -05:00
Brian Roberts fe3e47309d
Merge pull request #1319 from Eikelenboom/development
Remove tabs from asset broser & windowed console
2024-09-23 08:34:45 -05:00
Brian Roberts a132d73595
Merge pull request #1320 from Azaezel/alpha41/snapsync
snap syncing
2024-09-23 08:34:34 -05:00
AzaezelX 7664b63071 snap syncing
for world and convex shape editors
2024-09-22 14:34:07 -05:00
Nils Eikelenboom 0291b000e0 Remove tabs from asset broser and win. console
Remove the tabs from the asset browser and windowed console. There were some issues and asset browser will be changed soon. Downside is that the windowed console and asset browser will now open on top of each other.
2024-09-22 19:36:48 +02:00
AzaezelX 3fe21e8808 typofix 2024-09-22 05:55:38 -05:00
Brian Roberts e9638d285f
Merge pull request #1317 from Azaezel/alpha41/ohSnap
preserve gridsnap state between runs
2024-09-17 10:24:14 -05:00
AzaezelX 0612d8508d preserve gridsnap state between runs 2024-09-16 13:52:11 -05:00
AzaezelX ead06b845e colorpicker cleanups
largely focuses on removing extraneous code and mangled math
2024-09-16 13:24:41 -05:00
Nils Eikelenboom 491f2e8bac Sanitize the window resizing scripts
Instead of magic numbers using a variable with comment so it's clear what is does.
2024-09-13 20:14:43 +02:00
Nils Eikelenboom ce8a10ba0a Correct Color Picker GUI text & text edit controls
Some text was black on dark which is hard to read. Due to use of non-existing or incorrect profiles. Title is also updated to be visually in line with the rest of the world editor.
2024-09-12 21:27:23 +02:00
Nils Eikelenboom 7031424214 Undo changes to the default level
Sorry that got snuck in there
2024-09-12 20:22:59 +02:00
Nils Eikelenboom dffb557930 Adjusting window titles to fit properly
Because of the large width & height of the Arial font at 18 did the window titles not fit properly. Font has been decreased and made bold for the sake of distinction. Additional has the terrainpainter window's position been corrected (terrainEditor.ed.tscript)
2024-09-12 18:16:25 +02:00
Nils Eikelenboom f38352501d Correct undefined background Main Tab
Correct the background of the world editor main tab with a (new) solid fill. Sometimes it appeared as black, magenta or the just the scene itself. Color is fixed for now as it is a unique situation regarding the use of tabs here.
2024-09-10 22:07:02 +02:00
Nils Eikelenboom 8b049e3b01 Correct positioning sidepanels
Sidepanels of the world editors got shifted due to the introduction of the editor tab. Several corrected overall. Some minor tweaks to be expected in a later commit.
2024-09-10 20:39:54 +02:00
Nils Eikelenboom b0a11d79d5 Remove space below/above toolbars
Remove the (thin) space between the world editor toolbars.
2024-09-10 13:20:11 +02: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 4bb26bf96c Reorganized the exec's for datablocks in module template file to be within the start/stop blocks
Tweaked example module script file to comply
Moved ExampleGameMode script file to scripts/shared since client and server need access to the gamemode for logic to work
2024-09-01 23:26:10 -05:00
Areloch d7335a73e4 Removed dummy placeholder function stub 2024-09-01 17:59:24 -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 2dbfc16cf9
Merge pull request #1309 from Azaezel/alpha41/ICeeUuu
clean up surface property visualizer
2024-08-30 05:59:23 -05:00
AzaezelX 9da7823074 clean up surface property visualizer
stateblock cleanups, and kill off stray glowbuffer leftovers
2024-08-29 19:17:24 -05:00
AzaezelX 39300b18a8 fix misbehaving imposter display
corrects display of imposters when pole capture is on
2024-08-28 10:33:12 -05:00
AzaezelX e4b1a869a3 hook up baseline button audio 2024-08-06 08:37:53 -05: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
AzaezelX bb77091361 update d3dCompiler_47
this one's been vetted for steam decks
2024-07-28 04:33:10 -05:00
Areloch 8ce6fb96ad Ensures there's a regular fallback actionmap for toggling the game menu 2024-07-24 10:48:55 -05:00
Areloch c9a1955b47 Removes old remaining refs to PauseMenu
Updates and moves the escape keybind to be an actionMap that is activated/deactivated in the UI module when a client connection is processed to keep it within the module's functionality
2024-06-28 20:47:42 -05:00
AzaezelX 56e4484ff6 remove glowbin as it's own render pass 2024-05-30 17:29:42 -05:00
marauder2k7 2132379b05 backwards compat
Changed: addCollisionDetail now has its fill mode at the end for easier backwards compat
2024-05-16 21:21:34 +01:00
marauder2k7 92b10df7eb cleanup nodes
ADDED: functionality to clean nodes out of the script that are related to a specific target
ADDED: functionality to clean multiple addCollisionDetails from the script
ADDED: ColConvex get added as nodes now and dont just get skipped (for future reference ColMeshes are checked for colConvex are not but this will be needed in future)

Removed: erroneous deletion of nodes and meshes from shapeEditorActions tscript file.
2024-05-16 07:04:54 +01:00
marauder2k7 25b0c5e2b1 finish fill mode setting
now fill mode actually takes effect and changes the fill mode type used to generate the convex hull
2024-05-16 04:32:14 +01:00
marauder2k7 f963a78446 TEST progress
Adding multiple collision hulls and shapes through the shape editor now works as intended though with multiple convex hulls it does produce a few lag spikes on first load of the objects.
2024-05-15 07:32:26 +01:00
marauder2k7 78f6206cde repurposed sliders
repurposed and renamed the 2 sliders in the gui to be for settings in vhacd
added the drop down for fillMode types but it is not hooked up to source yet
2024-05-14 17:20:17 +01:00
AzaezelX 6c3a412275 add search bar to datablock inspector 2024-05-13 21:33:45 -05:00
AzaezelX fe26ffc375 shift capturing from a globalMacro to a sceneRenderstate S32
lets us ditch shader recompilation so that can be done on the fly without hitches, though does cost us a per-shader const for objects and postfx
2024-04-16 13:51:41 -05:00
Brian Roberts 71e0626ec2
Merge pull request #1254 from Azaezel/alpha41/brokenArrow
fix arrowPrimative badfilereference
2024-04-15 01:35:20 -05:00
AzaezelX fdbc55b733 fix arrowPrimative badfilereference 2024-04-13 16:28:56 -05:00
AzaezelX 2a941e733e asset browser was passing along screen position, not scene position based on drop at options 2024-04-13 15:23:30 -05:00
Brian Roberts 2aeebbe4c4
Merge pull request #1244 from Azaezel/alpha41/serverGroupFix
fix serverGroup not being created
2024-03-24 22:07:55 -05:00
AzaezelX 563912c181 fix serverGroup not being created 2024-03-24 19:44:44 -05:00
marauder2k7 fc8a281113 Update WorldEditorInspectorWindow.ed.gui
Scroll bar was extending beyond its parents extent making it render incorrectly.
2024-03-20 19:01:08 +00:00
Areloch b1f71bab74 Adds handling for the keyboard remap page of the options menu to be able to present a bind with a modifier key 2024-03-19 23:05:03 -05:00
marauder2k7 51624b7ce8 macosx changes
changes required to get masox to run.

Some further changes possible required around resourceHolder in future.

The geometry shader works in macosx with gl version 3.3, though i do think some changes are required internally to account for a lack of OUT_col%
2024-03-15 15:17:25 +00:00
marauder2k7 a7dabae88a Update helperFunctions.tscript 2024-03-14 11:30:52 +00:00
marauder2k7 bd7bbd782c Revert "Merge branch 'development' into ShaderConstBuffer-CleanupRefactor"
This reverts commit ae11d996d9, reversing
changes made to e6c653c441.
2024-03-14 08:32:29 +00:00
marauder2k7 ae11d996d9 Merge branch 'development' into ShaderConstBuffer-CleanupRefactor 2024-03-14 08:28:29 +00:00
marauder2k7 fbed04050a gui shaders for opengl
First opengl geometry shader along with the other shaders for gui rendering opengl side.
2024-03-09 18:34:43 +00:00
marauder2k7 d9c4269d8b bug fix
deleteSelection when an output node had multiple connections only the first one was deleted, needed a new function to return a vector of connections that are now looped and deleted at the end of delete selection.

few other minor additions and fixes.
2024-03-07 17:22:48 +00:00
marauder2k7 dbbd9383e7 better rounded rect 2024-03-07 10:20:06 +00:00
marauder2k7 0d448ad761 smoothing out results from gui shaders
roundedRectangle and circle drawing now smooth out their results
2024-03-07 09:47:18 +00:00
marauder2k7 c9d70de609 extra draw gui
add the extra functions for drawing gui elements
RoundedRectangle:

All draw rect functions now pass through roundedRectangle which uses a shader and can draw borders, and rounds the corners

Draw thick line:
draws a line thicker than 1 pixel, uses a geometry shader to do this

Draw Circle:
Draws a circle with a border parameter.
2024-03-06 17:27:18 +00:00
marauder2k7 66d8f0f55c Update profiles.ed.tscript 2024-03-05 13:15:54 +00:00
marauder2k7 b2095db575 can key focus 2024-03-04 17:15:13 +00:00
AzaezelX 24562e6758 aug ArrayObject to have a uniquePair command
like uniqueket and uniquevalue, removes duplicate entries, but only if *both* match
also, use that for the populateAllFonts() cache generator
2024-03-03 22:04:09 -06:00
marauder2k7 daa0cfef3a shader node editor test
node editor functioning correctly, connections needed next
shader nodes to be added in the next commit also
2024-03-03 21:13:58 +00:00
marauder2k7 457cdd00bb shader editor ground work
Adds the ground work for shader editor
Adds the base gui for the shader editor
2024-03-02 20:09:45 +00:00
marauder2k7 6355da5df6 various fixes
STB probably shouldn't fail on failed info, just continue.
Assimp only add sequences if there are any.
Update kork chan asset.
2024-03-01 15:01:47 +00:00
AzaezelX 3ab716063f doc correction 2024-02-23 12:39:26 -06:00
AzaezelX 4d1395dd57 from mar: fix the opengl cookie uv lookup 2024-02-23 11:23:07 -06:00
AzaezelX c27b9bf48f allow spotlights specifically to comprress ies based on angle differentials 2024-02-23 01:28:15 -06:00
AzaezelX bbe9bc8871 missed a 1d convert 2024-02-22 23:47:57 -06:00
AzaezelX 14b6822e49 a) use a 1d texture for this
b) if we're going to optionally assign iesProfiles via shadowMacros.push_back, should specify the entries for the samplers too
2024-02-22 17:53:53 -06:00
AzaezelX 0b7fd2f0b3 ies bugfixes 2024-02-22 16:00:26 -06:00
marauder2k7 7fb14e17b5 Create jelly-fish.ies 2024-02-21 10:16:07 +00:00
marauder2k7 973d2792ed Delete A23D-Pathway-&-Accent-Light.ies 2024-02-21 10:15:44 +00:00
marauder2k7 3b4a15d7aa Some test ies profiles
IES profiles to my knowledge are not only free to download, but also free to distribute. you can get packs with thousands of these, i am uploading 3 test ones for now.
2024-02-21 10:14:29 +00:00
marauder2k7 39ec0305f9 GLSL To match
Update the glsl side to match hlsl ies profile usage
2024-02-21 08:24:24 +00:00
marauder2k7 4417462499 Add support for both ies and cookie
Both ies and cookies can now exist on a light

We are still not using all the capabilities of an IES profile, such as candela and luminance values we are just using them as a mask for the moment

Issues compiling on mac and linux, will need to update the ies-loader to use torque methods instead of std::
2024-02-21 07:40:57 +00:00
marauder2k7 a12d915180 Loads an IES Photometric profile.
ADDED: Ability to add IES profile as the cookie texture slot in both point lights and spot lights

TODO:
Have the IES Profile also drive the settings for the lights.
Make it work with Cookie textures. IES profiles are to be another slot in the advanced light section.
2024-02-21 06:22:37 +00:00
Brian Roberts 429585f060
Merge pull request #1217 from Azaezel/alpha41/crashFyxMatED
temp workaround for material editor crash
2024-02-20 14:12:16 -06:00
AzaezelX 60758dd5a2 temp workaround for material editor crash
selection swapping is causing an apcrash
notDirtyMaterial.delete(); *should* work, but we know what they say about assumptions.
supressing deletion of workspace material kill off and recreation pending proper review
2024-02-20 14:11:58 -06:00
Areloch 7563130545 Fixes the guiEditor inspector search bar extents and clear button position 2024-02-14 00:34:52 -06:00
Areloch 3734ef8e5b Added search behavior to guiEditor's inspector as well 2024-02-14 00:23:27 -06:00
Areloch d890c530f9 Adds logic to be able to set a search string on an inspector that will be used to filter displayed fields.
Adds a textEdit filter box to the main world inspector that hooks into the primary inspector for said search functionality
2024-02-13 20:33:14 -06:00
Brian Roberts 59fc6d3d65
Merge pull request #1214 from Azaezel/alpha41/fixAnimScrubberPos
fix animation scrubber position
2024-02-10 15:15:40 -06:00
AzaezelX 7c7a213f94 fix animation scrubber position 2024-02-10 15:15:09 -06:00
AzaezelX acef688a45 correct main entry to 128 2024-02-10 14:49:54 -06:00
AzaezelX ddddf112a4 revert "defaulting" to shapeEditorplugin 2024-02-10 14:43:35 -06:00
AzaezelX 85e5cfec3c set object editor previewBackground element to .5s instead of .0s to stop blowing up eye adaption 2024-02-10 14:41:12 -06:00
AzaezelX 359ec3aa43 set object editor previewBackground element to .5s instead of .0s to stop blowing up eye adaption 2024-02-10 13:47:44 -06:00
Brian Roberts 600a6b8ebc
Merge pull request #1192 from Areloch/EditorPopupEXFieldExpansion
Usability improvements for editor fields utilizing popup menus
2024-02-07 19:29:07 -06:00
Brian Roberts 1ee85334b0
Merge pull request #1197 from Areloch/UpdateBaseUILoadingScreen
Updates the loadingGUI to utilize the same panels for the background coloration that the other new menus use, rather than a bitmap.
2024-02-04 00:12:01 -06:00
Brian Roberts e68643c6ce
Merge pull request #1194 from Areloch/onClientMissionLoadedCallback
Adds a callGamemodeFunction invoke for when the client is done loading the mission so the gamemode can do stuff once the player is done loading, but before fully connecting/spawning in
2024-02-04 00:10:29 -06:00
Brian Roberts 4078a41f17
Merge pull request #1198 from Areloch/MiscBaseGameFixes_20240203
Misc BaseGame fixes
2024-02-04 00:10:09 -06:00
Brian Roberts f940360b96
Merge pull request #1199 from Azaezel/alpha41/sfxSafties
sfx safeties
2024-02-04 00:09:56 -06:00
Areloch 1bdaef9f82 * Ensures the HDRBloom pref is properly set as part of the default settings
* Adds a few input names to the bitmap button lookup for the BaseUI logic
* Properly defaults the current menu index for the GameMenu gui
* Ensures that all editing actions for forest editor flag the editor/map as dirty for saving
* Ensures editor messageBoxes are properly focused on popping up
* Returns the newly created camera bookmark objects from their create functions
2024-02-03 23:15:35 -06:00
AzaezelX c4b30b74fd clarify variable types. you want to pass assetIDs, not actual profiles 2024-02-03 22:39:21 -06:00
Areloch 303a107c29 Updates the loadingGUI to utilize the same panels for the background coloration that the other new menus use, rather than a bitmap. 2024-02-03 18:03:55 -06:00
Areloch aa3d51c3cc Removes some old entity/component code from the level load process that isn't used anymore 2024-02-03 17:16:41 -06:00
Areloch b0b0cbfaef Adds a callGamemodeFunction invoke for when the client is done loading the mission so the gamemode can do stuff once the player is done loading, but before fully connecting/spawning in 2024-02-03 17:09:11 -06:00
Areloch 9c643a69cf Adds a callback invoke for objects in the scene to inform them if the level is being saved. Allows for certain special actions, like having objects reset to an original position before the save occurs. 2024-02-03 16:24:12 -06:00
Areloch d952722811 Updates the field types used in the editor to utilize the GuiPopUpMenuCtrlEx to make them support categories and be able to search filter them
Updates the dataBlock field type to properly present categorized listings
Expands the datablock Field to have an edit and add buttons on the field to make the workflow simpler
Adds utility functions to GuiPopUpMenuCtrlEx to control indentation, categories and searchability
Expands datablock editor functionality to be able to create a datablock of a type to pre-set the inheritFrom param of the process early(used for the add new button on DB fields to carry-through the current DB to the creation process of a derivative)
2024-02-03 16:10:28 -06:00
marauder2k7 e6554e9abc Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2024-01-23 08:48:12 +00:00
Brian Roberts b66445e85f
Merge pull request #1187 from Azaezel/alpah41/callOnChildrenAUG
extended onCreateGame functionality
2024-01-22 18:59:34 -06:00
AzaezelX cf56265789 extended onCreateGame functionality
now also trips on object instances and datablock namespaces
ensures there's a generic hook for post-load processing for objects created by a scene to reference other objects created during that process
2024-01-21 22:16:15 -06:00
marauder2k7 68a7dadd2b Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2024-01-21 20:14:53 +00:00
AzaezelX 2dc67d5b43 fix orm compositing save script
also fix emissive checkbox savestate retrieval
2024-01-20 17:50:12 -06:00
marauder2k7 7216ba8530 Revert "revert #1148 as prematurely incorporated"
This reverts commit f946088214.
2024-01-20 18:01:57 +00:00
Brian Roberts a919d53eee
Merge pull request #1182 from Azaezel/alpha41/revertSTB
revert #1148 as prematurely incorporated
2024-01-19 13:21:02 -06:00
AzaezelX 86408058a3 fix vheicle add dropwdown spawntypes 2024-01-17 13:11:43 -06:00
AzaezelX f946088214 revert #1148 as prematurely incorporated
it's getting there, but there have been a few spots noted where it eroneously corrupts text, so we'll have to pull this back out for a bit barring a proper resolution
2024-01-11 13:33:03 -06:00
AzaezelX fb6ec7bb6e ObjectBuilderGui augs
1) adds a buildAIPlayer entry so we can tag it as a bot while still using the normal playerdata datablock
2) adds a "contol?" tickbox for player, and the 3 vehicle types when spawning one that will put the editor directly into control on creation
2024-01-08 19:28:38 -06:00
Brian Roberts cf7e9f7a00
Merge pull request #1172 from Areloch/BaseUIUpdate_Wipwork
BaseUI Update
2024-01-05 14:30:00 -06:00
Areloch 833d17ccfc - Cleaned up elements in ChooseLevelMenu and ensured onscreen button had correct command
- Ensured there's always a level selected by default on the chooseLevelMenu
- Added a small delay to try and ensure the level/server config tab key hints align properly
- Added logic so you can't swap to server config page on chooseLevelMenu if in single player mode
- Added server description to server details line on JoinServerMenu
- Ensured programmatically added elements aren't saved out if GUIs are edited
- Fixed back-out prompt in OptionsMenu properly backs out so it doesn't break menu nav
2024-01-04 20:30:11 -06:00
AzaezelX f4491f8202 typofix. also, repopulate pref GuiTextEditCtrl each onWake just to be sure 2024-01-04 13:10:17 -06:00
AzaezelX e4342079f1 function ChooseLevelMenu::fillPrefEntries( %this ) utility method to set gui elements to prefs 2024-01-04 12:55:07 -06:00
AzaezelX 2fee2902f6 don't automatically set the server password 2024-01-04 12:07:57 -06:00
AzaezelX 5e334eb196 don't save map population elements when editing
track addOption entry/slider/group position in the overall list, and use that found key to hook in the "<" and ">" subelements for selection purposes
2024-01-04 11:54:28 -06:00
Areloch c809dbb4be - Ensures if there is a $pref::server::password set and you're creating a localConnection game, you can connect even if you don't have a client password set
- Changed ChooseLevelMenu layout to have a vertical list for levels with a static preview set, as well as a separate tab for server configs if trying to create a server
- Added field to set password for connecting to passworded servers on the JoinServerMenu
- Added sanity check so you can't try and activate a menuList that has no children(caused error spam)
2024-01-03 23:45:36 -06:00
Areloch 150684a47d - Complied the SystemMenu buttons to the groupNum highlighting implementation as they're simple buttons
- Fixed issue of Query Server on-screen button tripping a join action
- Added playername textEdit field to Join Server menu
- Fixed issue of messageBox on-screen buttons not making the input events properly after adding the make/break check from prior commit
- Added MenuTextEditProfile for editable text fields in menu
- Fixed issue of not getting the correct shift key bitmap if the button name was l/rshift
2024-01-01 14:11:43 -06:00
Brian Roberts 51426a3575
Merge pull request #1148 from marauder2k9-torque/STBImageLoading-PR
Stb image loading
2024-01-01 08:48:46 -06:00
Brian Roberts 2a577d19eb
Merge pull request #1150 from Azaezel/classPrototypingPresenter
Class prototyping presenter
2024-01-01 08:46:45 -06:00
Areloch e71880b898 - Added a companion global var array for $AudioChannelsName[x] as well as utilizing $AudioChannelCount for keeping better tabs on the active defined audio channels. This allows modules to establish new channels more easily
- Updated the handling of the option slider entries to utilize temp vars and properly complied the audio channel options to the new setup
- Fixed issue where behavior of slider was erratic because of improperly defined tick count
- Added logic to check if audio sliders were changed for the 'check unchanged settings' logic
- Made the keybind remap inputCtrl ignore axis events
- Made the MessageBoxDlg input commands properly check for key makes, to prevent messages boxes from catching key breaks and blowing past follow-up messageboxes accidentally
- Fixed forward/backward iteration of options entries, especially on dpad, and added handling for gamepad stick to do the same
- Added logic so option sliders can also be manipulated by the forward/backward to make it standard for all
- Fixed erroneous marking of "restart required" message as true if any settings change, and not just settings expressly flagged as requiring a restart
2024-01-01 01:42:53 -06:00
AzaezelX 733c9d4b6d clean out unnecessary position set
add a new route for the asset browser to create things in the form of  ".on" @ %assetType @ "GUIEditorDropped(" @ %assetDef @ ",\"" @ %pos @ "\");";
demonstrate it with a soundasset creating a  GuiAudioCtrl when drug onto the canvas
2023-12-31 13:04:45 -06:00
Areloch 67ac556ecd - Added ability to explicitly execute a guiControl's console and altConsole command
- Fixed formatting of resolution strings for the internal values, allowing them to be properly parsed and applied by the options menu/canvas
- Fixed display of Display Device on option's menu
- Fixed Issue of it not displaying any keybinds in keyboard/gamepad options if there's only a single actionmap
- Added 'hold to scroll' action to optionsMenu
- Added apply button to options menu
- Added remap button to options menu when on keyboard/gamepad keybinds categories
- Fixed up the remap logic so remapping a key only unbinds the matched device being bound, so binds for different devices are untouched
- Made keybinds options properly refresh when keybinds are changed
- Shifted keyboard "go" keybind for menu nav from Enter to Space for easier use
- Removed stick keybinds from gamepad
2023-12-31 12:46:48 -06:00
AzaezelX 54a4510bc6 add add dropdown to gui editor
also added general guieditcanvas createobject, onfinishcreateobjec,t and onobjectcreated methods for callback injection points
2023-12-30 23:55:59 -06:00
Areloch f5ab97242f - Added logic to guiButtonBaseCtrl so if highlighted and is part of a group, will signal the siblings in the group as well
- Standardizes highlighting behavior between keybind and mouse highlighting of buttons
- Standardized onHighlighted callback for buttonBase
- Fixed handling of up/down nav with gamepad stick
- Added logic to make holding down nav keybinds iterate over buttons in menu lists
2023-12-27 11:42:43 -06:00
Areloch 36d00e09d3 - Fixed Back on-screen menu button for OptionsMenu wasn't working
- Fixed MainMenu buttonlist not navigating with keybinds after going to optionsMenu and going back
- Fixed menu title text clipping
- Fixed keybind preview images on keybind lists in OptionsMenu being modal
- Fixed btn_l and btn_r bitmap button binding not working
- Fixed a/b and x/y button bitmaps on xbox controllers being flipped
2023-12-27 01:36:58 -06:00
Areloch 6e101595d6 Merge branch 'BaseUIUpdateWipwork_20231219' of https://github.com/Areloch/Torque3D into development 2023-12-26 21:29:24 -06:00
AzaezelX caa93e2179 leverage writeapppend to add any new info requested.
filter out pre-existing callback defines
2023-12-24 15:18:18 -06:00
AzaezelX ace243171e file saving 2023-12-24 12:03:48 -06:00
AzaezelX ca31e4c2c9 leverage the new getMethodSigsNS, getFieldCountNS, and getFieldNS
functions to look up methods and (hardcoded) variables from the classrep rather than creating an instance
this did cost us dynamic variable listing, but that's runtime assignment as-is and can likely be referenced another route in the end
2023-12-24 03:27:18 -06:00
AzaezelX 428f22d728 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into classPrototypingPresenter 2023-12-23 21:29:17 -06:00
Areloch 5d2d04791d Cleaned up old, deprecated apply function causing confusion
Cleaned up old refs to previous unapplied changes system
Added comments to some critical functions to better explain their behavior and purpose, as well as referencing the source files for the graphic and audio options groups
2023-12-21 23:59:19 -06:00
AzaezelX cbc8905e05 add an $undoIgnoreList
of variable names for the editor's genericundoaction to ignore
mostly aimed at action buttons
2023-12-19 22:44:09 -06:00
Areloch df00543502 Implemented apply changes logic
Updated autodetect graphics to complete to new apply changes rules
Made it so gamepad can activate key rebinds
2023-12-19 16:37:23 -06:00
Areloch 70e121595f Most of the keybind/remap stuff finished
Fixed up most of the options apply logic
2023-12-19 02:36:43 -06:00
Areloch 55697cffdb Streamlined baseUI profiles
Implemented audioOptions file with structure to comply to BaseUI options menu
Implemented majority of keybind remapping logic for options menu
2023-12-18 23:49:13 -06:00
Areloch f14c96c2bc Standardized titlebar formatting
Cleaned up some unneeded fields in the gui files
Fixed up querying presentation for joinServerMenu
Removed usages of background image in favor of guiProfiles for various menus
Implemented optionsMenu traversing options categories along with required keybinds
Adjusted some guiProfiles' font sizes to improve legibility on smaller displays
2023-12-17 03:27:30 -06:00
Areloch ce4c8dabc9 Ongoing wipwork of the BaseUI update. Some bugfixes pending 2023-12-16 23:18:33 -06:00
AzaezelX 32c7eb1702 correct mission saveas logic 2023-12-11 12:51:57 -06:00
marauder2k7 ace9cc328b Update assetImport.tscript
add extra formats for stb_image to asset importer
2023-12-08 05:06:24 +00:00
Areloch 616d974212 Wipwork for updating the BaseUI
Adds ability to select an actionmap for a GuiInputCtrl which will push it onto the stack, so menus can enact an action map
Update of the MainMenuGUI to fit new style and have the logic needed for KBM and gamepad navigation
Very early wipwork of OptionsMenu overhaul for new standard
2023-12-06 19:50:51 -06:00
AzaezelX 8c38448428 probe capture fixes
review of per and post bake protocols showed that the CAPTURING shader macro was not being properly recompiled in. as opengl was not playing nice with a simple batch shader recompilation for all effected shaders, a full lightmanager restart is at time of writing required. once we have a proper globally cached scene structure stored off GPU side, we'll want to change  GFXShader::addGlobalMacro("CAPTURING", String("1")); on over to dirtying that value in the cached buffer via setting a shader global uniform
review of prefilter examples shows a fixed sample count of 1024 across multiple implementations, so we'll use the standard barring further research into where that number is comming from for a scalar approach
review of gl shaders shows a doubleup in compiled state testing, so slimmed that down and added additional debugging reports
2023-12-05 13:32:03 -06:00
AzaezelX 045c15fd26 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into classPrototypingPresenter 2023-11-29 14:16:37 -06:00
AzaezelX 9b7d99fc1d typofix 2023-11-29 13:34:27 -06:00
Brian Roberts bb6bc91615
Merge pull request #1144 from Azaezel/alpha41/brdfbadness
overdark causality review
2023-11-29 02:26:39 -06:00
AzaezelX ccfe2478b7 overdark causality review
two things stuck out as proximal causes for an overdark result on community review
1) $PostFX::HDRPostFX::keyValue was significantly too low given existing calculations, so upped that to 00.5 in keeping with the general assumption were remain intending to have that be the dead center value of a luminance range
2)  Fr_DisneyDiffuse input assumptions differ from current engine ones, so reverting that to lambert .
2023-11-28 19:34:09 -06:00
Areloch d867c1f7d0 - Adds Color Calibration card and Material Grid for reference resources to prototyping module
- Adds arrow primitive shape to prototyping module
2023-11-28 18:54:50 -06:00
AzaezelX 4b86e112c8 add safeties 2023-11-24 15:58:35 -06:00
AzaezelX c10808873d hook PrototypeClass(%objectName) on up to inspector
fix dialog close, fix dynamic variable gui element alignment
2023-11-24 15:44:54 -06:00
AzaezelX 81b721c755 wipwork for adding a gui driven class callback method prototyper with command and variable reporting 2023-11-24 14:05:55 -06:00
Areloch 14351b03f3 Fixed typo 2023-11-23 13:38:43 -06:00
Areloch 7e5ccc65bd Removed extra PATTERNs from cmakelists 2023-11-23 13:09:54 -06:00
Areloch 431cffac11 Adds the D3DCompiler_47.dll to ensure it's packed and ready for projects when publishing 2023-11-23 12:46:55 -06:00
Brian Roberts 52e7156436
Merge pull request #1138 from Azaezel/alha41/luxTargTricks
lighting corrections:
2023-11-20 12:03:23 -06:00
AzaezelX 593d0ef9f0 lighting corrections:
1) fix spotlight shadow casting. we weren't properly accounting for reversedepthbuffer there
2) fix mismatched variables in forward lit spotlight param array
3) use disney diffuse in the generalized brdf, and apply it for spotlights after angular attenuation, not before
4) .provide a generailze luxTargMultiplier approach for spot and point lights (as well as future growth areas) so that range, angle ect can impact the brightness variable sent to a given light source shader without perpixel overhead
5) for spotlightParams in particular, use sizeof(point4f) for the alignedarray untill that's properly reviewed/revised
6) narrow attenuation slightly based on a given lights dot product to prevent tool vs outcome leakage, plus provide safeties for when a given spotslight's inner and outter angles match identially
2023-11-18 19:05:12 -06:00
Areloch 20e0fa8ec9 Misc Tools UI fixes
- Fixes the AB's select button not being properly offset to the right side
- Fixes incorrect height offset for the main editor tabbook because of a no-longer-used variable
- Fixes the bottom of the scene tree scroll being cut off
2023-11-16 18:55:18 -06:00
Brian Roberts 917cb882e9
Merge pull request #1136 from Areloch/TabbedEditorFormBaseline
Moves the world Editor guis to be based through a tabbed structure
2023-11-14 19:31:42 -06:00
Areloch 59247bd9ca Moves the world Editor guis to be based through a tabbed structure to make it easier to begin separating out editor/tool guis into their own tabs or elements for better separation.
Currently establishes the MainScene tab and otherwise retains existing behavior directly
2023-11-14 18:58:58 -06:00
AzaezelX 61b7813f11 hide particleemitter dupes
if you have a selected particleemitternode when opening the particle editor, don't show the edit-copy one
2023-11-14 13:11:01 -06:00
AzaezelX 99b024d0c6 kill duplicate ToolsGuiPopupMenuProfile define 2023-11-11 13:34:59 -06:00
AzaezelX 373508f622 add a generic fallback for gamebaseObject spawning via the "add" menu that fills in a generalized datablkock dropdown popup based on class name if a specified one does not exist 2023-11-09 11:51:58 -06:00
AzaezelX fbcfe02098 clean up "Add" menubar categoes on the 3d object side via the following:
SceneObject now defaults to a category of "misc"
getCategoryOfClass now checks parent classes for what categories they hold so that variants can inherit
categories are in one of a few rough groups and subgroups depending on actual mapper needs/usages
2023-11-08 20:42:47 -06:00
Brian Roberts 105e45c56b
Merge pull request #1119 from Areloch/AssetPropEditRefreshFix
Ensures that when the asset is edited via the asset properties window the asset is refreshed in the backend systems as well
2023-10-24 18:42:53 -05:00
Brian Roberts 9ac8bfed8b
Merge pull request #1120 from Areloch/WorldEditorAddMenuAdded
Adds an Add menubar item to the World Editor menubar
2023-10-24 18:42:41 -05:00
Areloch 473e566b70 Adds a separate gui profile for the popupmenus themselves that has a lighter border color, making it easier to keep track of the layout
Fixes the C++ asset creation and management function names so the AB can create C++ assets now
removes duplicate menuBuilder script file
2023-10-24 17:53:37 -05:00
Areloch 4bf7b0d5c0 Adds an Add menubar item to the World Editor menubar that populates SceneObject classes for spawnablility based on the categories assigned to the class itself 2023-10-24 17:36:58 -05:00
Areloch c3ea12f9df Ensures that when the asset is edited via the asset properties window, the asset is refreshed in the backend systems as well 2023-10-22 11:32:54 -05:00
Areloch c2d1e9d654 Expands functionality of MenuBuilder to act as primary API for building out menus
Shifts "Help" menubar entry in world editor to use new API structure as example/test
Removes extraneous 'MainEditor'
Adds EditorCore module
Moved Menubuilder to EditorCore module
Fixes Help Menu editor settings so they properly point at modern documentation and forum URLs
Fixes handling of MenuBar so when inserting new items, ensures the menubar refreshes as would be expected
Adds remove function to menubar to remove a menu
Removes old commented console methods from menubar file
Adds checks for onMouseDown and onMouseUp for PopupMenu so items that are submenus aren't clickable like normal items
2023-10-22 00:47:29 -05:00
marauder2k7 54959f0d19
SFXEmitter play pause and stop buttons (#1115)
-Add buttons to the inspector for SFXEmitter that will play pause and stop the sfxEmitter.
NOTE: Purely effects the state of the emitter when in the editor this will not effect sfxEmitter functionality in a level.
2023-10-21 18:09:19 -05:00
Areloch 8232d0f6dd Fixes the handling of the temp editable asset definition in the asset properties inspector so it'll save sub-objects as expected 2023-10-18 11:37:27 -05:00
AzaezelX 268603f36c clean up ServerAssetValidator when closing server 2023-09-27 15:45:54 -05:00
Areloch ca767efa34 Misc formatting fixes for material and shape editors 2023-09-14 17:35:39 -05:00
Brian Roberts 626de074cc
Merge pull request #1085 from Areloch/AudioOptionsUpdateFix
Fixes the issue of changing audio settings causing the SFX re-init'ing to fail
2023-09-10 19:44:43 -05:00
Areloch bde2fc1e72 Fixes some misformatting of the simView dialogue file 2023-09-10 19:07:08 -05:00
Areloch 2a390e98e9 Fixes the issue of changing audio settings causing the SFX re-init'ing to fail 2023-09-10 18:47:27 -05:00
Areloch 33f35d35d4 Implementation of Nils' UI work for updated theming, functionality and style for the editors suite 2023-09-08 22:44:18 -05:00
Areloch 0cc974929a Re-adds the logic to set up the project's torsion file to the updated cmake generation 2023-09-08 17:08:35 -05:00
Areloch 37c85bb7ee From Nils' UI work
- Updates various images in core and UI to be more standardized to the default theme
- Updates some spacing, sizing and coloration of gui controls and profiles
2023-09-05 00:05:32 -05:00
marauder2k7 5427e941ce UnitTest
Change unit tests to run without script
runTests now just holds a purely script test example
Test Explorer in VS now works with tests
NB do not use test explorer on purely script based tests.
2023-07-27 21:02:27 +01:00
AzaezelX 2866b3afd6 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments 2023-07-21 08:53:46 -05:00
AzaezelX a0f2f2bf06 define particles then emitters
saves a re-execution attempt
2023-07-20 08:54:52 -05:00
AzaezelX f1df1c5fba Merge branch 'development' into alpha41/cmake_adjustments 2023-07-08 01:32:45 -05:00
Areloch cb766f2878
Merge pull request #1033 from marauder2k9-torque/GuiInspectorFields
Add multi dimensional entries to inspector
2023-07-07 22:59:27 -05:00