Commit graph

6604 commits

Author SHA1 Message Date
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
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
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
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 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
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
Brian Roberts 32c7f2c30a
Merge pull request #1152 from Azaezel/achingArches
fix archlinux compilation issue
2023-12-05 21:56:53 -06:00
AzaezelX ff67efbb19 fix archlinux compilation issue 2023-12-05 21:56:11 -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
Brian Roberts a269463bbd
Merge pull request #1149 from marauder2k9-torque/Skysphere-RenderFix
SkySphere issue
2023-12-03 13:31:38 -06:00
marauder2k7 962a2cffa3 Update skySphere.cpp
Skysphere doesnt render behind everything. This fix sorts that out
2023-12-03 19:28:15 +00:00
AzaezelX f051379720 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/guiObjectViewObjections 2023-11-29 15:41:05 -06:00
AzaezelX dc81e4e267 guiobjectview crash and compatibility fixes
rev1 wipwork
2023-11-29 14:04:20 -06:00
Brian Roberts 97de2e6b60
Merge pull request #1145 from Azaezel/typofix
typofix
2023-11-29 13:35:37 -06:00
AzaezelX 9b7d99fc1d typofix 2023-11-29 13:34:27 -06:00