Commit graph

6672 commits

Author SHA1 Message Date
AzaezelX 2dc67d5b43 fix orm compositing save script
also fix emissive checkbox savestate retrieval
2024-01-20 17:50:12 -06:00
Brian Roberts bd2121b674
Merge pull request #1183 from marauder2k9-torque/ConvexShapeValuesChange
Update convexShape.cpp
2024-01-19 22:35:07 -06:00
marauder2k7 1f99d8f14d Update convexShape.cpp
Convex shape values were changing on save, few quick tests point to this being the fix, need more extensive testing.
2024-01-20 04:15:04 +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
Brian Roberts 199ef84fcb
Merge pull request #1180 from Azaezel/alpha41/awryArrays
don't allow setting a key or value on -1 index
2024-01-17 19:42:23 -06:00
Brian Roberts af7ca8f0bb
Merge pull request #1181 from Azaezel/alpha41/fixVehicleSpawn
fix vheicle add dropwdown spawntypes
2024-01-17 13:12:03 -06:00
AzaezelX 86408058a3 fix vheicle add dropwdown spawntypes 2024-01-17 13:11:43 -06:00
AzaezelX 36c1e928ca don't allow setting a key or value on -1 index 2024-01-15 17:04:25 -06:00
Brian Roberts 810c070512
Merge pull request #1178 from Azaezel/alpha41/arrayObjectAugs
arrayobject helper commands
2024-01-15 11:38:53 -06:00
Brian Roberts 6013726db9
Merge pull request #1179 from GasimoCodes/patch-1
Fix docs link in readme
2024-01-15 11:31:29 -06:00
Gasimo b8c48a2ccc
Fix docs link 2024-01-15 16:39:11 +01: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 30e67694e8 arrayobject helper commands
getValueFromKey and getKeyFromValue.
both look to the left or right hand entry for the other one
example:
%array.add("startPos","0 0 0 ");
echo(">".%array.getValueFromKey("startPos"));
> 0 0 0
2024-01-10 16:20:08 -06:00
Brian Roberts 33b7cc7803
Merge pull request #1176 from Azaezel/alpha41/spawnStuffs
ObjectBuilderGui augs
2024-01-09 16:38:25 -06:00
Brian Roberts d3babcdbda
Merge pull request #1177 from Areloch/SearchFilterPopupCtrl
Search filter popup ctrl
2024-01-09 11:28:08 -06:00
Areloch 192862ba6d Cleans up removal/deletion logic 2024-01-09 04:00:51 -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 1d3dc339c9
Merge pull request #1169 from Azaezel/hovernotes
flyingvehicle hovercode tweaks
2024-01-08 17:10:11 -06:00
Brian Roberts 6b1507f791
Merge pull request #1173 from Azaezel/alpha41/hudwerk
allow misc health readouts to detect vehicles
2024-01-08 17:09:59 -06:00
Brian Roberts 78b56688d3
Merge pull request #1174 from Areloch/UpfrontLoadFixesPR
Upfront Loading Changes
2024-01-07 23:13:03 -06:00
Areloch 829cc2b24a Adjusts some of the loading logic, for guiBitmapCtrl mostly, to not try and load ALL image content upfront during client init, improving load times 2024-01-07 23:09:41 -06:00
AzaezelX 22df872f2d allow misc health readouts to detect vehicles 2024-01-07 19:05:12 -06:00
Brian Roberts d22b7c7121
Merge pull request #1171 from Azaezel/alpha41/scriptStability
script stabilization tweaks
2024-01-06 10:33:04 -06:00
Brian Roberts cf7e9f7a00
Merge pull request #1172 from Areloch/BaseUIUpdate_Wipwork
BaseUI Update
2024-01-05 14:30:00 -06:00
Areloch 90bd1365f8 Merge branch 'BaseUIUpdate_Wipwork' of https://github.com/Areloch/Torque3D into BaseUIUpdate_Wipwork 2024-01-04 20:30:37 -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
Areloch ee37a13190
Merge pull request #13 from Azaezel/BaseUIUpdate_Wipwork
don't save map population elements when editing
2024-01-04 20:27:06 -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
AzaezelX 2a2348b62c don't delete loaded dso code
unlike in the straight compile it now case it does in fact need to stick around. read injects the CodeBlock into a management system, so no worries about cleanup
2024-01-03 17:29:51 -06:00
AzaezelX e8210c8447 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/scriptStability 2024-01-02 18:57:27 -06:00
AzaezelX b366ff9b1c script stabilization tweaks
Con::EvalResult CodeBlock::exec -
 objectCreationStackIndex needs to be signed as we test if it goes sub-zero
ConsoleValue Namespace::Entry::execute -
compiler yells about returning a temp via std::move
bool TorqueScriptRuntime::executeFile -
report the name of the dso output file, not the source scxript input file
2024-01-02 18:15:21 -06:00
Brian Roberts f1a879ecac
Merge pull request #1170 from Azaezel/alpha41/reloadReDunceAncy
clean up malformed stream conversion
2024-01-01 20:43:17 -06:00
AzaezelX 96f001b0e6 clean up malformed stream conversion
reinterpret_cast was misaligning the pointer. just use the already leveraged dynamic_cast
2024-01-01 20:42:43 -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
Brian Roberts bede5244e3
Merge pull request #1167 from Azaezel/alpha41/borderBashing
expose guiwindowctrl resize margin to script
2024-01-01 08:46:05 -06:00
Brian Roberts d8102a9591
Merge pull request #1166 from Azaezel/physnotes
Physics Review Results
2024-01-01 08:45:51 -06:00
Brian Roberts ef5f60bf8d
Merge pull request #1168 from Azaezel/alpha41/guiAddGuis
add add dropdown to gui editor
2024-01-01 08:45:27 -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
AzaezelX 2a1ad5a5cc flyingvehicle hovercode tweaks
makes the presence of a hoverHeight a bit more of a barrier to punchthrough
assumes #1166 inclusion
2023-12-30 22:30:05 -06:00
AzaezelX 93abe5a49c cancel out momentums during updateforces if disablemove
increment forces on a per-contact basis, not a batch basis
2023-12-30 16:16:29 -06:00
AzaezelX 905139f500 make const RectI GuiWindowCtrl::getClientRect() respect ResizeMargin for sub elements 2023-12-29 12:55:28 -06:00