Commit Graph

71 Commits

Author SHA1 Message Date
Chris Danford 6c2233fd03 JOY_1 -> JOY_BUTTON_1. I've confused DEVICE_JOY1 with JOY_1 many times. 2005-09-12 08:48:16 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Renaud Lepage 5952d019f2 We still need HelpDisplay.h for mapping controllers on Xbox. 2005-09-04 01:14:07 +00:00
Glenn Maynard 267e913b4d cleanup 2005-09-03 06:13:30 +00:00
Chris Danford 1fffd48c57 SetEffectNone -> StopEffect 2005-07-24 03:11:03 +00:00
Glenn Maynard 6ac51af9c2 header 2005-07-20 09:48:19 +00:00
Glenn Maynard 58178ad258 cleanup 2005-07-12 05:38:13 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Chris Danford d1d16207a6 always save mappings on exit - not just on change 2005-04-24 02:03:25 +00:00
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