Commit Graph

11 Commits

Author SHA1 Message Date
Glenn Maynard 5cc5462722 header cleanup 2006-11-21 05:17:01 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard cb746be4c3 Invalid 2006-10-07 03:43:41 +00:00
Steve Checkoway 5bea54f406 Initialize all members. 2006-09-14 21:50:40 +00:00
Glenn Maynard c7dfb9f2ec MenuInput -> MenuButton 2006-09-14 20:52:34 +00:00
Steve Checkoway 51ab7b551f Initialize pn. 2006-09-13 10:57:58 +00:00
Glenn Maynard d5857acb3a A problem with removing StyleI.player: an obscure difference
between StyleI.player and MenuI.player is that StyleI is set even
if there's no attached MenuButton, and MenuI.player is set even
if there's no attached column.  That's an odd distinction, anyway.

Move input.MenuI.player to input.pn.  This also puts it in the
same place as input.mp.
2006-09-13 09:57:07 +00:00
Glenn Maynard 6d24d2f0b4 remove InputEventPlus::StyleI 2006-09-13 01:30:57 +00:00
Glenn Maynard 2f6aaf940f ctor 2006-09-13 00:48:56 +00:00
Glenn Maynard be6d3d4043 Include the complete input state with each input report.
This only deals with buttons being held, so won't cause
performance issues.

This deals with a general problem of the input layer:
you can query the current state of the inputs, but inputs
are received in a queue, causing inconsistencies.

This is why pressing enter during a load, then holding Alt
after pressing it, causes the game to switch fullscreen
after the load finishes; checking for "alt-enter" should
be checking if Alt was pressed when Enter was pressed,
not whether it's pressed right now.

Similarly, CodeDetector has difficulty handling a "Right-Left"
and a "Left-Right" code simultaneously.  If both buttons
are pressed quickly, it needs to check whether Right was
pressed at the time Left was reported, not at the time
EnteredCode was called.
2006-09-08 04:03:14 +00:00
Chris Danford b54323f917 move all translations for an input event into one structure. Have screens pass this around instead of passing around 5 separate input structures 2005-08-26 17:33:02 +00:00