Commit Graph
31 Commits
Author SHA1 Message Date
Cameron Cawley 4cf9d1815c COMMON: Open the main menu when the joystick START button is pressed 2019-07-08 01:24:55 +03:00
Cameron Cawley cf107e7f90 PEGASUS: Implement joystick support 2019-07-08 01:24:55 +03:00
Bastien Bouclet 8e235f07a7 PEGASUS: Disallow loading / saving from the GMM from inner loops
InputDeviceManager::pumpEvents is called from neighborhood classes that
are destroyed when loading.
Don't allow loading from that method to prevent use after free bugs.
2017-09-12 20:25:24 +02:00
Bastien Bouclet 731028460f PEGASUS: Ignore events occuring while the GUI is visible
Otherwise, pressing escape to close the GMM opens the game's own menu.
2017-09-12 20:25:24 +02:00
Eugene Sandulenko 940b2a20f1 Revert "COMMON: Change way the Singleton instances are instantiated"
This reverts commit eefa72afa1.

With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat eefa72afa1 COMMON: Change way the Singleton instances are instantiated
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Filippos Karapetis 26588f81b4 PEGASUS: Remove trailing whitespace 2014-10-28 16:17:44 +02:00
Matthew Hoops 5e6e4fa85f PEGASUS: Use KP7 and KP9 as alternative keys for the item drawers
Based on a patch by Keith Kaisershot (blitter)
2014-06-03 00:49:04 -04:00
Matthew Hoops c293611f62 PEGASUS: Stop using num lock for a way to open the inventory drawer 2014-06-01 22:38:05 -04:00
Matthew Hoops 7011e8122e PEGASUS: Poll for events in more places
Based on a patch by Keith Kaisershot (blitter)
2014-04-23 20:33:08 -04:00
Johannes Schickel a6c6c74350 PEGASUS: Remove trailing whitespaces.
Powered by: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:11:09 +02:00
Matthew Hoops 9d7432a372 PEGASUS: Allow for keypad enter to be used
For consistency with keypad arrows
2012-05-25 00:37:23 -04:00
Matthew Hoops 974eb12fcc PEGASUS: Rewrite the input code to more closely emulate what the original did
Now the easter egg key works better and so does striding.
2012-05-11 11:37:47 -04:00
Matthew Hoops 99eb8762c4 PEGASUS: Allow control for the easter egg key as well
Fixes issues where the OS can intercept the key
2012-04-26 13:54:12 -04:00
Matthew Hoops 981833b34e PEGASUS: Add support for load/save keys 2012-04-09 11:20:18 -04:00
Matthew Hoops 1fb5238cf3 PEGASUS: Fix potentially uninitialized hotspot pointer
Should fix some crashes on Windows
2012-04-07 16:35:50 -04:00
Matthew Hoops 983bd16bb7 PEGASUS: Fix file permissions 2012-04-03 15:23:08 -04:00
Matthew Hoops 331da45ae3 PEGASUS: Make InputDevice into a Singleton
Removes a global construction
2011-12-20 18:35:33 -05:00
Matthew Hoops a600dcb56a PEGASUS: Some space/misc cleanup 2011-12-20 18:26:25 -05:00
Matthew Hoops 12efb47b53 PEGASUS: Remove t prefix from typedefs
Some other minor cleanup too
2011-12-16 14:17:50 -05:00
Matthew Hoops 753006ae1a PEGASUS: Add the WSC neighborhood
Seems to be working fine, minus the molecule sprites (though the minigame is completable and the antidote can be found).
2011-10-13 20:59:20 -04:00
Matthew Hoops 091df1815e PEGASUS: Use proper key for the right fire button 2011-09-28 21:38:49 -04:00
Matthew Hoops e5a2dec9c8 PEGASUS: Disable the alt key for now 2011-09-23 14:07:18 -04:00
Matthew Hoops ea36ec452e PEGASUS: Add support for the console back 2011-09-22 15:37:12 -04:00
Matthew Hoops 02e7656b07 PEGASUS: Allow for backquote to be used as a tilde too 2011-09-21 20:06:49 -04:00
Matthew Hoops 185f5fb054 PEGASUS: Only allow for keydown events 2011-09-21 18:10:08 -04:00
Matthew Hoops f9fff1809c PEGASUS: Fix auto bits setting in the input code 2011-09-21 14:38:23 -04:00
Matthew Hoops 8f6e603099 PEGASUS: Add the Tracker class 2011-09-18 15:48:31 -04:00
Matthew Hoops e532af9318 PEGASUS: Add and hookup the InputHandler class 2011-09-08 23:04:28 -04:00
Matthew Hoops e56546a83d PEGASUS: Implement two of the base input classes 2011-09-06 20:59:06 -04:00