Commit Graph
22370 Commits
Author SHA1 Message Date
Steve Checkoway fa7ff235bc Cleanup. Does anyone even know what this does any more? It hasn't been touched in 3 years. SSMode doesn't even use it. It's only used by one screen which hasn't had any real work beyond compile fixes in 3 years. Also, why is "Frieza's" real name not on this? 2006-09-13 08:53:31 +00:00
Steve Checkoway dd5e6290be Unused. 2006-09-13 08:42:22 +00:00
Steve Checkoway 1dec26279a These have no state and only static methods. Make them namespaces. 2006-09-13 08:35:50 +00:00
Glenn Maynard 09663989be typo 2006-09-13 08:24:21 +00:00
Glenn Maynard 5ca7cf8809 cleanup 2006-09-13 08:23:28 +00:00
Steve Checkoway 78d266cf6e Simplify. 2006-09-13 08:17:56 +00:00
Glenn Maynard 36e5fec2d4 remove unused 2006-09-13 08:08:12 +00:00
Glenn Maynard 6366740d0f fix warning 2006-09-13 03:31:58 +00:00
Glenn Maynard 8277bdf5dd typo 2006-09-13 03:20:59 +00:00
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +00:00
Glenn Maynard 9fb0d09f35 unwrap 2006-09-13 03:04:04 +00:00
Glenn Maynard 8c7c7fa265 simplify 2006-09-13 03:03:00 +00:00
Glenn Maynard 80a8a67631 remove fFastDelay 2006-09-13 03:01:51 +00:00
Glenn Maynard 89baa9f112 remove IET_SLOW_REPEAT 2006-09-13 02:59:43 +00:00
Glenn Maynard c71d8f7425 IET_SLOW_REPEAT -> IET_REPEAT 2006-09-13 02:59:05 +00:00
Glenn Maynard d03db0c4f9 remove IET_FAST_REPEAT 2006-09-13 02:55:19 +00:00
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