Commit Graph

42 Commits

Author SHA1 Message Date
Glenn Maynard a4cf344876 make GameButton an enum 2007-01-13 03:13:22 +00:00
Glenn Maynard 3fa0ecbc17 fix offset 2007-01-13 03:02:33 +00:00
Glenn Maynard 369a060afa Don't duplicate the data for common GameButtons.
InputScheme separates the generic, low-level engine data
from the Game*-specific high-level data.  GameButtonType
is a high-level distinction; in fact, it's only needed
for custom GameButtons (eg. DANCE_BUTTON_*), since the
function of generic GameButtons (GAME_BUTTON_*) can simply
be identified by their value--that's why, for example, we
don't have GameButtonType for GAME_BUTTON_COIN.
2007-01-12 22:57:55 +00:00
Glenn Maynard 90b1b20c89 gameplay fixup 2007-01-12 06:28:57 +00:00
Glenn Maynard 28df360da4 missed commit: m_iInputColumn defines columns only for game-custom
buttons
2007-01-12 06:20:23 +00:00
Glenn Maynard 2bb70b4730 missed: add binding 2006-11-25 23:19:08 +00:00
John Bauer a50516f00b Fix the build. 2006-10-23 17:59:25 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Glenn Maynard 7c4b4f0291 use GetInputScheme 2006-09-30 22:38:39 +00:00
Glenn Maynard 4a3f7054f0 InputScheme 2006-09-30 09:05:13 +00:00
Glenn Maynard 85fc5a2dfb simplify (now InputMapper::ControllerToPlayerNumber logic is the
same as InputMapper::MenuToGame)
2006-09-30 05:52:06 +00:00
Glenn Maynard 5541709a1f move ColToButtonName from Game to Style, to reduce GAMESTATE use
in Game
2006-09-30 00:46:21 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard 153bcedd40 simpler Lua boilerplate 2006-09-27 20:03:31 +00:00
Glenn Maynard fe95757304 simplify 2006-09-15 08:05:15 +00:00
Steve Checkoway 222b082f55 This assert was triggered in bug 1554335. Debugging. 2006-09-14 21:02:55 +00:00
Glenn Maynard 3183dcf60b GameInputToStyleInput -> GameInputToColumn 2006-09-13 09:22:24 +00:00
Glenn Maynard 1c92617072 phase out StyleInput; it's just a column number now
StyleInput_INVALID -> Column_INVALID.  (This notation is mostly
used for enums, but makes sense for plain ints, too.)
2006-09-13 09:12:51 +00:00
Glenn Maynard 36e5fec2d4 remove unused 2006-09-13 08:08:12 +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 62a8cde182 bindings 2006-08-20 04:38:11 +00:00
Steve Checkoway 0ab5be64af Lua bindings. 2006-08-18 00:11:30 +00:00
Steve Checkoway 3c590a2433 If the player is using both sides, look at both controllers. 2006-06-24 04:01:18 +00:00
Glenn Maynard 04dfcc4934 fix assert 2006-06-22 18:35:11 +00:00
Ben Anderson 9353fe2195 Ignore events for inactive columns 2006-01-12 02:42:57 +00:00
Ben Anderson 1a2466caa2 This is wrong -- some legitimate game modes (popn-5key, pump-halfdouble) don't use the first button in the order. 2006-01-12 02:03:21 +00:00
Chris Danford 349c19cb09 add checkpoints to catch input assert 2005-10-15 16:52:01 +00:00
Glenn Maynard 94ea3cb9e0 cleanup 2005-09-03 00:30:46 +00:00
Chris Danford 5a19510ead struct -> class 2005-08-23 20:49:30 +00:00
Chris Danford 193f4e5983 fix edit playback options lost after playback 2005-04-07 18:32:19 +00:00
Chris Danford afb2c2efb4 replace large, arbitrary numbers with limit constants 2005-03-29 19:10:42 +00:00
Glenn Maynard aa2062e380 cleanup
fix hold notes on 2p side
2004-12-06 05:34:40 +00:00
Glenn Maynard d7a03bb37f fix style table glitches
const fixes
2004-12-04 04:30:39 +00:00
Glenn Maynard cfefb6715b fix gcc compile 2004-12-03 21:52:27 +00:00
Glenn Maynard b383b5dd3a Reverse the column<->GameInput mapping; instead of allowing a button
to map to more than one column (useless), allow more than one button
to map to a column.  This allows handling both UP and DOWN inputs for
a single SCRATCH column.  (more work still needed for correct scratch
handling; also, due to the massive number of styles we have, some of these
entries may be incorrect)
2004-12-03 21:47:57 +00:00
Chris Danford b8259d7af9 move player positions from Style into metrics 2004-11-07 05:49:06 +00:00
Chris Danford 09193d9e4b cleanup:
use references when passing NoteData
  Have player own a NoteDataWithScoring, not derive from it
2004-10-23 17:43:49 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford d412ab055d name cleanup: NotesType -> StepsType 2004-07-12 02:19:24 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00