mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
- 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
This commit is contained in:
parent
67ac556ecd
commit
e71880b898
4 changed files with 90 additions and 19 deletions
|
|
@ -137,14 +137,16 @@ function MessageBoxCtrl::syncGui(%this)
|
|||
|
||||
}
|
||||
|
||||
function messageBoxYesClicked(%this)
|
||||
function messageBoxYesClicked(%val)
|
||||
{
|
||||
MessageCallback(MessageBoxDlg, MessageBoxDlg.callback);
|
||||
if(%val)
|
||||
MessageCallback(MessageBoxDlg, MessageBoxDlg.callback);
|
||||
}
|
||||
|
||||
function messageBoxNoClicked(%this)
|
||||
function messageBoxNoClicked(%val)
|
||||
{
|
||||
MessageCallback(MessageBoxDlg,MessageBoxDlg.cancelCallback);
|
||||
if(%val)
|
||||
MessageCallback(MessageBoxDlg,MessageBoxDlg.cancelCallback);
|
||||
}
|
||||
|
||||
//MessageBoxOK("Test", "This is a test message box", "echo(\"Uhhhhhawhat?\"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue