Commit graph

7232 commits

Author SHA1 Message Date
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
AzaezelX
ea63a7448e expose guiwindowctrl resize margin to script
also up the default to 5 pixels
2023-12-29 12:15:30 -06:00
AzaezelX
e7b3a95f89 restitution sumation review: average, don't multiply 2023-12-29 00:26:26 -06:00
AzaezelX
f3af564dee clean out resolvecontacts entirely 2023-12-28 21:28:23 -06:00
AzaezelX
783a757427 filter out self-collisions 2023-12-28 21:24:34 -06:00
AzaezelX
3c7d2b1b6a physics notes
based on https://github.com/TorqueGameEngines/Torque3D/pull/1165 and after further talks with @AtomicWalrus:
use the massbox or bounds box based  mRigid.setObjectInertia method
to reduce recirulating, combine resolvecollision and resolvecontacts
clamp seperation force for contact resolution
gravity normalized to earth standard (9.8,not 20)
take delta-time into account *once* for kinetic energy vs gravity rest checks
and for debug purposes, expose mRigid.atRest to the inspector to see if it's truly at reast or grinding calcs to minimal effect
2023-12-28 21:04:16 -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
Areloch
4f399eb87f Expanded functionality of the guiPopupCtrlEx to support search filtering 2023-12-25 17:00:51 -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
5791ee68a7 adds a getFieldCountNS and getFieldNS method to allow field lookup by namespace 2023-12-24 03:15:56 -06:00
AzaezelX
b03cb4c49b add a getMethodSigsNS
takes a namespace as an explici value fed to it as oposed to inferring from an passed object
2023-12-24 02:46:26 -06:00
AzaezelX
428f22d728 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into classPrototypingPresenter 2023-12-23 21:29:17 -06:00
Areloch
4c58a3601f
Merge pull request #1163 from Azaezel/alpha41/filtefuntimeztoo
filter inspector buttons out of the following:
2023-12-23 01:34:33 -06:00
Areloch
98014ea9d9
Merge pull request #1162 from Azaezel/alpha41/filterfuntiemz
add an $undoIgnoreList
2023-12-22 17:45:15 -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
Areloch
5e0e79076b
Merge pull request #11 from Azaezel/BaseUIUpdateWipwork_20231219B
fix type list popup display
2023-12-21 18:51:29 -06:00
AzaezelX
4ed617f7df fix type list popup display 2023-12-20 18:51:12 -06:00
AzaezelX
78147821a0 filter inspector buttons out of the following:
PersistenceManager::updateObject
SimObject::writeFields
SimObject::assignFieldsFrom
DefineEngineMethod( SimObject, getFieldCount, S32, (),,
DefineEngineMethod( SimObject, getField, const char*, ( S32 index ),,
SimObject::writeObject

do not do so for
SimObject::setDataField
DefineEngineMethod( SimObject, dump, void, ( bool detailed ), ( false ),
2023-12-19 23:29:46 -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
Brian Roberts
61480c28bf
Merge pull request #1161 from Azaezel/alpha41/thirstyTheora
theoratexture can't downsample
2023-12-19 13:17:25 -06:00
AzaezelX
1f837304ea theoratexture can't downsample
so don't.
this stops $pref::Video::textureReductionLevel from crashing the applicaton in that scenario
2023-12-19 13:15:12 -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
Brian Roberts
0b65ff2c72
Merge pull request #1160 from Azaezel/alpha41/theoraThrashing
fix theora inclusion and macro set
2023-12-18 19:26:45 -06:00
AzaezelX
ea01bf57ed fix theora inclusion and macro set 2023-12-18 15:10:35 -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
Brian Roberts
385143f9e5
Merge pull request #1158 from Azaezel/alpha41/sillySun
fix sun corona
2023-12-12 13:47:54 -06:00
AzaezelX
d54de2a349 fix sun corona
by locking in the material feature variation to ensure it uses vertex lighting due to colorization, as well as a few other switches, and applying an explicit vs default stateblock blend
do similar with moon so you don't have to set that to explicitly translucent either
2023-12-12 12:49:05 -06:00
Brian Roberts
d28807c34e
Merge pull request #1157 from Azaezel/alpha41/saveAsShenanigans
correct mission saveas logic
2023-12-11 12:55:08 -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
marauder2k7
89a8a4d190 Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2023-12-08 04:29:41 +00:00
Brian Roberts
b56626e8ca
Merge pull request #1156 from Azaezel/alpha41/canHasCapturz
fix singular pobe capture
2023-12-06 21:23:21 -06:00
AzaezelX
62e23d10b4 fix singular pobe capture 2023-12-06 21:06:26 -06: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
Brian Roberts
078813195b
Merge pull request #1155 from Azaezel/alpha41/captureCritique
make cubic reflectors respect the reflectordesc->detailAdjust
2023-12-06 19:48:18 -06:00
AzaezelX
d16f2df63a make cubic reflectors respect the reflectordesc->detailAdjust 2023-12-06 18:23:31 -06:00
Brian Roberts
674a7a0212
Merge pull request #1153 from marauder2k9-torque/CMakeSuppressThirdPartyWarnings
Suppress 3rdParty Warnings
2023-12-05 23:51:32 -06:00
Brian Roberts
c1eaa73ee6
Merge pull request #1151 from Azaezel/alpha41/fixCaptureFlag
probe capture fixes
2023-12-05 23:20:58 -06:00
Brian Roberts
378c5481ee
Merge pull request #1146 from Azaezel/alpha41/guiObjectViewObjections
Alpha41/gui object view objections
2023-12-05 23:20:21 -06:00
marauder2k7
c6b8a59de1 Update CMakeLists.txt 2023-12-06 04:58:08 +00:00