Commit Graph

13648 Commits (be19f51013ece60db26a860388778c1b5b6f103c)

Author SHA1 Message Date
scrawl be19f51013 Adjust some more windows to be keyboard friendlier 7 years ago
scrawl 4fff2e2e34 Refactor exitCurrentGuiMode 7 years ago
scrawl 20766fb508 Associate open/close sounds with the GUI mode 7 years ago
scrawl 531e7ac586 Allow drag-and-drop to be cancelled (Esc or Inventory key) 7 years ago
scrawl 269094ba8d Restore the previous key focus widget when exiting modal dialog 7 years ago
scrawl bbafe1e456 Remove redundant player cell variable 7 years ago
scrawl 84657271c7 Improve WindowManager API with a generic way of passing a Ptr to the opened GUI window 7 years ago
scrawl 3820416277 Refactor the unholy mess that is WindowManager::updateVisible
GUI modes are now defined in a general and extensible way. The next commits are going to take advantage of this.
7 years ago
scrawl 01391b7eed Rename WindowBase's open/close to onOpen/onClose 7 years ago
scrawl 5482ad0482 Fix tab completion in console to not cycle key focus 7 years ago
scrawl c203a0774a Adjust some layouts to take better advantage of keyboard navigation 7 years ago
scrawl c11fe6788f Add basic keyboard navigation for the GUI
(Shift)Tab cycles, arrow keys move to the next button in that direction, Enter/Space accepts.

Note: Unless MyGUI is hacked to bits, clicking on an empty space will annoyingly reset the key focus. Not sure how to deal with that yet.

The visual highlight for selected buttons requires MyGUI commit 632d007429d0bf0c7d7f6c5db4a08353a63dd839 or later to appear (to be released in 3.2.3).
7 years ago
scrawl e7ad012977 Pass repeat key events to the GUI
For example, one can scroll to the last element in a list by holding down the 'Down Arrow' key.
7 years ago
scrawl b22fedf4ae Check 'sYes' in addition to 'sOk' for message box's default keyfocus 7 years ago
scrawl 7dec773ea9 Fix global map arrow/button not showing for a split second when the window is opened for the first time 7 years ago
scrawl d294d7e284 Fix possible fall damage when switching from falling to flying 7 years ago
scrawl 00034192dc Fix player Ptr in RenderingManager not being updated on cell changes
Noticed that 'setpos' wasn't working in the console with the player selected.
7 years ago
scrawl fcb815f2c7 Move fall height reset into PhysicsSystem (Fixes #4049)
To avoid using onGround before it's actually set.
7 years ago
scrawl a560841705 Merge pull request #1460 from AnyOldName3/invalid-death-count-cleaning
Check death counts are for valid actors before loading them
7 years ago
scrawl 242d085da0 Merge pull request #1455 from kcat/master
Print sound init info and preload sound buffer info
7 years ago
scrawl c39c29722b Merge pull request #1459 from akortunov/cyclingfix
Cycle only through weapons which player can equip
7 years ago
AnyOldName3 0be7e2a5a5 Fix really obvious flaw with ignored records not being skipped that I missed 7 years ago
Andrei Kortunov 10a0136b4a Cycle only through weapons which can be equipped by player (bug #4104) 7 years ago
AnyOldName3 5a5cb1a160 Check death counts are for valid actors before loading them 7 years ago
Andrei Kortunov 3fb3c4c20f Add scrollbar to a birth effect lists (bug #4105) 7 years ago
Chris Robinson 41bb35655b Avoid an extra call to get the buffer size 7 years ago
Chris Robinson 5c53ee42a1 Prepare all Sound_Buffers when retrieving the first one 7 years ago
Chris Robinson 4b448c74d2 Use range-for loops instead of for_each 7 years ago
Chris Robinson 1e729e8da9 Avoid more explicit loops 7 years ago
Chris Robinson 9dbb713b7c Print a bit more information for sound initialization 7 years ago
Chris Robinson acd6d9cd72 Try opening the default device fallback in OpenAL_Output 7 years ago
scrawl f594eda574 Reset attackStrength when starting a new attack (Fixes #3935) 7 years ago
scrawl 5dd2e871c8 Merge pull request #1450 from kcat/master
Sound improvements
7 years ago
scrawl 820e0e9195 Merge pull request #1453 from MiroslavR/convertproj
ESS-Importer: Convert ballistic projectiles
7 years ago
scrawl a8c287b692 Merge pull request #1447 from akortunov/stancechangefixes
Clear player fields upon reload (bug #2639)
7 years ago
Andrei Kortunov 44738e1141 Clear player fields upon reload (bug #2639) 7 years ago
Chris Robinson d68e1581ee Use an std::array for the OpenAL stream buffers 7 years ago
Chris Robinson 780e82480d Make the PlayMode and PlayType enums scoped
Also shorten them by putting them in the MWSound namespace
7 years ago
Chris Robinson 0c1ad7c74e Replace a few more explicit loops 7 years ago
Chris Robinson 1e123a22e1 Avoid some explicit loops 7 years ago
Chris Robinson 3757571d46 Set HRTF when initializing the device 7 years ago
Chris Robinson c17edfd547 Don't be so throw-happy in the sound manager 7 years ago
Chris Robinson abe80f5868 Move the soundlist when updating a Ptr instead of copying 7 years ago
Chris Robinson 605c937572 Ensure 3D sources are spatialized
Standard OpenAL does not spatialize non-mono sounds, although the game has some
stereo sounds meant to play in 3D. The desired behavior can be achieved with
the AL_SOFT_source_spatialize extension.
7 years ago
Chris Robinson 6f57233ba1 Avoid copying the same Ptr with each iteration 7 years ago
Chris Robinson edfba68eb5 Apply reverb and a low-pass filter when underwater
This replaces the pitch-shift effect when available.
7 years ago
Chris Robinson 27eeaf90d0 Use unordered_map for the music playlist and sound buffer caches 7 years ago
Chris Robinson 033303b911 Properly update the near water sound volume 7 years ago
Chris Robinson 0b720cd90c Set the appropriate meter/unit scale for sound 7 years ago
Chris Robinson c790fedd3f Load an effect and filter for underwater 7 years ago