Commit Graph

62 Commits

Author SHA1 Message Date
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Glenn Maynard 07f941f734 allow more than 3 mappings per GameInput (but don't show them in
ScreenMapControllers)
2005-02-20 04:53:57 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard 783e492b0b GetSecondaryMenuButtonName -> GetMenuButtonSecondaryFunction 2004-12-04 04:50:18 +00:00
Glenn Maynard 36d462ffd6 figure out secondary button names dynamically 2004-12-04 04:39:51 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Glenn Maynard f7e215e914 cleanup 2004-09-28 05:51:10 +00:00
Ryan Dortmans 1444ee2773 Map controls for new input handler 2004-09-27 08:21:54 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard 9bf052492f cleanup 2004-09-19 23:00:46 +00:00
Glenn Maynard 12018cc58a fix joystick mapping regression 2004-09-19 22:54:34 +00:00
Renaud Lepage 8eb5814421 Code cleanup : bad button names were used in the Xbox section. 2004-09-09 18:39:17 +00:00
Glenn Maynard 120c09a9fb update 2004-09-09 17:34:57 +00:00
Ryan Dortmans bad5992937 Better Xbox implementation. 2004-09-09 16:12:00 +00:00
Ryan Dortmans cd579141b5 Made controller mapping possible in Xbox 2004-09-09 08:50:16 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford 64628fac21 remove enum Game. Instead, pass around the GameDef pointer 2004-07-25 04:27:20 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Chris Danford 6590bd2d48 don't load multiple copies of "common start" or "common invalid" sound 2004-05-01 23:28:53 +00:00
Chris Danford df5cd5e813 move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism 2004-05-01 23:19:33 +00:00
Chris Danford 70446551a9 add half-finished screen centering code (necessary for arcade and Xbox) 2003-10-11 01:51:36 +00:00
Glenn Maynard 5cbf984081 unused 2003-10-01 01:59:42 +00:00
Glenn Maynard c15e0cec49 Allow screen aliasing. 2003-09-27 22:30:51 +00:00
Glenn Maynard d294640a3e phase out bEnableTimer 2003-09-27 04:57:32 +00:00
Glenn Maynard 47ff0c20c9 Fix input map problems. 2003-09-23 21:44:09 +00:00
Glenn Maynard 4d005b078e remove old comment 2003-09-12 00:20:32 +00:00
Glenn Maynard 9a6b4560b1 Wait a couple frames for a second press, since inputs aren't coming
in a single update in Linux.

These really should tend to come in a single update, but I don't have
the adapter to investigate.  Probably something SDL-related ...
2003-09-11 03:47:13 +00:00
Glenn Maynard c5e4284dbd Fix display updating. 2003-09-11 03:18:56 +00:00
Chris Danford bc1d7650fd remove IgnoreJoyAxes option. Instead, have ScreenMapControllers prefer button presses over axis presses for simultaneouly received input events. 2003-09-09 04:57:22 +00:00
Glenn Maynard 861f19388b simplify 2003-09-03 22:30:00 +00:00
Chris Danford d968ee1011 bounce on mapping screen while waiting for input 2003-09-01 04:21:16 +00:00
Glenn Maynard fe489cd281 SOUNDMAN -> SOUND
RageSoundManager.h -> RageSounds.h
2003-07-26 23:05:16 +00:00
Glenn Maynard fdb7025040 add ScreenMapControllers tweening 2003-07-16 03:35:31 +00:00
Chris Danford 65f59f1e5a fix Return/KP_Return issues for Ryan's notebook 2003-06-25 06:44:15 +00:00
Glenn Maynard a7c88d569e use ScreenMapControllers entry 2003-06-22 02:27:43 +00:00
Glenn Maynard 4382e33cc3 update axes 2003-06-18 17:57:58 +00:00
Glenn Maynard e96cb79c5f support more axes 2003-06-17 06:05:10 +00:00
Glenn Maynard 850e82e5f9 fix crash 2003-04-22 22:51:49 +00:00
Chris Danford 448bdc7b6e make calls to THEME->GetPathTo() more concise 2003-04-12 17:39:27 +00:00
Chris Danford e148806d1b add name to Actor 2003-04-12 06:16:12 +00:00
Chris Danford 40195e81c7 header2 -> Common title
Created new PlayerOption group: Perspective
Added pref: DefaultModifiers
Land -> Brake
2003-04-01 19:31:27 +00:00
Chris Danford 214c2b67af clean up Fonts and Numbers names 2003-03-30 18:12:57 +00:00
Chris Danford 31aa613295 Cleanup of theme element names
Renamed ScreenSelectMax* back to their old names
Replaced all hard-coded transitions with TransitionBGAnimations
2003-03-09 00:55:49 +00:00
Glenn Maynard edc290583a ignore Z axes, too 2003-02-22 22:03:13 +00:00
Kevin Slaughter 1141e886b8 Added new screen for internal sound volume adjustment. Also, at the request of several people, I moved the `Config Key/Joy' entry into the OPTIONS/OPERATOR menu.. I was told, and agree, that it seems more appropriate to have it in there instead 2003-02-19 10:58:32 +00:00