Commit Graph
22354 Commits
Author SHA1 Message Date
Glenn Maynard 73dec47116 stop sending IET_FAST_REPEAT 2006-09-13 02:49:05 +00:00
Glenn Maynard e04a48128d IET_FAST_REPEAT is the same as IET_SLOW_REPEAT, sent instead
after the button has been held a while.  It hasn't actually been a different
repeat rate for a very long time, and was partially phased out a while ago.
Now it's just used to see if the button has been held a while.  Do that with
GetSecsHeld instead.
2006-09-13 02:44:03 +00:00
Glenn Maynard e8b325eac2 fix merge 2006-09-13 02:31:48 +00:00
Glenn Maynard 86857bd6e5 remove unused InputMapper::IsMapped(GameInput) 2006-09-13 02:27:36 +00:00
Glenn Maynard 72c9cf47c1 unused 2006-09-13 02:09:55 +00:00
Glenn Maynard 1a90d3c57e unused 2006-09-13 02:08:54 +00:00
Glenn Maynard b53c99f406 remove InputMapper::StyleToGame(StyleI). InputMapper no longer knows about StyleInputs, putting them at the level of abstraction they belong: above the game-neutral support classes like InputMapper. 2006-09-13 01:55:39 +00:00
Glenn Maynard d7e4bf7817 remove InputMapper::StyleToGame(StyleI) 2006-09-13 01:54:16 +00:00
Glenn Maynard 51220acce2 remove unused 2006-09-13 01:46:14 +00:00
Glenn Maynard d6ad18f73e remove InputMapper::IsBeingPressed(StyleI) 2006-09-13 01:45:10 +00:00
Glenn Maynard 9f54f1b248 remove InputMapper::GetSecsHeld(StyleI) 2006-09-13 01:38:10 +00:00
Glenn Maynard 7da7f3af18 remove unused 2006-09-13 01:33:04 +00:00
Glenn Maynard 6d24d2f0b4 remove InputEventPlus::StyleI 2006-09-13 01:30:57 +00:00
Glenn Maynard e4d0b41da1 Stop using Input.StyleI. Just convert it when needed; the vast majority
of screens don't.
2006-09-13 01:29:33 +00:00
Glenn Maynard 9139883e64 simplify 2006-09-13 01:18:11 +00:00
Glenn Maynard 6aec914bfc simplify 2006-09-13 01:18:10 +00:00
Glenn Maynard ea10bd4422 simplify 2006-09-13 01:00:08 +00:00
Glenn Maynard 2faf8f9135 simplify
I'd prefer to get rid of the StyleInput versions of INPUTMAPPER
calls, and just pass in GameInputs and leave conversion to the
users (which aren't many).  The MultiPlayer hack makes this
hard, though, where we pass in the MultiPlayer to check; that
affects the underlying DeviceInput that's constructed.
2006-09-13 00:59:44 +00:00
Glenn Maynard 2f6aaf940f ctor 2006-09-13 00:48:56 +00:00
Glenn Maynard 1ca5c9a4b7 reduce StyleInput to an int 2006-09-13 00:46:21 +00:00
Glenn Maynard 6a80311172 phase out StyleI.player 2006-09-13 00:16:23 +00:00
Glenn Maynard 5be4331e71 phase out StyleI.player 2006-09-13 00:09:00 +00:00
Glenn Maynard 6e40d3e5ef oops, fix 2006-09-13 00:05:43 +00:00
Glenn Maynard 10c6320d18 getting rid of StyleI.player 2006-09-13 00:05:01 +00:00
Glenn Maynard 87bb92451b StyleI.player duplicates MenuI.player when the style is set. It's
essentially being used as a hack to see if the style is set, and
as a shortcut for converting from StyleInput back to GameInput,
complicating InputEventPlus in the process.  Remove it, and just
pass along the PlayerNumber when it's actually needed.

(incremental commit)
2006-09-13 00:02:23 +00:00
Glenn Maynard c419567b23 simplify 2006-09-12 23:57:56 +00:00
Glenn Maynard 2fa74742c0 remove unused 2006-09-12 23:47:55 +00:00
Glenn Maynard 7bab74efab As far as I can tell, StyleI.player is always the
same as MenuI.player if the style is set.  Phase
it out.
2006-09-12 23:29:08 +00:00
Glenn Maynard 8a6f490c80 simplify. (If you're not a screen that deals with StyleI.col, you probably shouldn't be using StyleI at all.) 2006-09-12 23:21:14 +00:00
Glenn Maynard ba1daf8183 annoying log 2006-09-12 22:01:59 +00:00
Steve Checkoway 48a329597c Fix comment stripping. Fixes editor bug. 2006-09-12 04:28:11 +00:00
Steve Checkoway 1f1e574baf Spacing. 2006-09-12 04:27:48 +00:00
Steve Checkoway 4a0718c4e8 Flush the directory cache so that --temp-- is removed. Is there a reason to do this rather than access(2)? (Obviously, this would need to be done in the FileManager itself.) 2006-09-12 03:24:58 +00:00
Steve Checkoway e7f2cc2d50 Spacing. 2006-09-12 03:23:28 +00:00
Chris Danford de817e62ac fix newline typo 2006-09-11 06:32:31 +00:00
AJ Kelly ddce316475 move P1 and P2 scores/frames, rework groove radar labels so they don't get in the way 2006-09-10 19:29:28 +00:00
Glenn Maynard 231171a7f8 cleanup 2006-09-10 08:37:10 +00:00
Glenn Maynard 1f471f511b reset settings which are set every frame or every actor
in SetDefaultRenderStates; fixes centering
2006-09-10 08:36:31 +00:00
Glenn Maynard dda0e12deb init centering matrix with identity by default; reinit other stacks, too, so
we're consistent if DISPLAY is recreated
2006-09-10 08:34:50 +00:00
Glenn Maynard c374b10233 fix strange init 2006-09-10 07:56:06 +00:00
Josh Allen fed0fad69b Fix image size warning 2006-09-09 04:31:45 +00:00
Glenn Maynard c628676660 use g_ButtonStates instead of GetPressedButtons; GetPressedButtons returns the last reported input, not the immediate state 2006-09-08 19:02:11 +00:00
Glenn Maynard 897c1c9057 revert "simplify"; this removed an API call 2006-09-08 18:59:57 +00:00
Glenn Maynard 9e3f9f6fb3 const 2006-09-08 18:54:01 +00:00
Glenn Maynard 3fc0d75570 remove IET_LEVEL_CHANGED 2006-09-08 18:51:12 +00:00
Glenn Maynard 83e010a63e remove IET_LEVEL_CHANGED. I didn't end up using it, and it's a clumsy way of handling analog inputs. 2006-09-08 18:49:14 +00:00
Steve Checkoway f147eef491 Sort. 2006-09-08 06:26:43 +00:00
Steve Checkoway 2a0692f4ed Cleanup. 2006-09-08 06:26:31 +00:00
Steve Checkoway e9651a568f Undef. 2006-09-08 05:40:39 +00:00
Steve Checkoway c06c8470a3 Fix prototype. 2006-09-08 05:36:29 +00:00