Commit Graph
22445 Commits
Author SHA1 Message Date
Steve Checkoway 7dc2867dd2 PlayerNumber -> IEP. 2006-09-15 01:13:39 +00:00
Steve Checkoway 416a5e3ddc Add patcher/upgrader/installer thingy. 2006-09-15 00:27:02 +00:00
Steve Checkoway 5bea54f406 Initialize all members. 2006-09-14 21:50:40 +00:00
Glenn Maynard 60710d8202 GetPath changed to GetPathX 2006-09-14 21:40:02 +00:00
Steve Checkoway 7b636c506b Add debugging for 1555891. 2006-09-14 21:30:35 +00:00
Glenn Maynard 47ef4873fb remove MenuX(pn) 2006-09-14 21:28:29 +00:00
Glenn Maynard c8749f500d InputEventPlus 2006-09-14 21:25:06 +00:00
Glenn Maynard 3f96734e6c MenuX(PlayerNumber) -> MenuX(InputEventPlus) 2006-09-14 21:18:39 +00:00
Steve Checkoway 222b082f55 This assert was triggered in bug 1554335. Debugging. 2006-09-14 21:02:55 +00:00
Glenn Maynard ab45febba3 simplify 2006-09-14 21:02:14 +00:00
Glenn Maynard 13fb874cc6 MenuInputToEditButton -> MenuButtonToEditButton 2006-09-14 20:58:05 +00:00
Glenn Maynard 0d138e13d8 MenuInputToGameInput -> MenuButtonToGameInputs 2006-09-14 20:57:07 +00:00
Glenn Maynard ed228615a3 remove empty wrapper class MenuInput 2006-09-14 20:55:32 +00:00
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