Commit Graph
22432 Commits
Author SHA1 Message Date
Glenn Maynard c7dfb9f2ec MenuInput -> MenuButton 2006-09-14 20:52:34 +00:00
Glenn Maynard dd2f259a2f MenuInput -> MenuButton 2006-09-14 20:45:51 +00:00
Glenn Maynard f652510cc5 RepeatStopKey: stop repeating a key until it's released 2006-09-14 20:39:54 +00:00
Glenn Maynard a05fe7e8ab simplify GameToMenu 2006-09-14 20:37:41 +00:00
Glenn Maynard af00ab413c remove IsValid 2006-09-14 20:35:03 +00:00
Glenn Maynard f1cd95828e remove MenuInput.IsValid(); if invalid, the button is simply MenuButton_INVALID 2006-09-14 20:31:46 +00:00
Glenn Maynard c559ff69b6 IsHumanPlayer( PLAYER_INVALID ) always false, so we can
do IsHumanPlayer(input.pn) without an extra check
2006-09-14 20:26:17 +00:00
Glenn Maynard 1d3a66e669 remove MenuInput::MakeInvalid 2006-09-14 20:22:42 +00:00
Steve Checkoway af20d30581 Unused. 2006-09-14 09:33:06 +00:00
Steve Checkoway b5f57abc4e longchar -> wchar_t 2006-09-14 09:32:04 +00:00
Steve Checkoway 5083893317 Use UCKeyTranslate if the 'uchr' resource exists. If not, fall back on the 'KCHR' resource. 2006-09-14 09:13:46 +00:00
Glenn Maynard ad809ec5fa simplify interface 2006-09-14 08:14:22 +00:00
Glenn Maynard 2b5cbe811f check the button press in the caller of JoinInput (so we
don't have to construct a fake input message in
ScreenSelectMaster::MenuStart)
2006-09-14 08:11:58 +00:00
Glenn Maynard aeb0c1be0b unwrap 2006-09-14 08:08:09 +00:00
Glenn Maynard 26a773d983 no need to MenuI.IsValid before comparing 2006-09-14 08:06:22 +00:00
Glenn Maynard 93844f840f simplify 2006-09-14 08:05:40 +00:00
Glenn Maynard 3157bb77d4 consolidate "delayed back" logic 2006-09-14 07:55:34 +00:00
Steve Checkoway 6e8d262f8f Simplify and optimize by building a reverse lookup table the first time it is called. 2006-09-14 07:21:44 +00:00
Steve Checkoway dd0e3ce082 Cleanup. 2006-09-14 07:20:05 +00:00
Steve Checkoway 4dd57b99bd Don't hard code joystick and pump numbers. 2006-09-14 06:06:53 +00:00
Steve Checkoway b30cc9d9d1 IsPump(). 2006-09-14 06:06:04 +00:00
Steve Checkoway abe6090775 Simplify. 2006-09-14 05:53:13 +00:00
Glenn Maynard c8e909f317 We have two sets of nearly identical overloads: MenuUp(iep) and
MenuUp(pn).  pn doesn't receive all of the iep data, and is only called
on IEP_FIRST_PRESS.  It creates more complicated overloading
than is needed: if a base class happens to overload these inputs,
you have to overload the correct set.  This was more useful when
these overloads had five parameters (cumbersome), but it's not so
useful now.
2006-09-14 05:26:58 +00:00
Glenn Maynard 3fe68d7f7d simplify 2006-09-14 05:18:40 +00:00
Glenn Maynard 6ab3e33490 remove old ctor 2006-09-14 04:21:37 +00:00
Glenn Maynard 7b4667c311 GameInputToMenuButton 2006-09-14 04:11:29 +00:00
Glenn Maynard 4d612ff9ee input.pn 2006-09-14 04:08:58 +00:00
Glenn Maynard 516c759d12 simplify 2006-09-14 04:07:52 +00:00
Glenn Maynard b112d10e41 transition 2006-09-14 03:51:36 +00:00
Glenn Maynard f600e27b4a remove MenuInput::player 2006-09-14 03:49:40 +00:00
Glenn Maynard 5a890ba48d use GameInputToMenuButton 2006-09-14 03:49:12 +00:00
Glenn Maynard a07987de8d GameInputToMenuInput -> GameInputToMenuButton; one less place Game.cpp
depends on GameState
2006-09-14 03:48:35 +00:00
Glenn Maynard 2c3ea735a8 remove transition 2006-09-14 03:45:52 +00:00
Glenn Maynard 284ce54a76 correct base class 2006-09-14 03:44:27 +00:00
Glenn Maynard b531c954d1 pass pn (duplicate will go away later) 2006-09-14 03:43:34 +00:00
Glenn Maynard 0244e48eca transitional: accept pn arg to MenuInput helpers 2006-09-14 03:34:52 +00:00
Glenn Maynard 754f2edb0f JoinInput(MenuInput ) -> JoinInput(InputEventPlus) 2006-09-14 03:23:17 +00:00
Glenn Maynard 21d275e21c input.pn 2006-09-14 03:18:59 +00:00
Glenn Maynard c9c88f26c2 input.MenuI.player -> input.pn 2006-09-14 03:18:16 +00:00
Glenn Maynard 8859950d46 RememberInput after filling everything in 2006-09-14 03:11:38 +00:00
Jason Felds 576d53c95c Remove StyleInput.h. 2006-09-13 12:19:57 +00:00
Steve Checkoway 51ab7b551f Initialize pn. 2006-09-13 10:57:58 +00:00
Steve Checkoway 5e203c6dcb Match other thread names, e.g. Decode thread. 2006-09-13 10:29:54 +00:00
Steve Checkoway 8612011f08 Add license. 2006-09-13 10:22:37 +00:00
Steve Checkoway af2bd3b70a Launching via the Finder includes a single argument that looks like: -psn_0_3801089. there's some mapping between this number and pids but I don't know what off hand (or why it's even used at all). Don't pass it along to our main(). 2006-09-13 10:20:25 +00:00
Steve Checkoway 0194675b29 Remove StyleInput.h 2006-09-13 10:18:05 +00:00
Glenn Maynard cbfebb16bb use input.pn 2006-09-13 10:11:36 +00:00
Glenn Maynard aeb9c89191 use input.pn 2006-09-13 10:02:58 +00:00
Steve Checkoway 4f83f9b9ae Cleanup. 2006-09-13 09:57:14 +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