Commit Graph

736 Commits

Author SHA1 Message Date
Steve Checkoway 04bff6bc1d Use XToString2. 2006-10-15 00:00:22 +00:00
Glenn Maynard 2ce839e4eb Invalid 2006-10-07 04:25:28 +00:00
Steve Checkoway 2ead045397 Something is already pulling this in in ScreenEdit.h. 2006-10-02 00:40:22 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Glenn Maynard 24a6df7b9d simplify 2006-09-30 05:33:47 +00:00
Glenn Maynard 6b03924681 NUM_EditButton, EditButton_Invalid 2006-09-27 04:37:01 +00:00
Glenn Maynard b9a189711e cleanups 2006-09-26 20:41:53 +00:00
Glenn Maynard 2fbe882366 ThemeMetric<EditMode> 2006-09-26 03:19:37 +00:00
Steve Checkoway a4aa69b148 Remove ThemeMetricEnum. Since all metrics are evaluated as lua, use lua integer constants. 2006-09-23 07:21:26 +00:00
Glenn Maynard 3f40f6c796 unneeded 2006-09-15 06:06:36 +00:00
Glenn Maynard e7fdfa2132 prefer GAMESTATE->JoinPlayer to setting GAMESTATE->m_bSideIsJoined manually 2006-09-15 05:56:43 +00:00
Glenn Maynard ab45febba3 simplify 2006-09-14 21:02:14 +00:00
Glenn Maynard 13fb874cc6 MenuInputToEditButton -> MenuButtonToEditButton 2006-09-14 20:58:05 +00:00
Glenn Maynard c7dfb9f2ec MenuInput -> MenuButton 2006-09-14 20:52:34 +00:00
Glenn Maynard dd2f259a2f MenuInput -> MenuButton 2006-09-14 20:45:51 +00:00
Glenn Maynard f1cd95828e remove MenuInput.IsValid(); if invalid, the button is simply MenuButton_INVALID 2006-09-14 20:31:46 +00:00
Glenn Maynard c9c88f26c2 input.MenuI.player -> input.pn 2006-09-14 03:18:16 +00:00
Glenn Maynard 3183dcf60b GameInputToStyleInput -> GameInputToColumn 2006-09-13 09:22:24 +00:00
Glenn Maynard e206261b80 ARRAYSIZE -> ARRAYLEN 2006-09-13 03:11:38 +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 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 d7e4bf7817 remove InputMapper::StyleToGame(StyleI) 2006-09-13 01:54:16 +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 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 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 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 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 3fc0d75570 remove IET_LEVEL_CHANGED 2006-09-08 18:51:12 +00:00
Glenn Maynard ec3b9382d2 InputMapper::IsButtonDown -> IsBeingPressed, to match InputFilter::IsBeingPressed 2006-09-08 02:12:30 +00:00
Steve Checkoway 18b047fd94 Accept input from P2 if it is expected. 2006-09-08 02:07:19 +00:00
Steve Checkoway 1636443da5 Don't overwrite LCTRL. 2006-09-08 01:50:59 +00:00
Steve Checkoway 5af590ccba Allow setting the last beat hint in the editor. 2006-09-02 23:27:46 +00:00
Steve Checkoway 9b415eb365 Simplify. 2006-08-21 13:11:45 +00:00
Steve Checkoway 91d0401496 Make this clear. 2006-08-20 23:26:10 +00:00
Steve Checkoway 1095b06e57 Key bindings. 2006-08-19 21:17:58 +00:00
Chris Danford 42d279926b fix crash when selecting course mods in editor 2006-08-15 21:18:23 +00:00
Chris Danford 5f888df91c fix course mods menu 2006-08-15 09:20:47 +00:00
Steve Checkoway 734f9760cc Remove unnecessary member. Just set iKeysoundIndex to -1 if it isn't valid. 2006-08-14 10:17:48 +00:00
Steve Checkoway 45db2de31d Pass release to Step(). Doesn't do anything yet. 2006-08-14 09:09:24 +00:00
Steve Checkoway fe4db99560 Remove NoteSkin hack. 2006-08-07 01:18:10 +00:00
Chris Danford b2e0ac60f8 don't theme BackgroundEffect names 2006-08-06 20:11:54 +00:00
Steve Checkoway 0cb22fb806 Apparently VC doesn't like using (group).GroupType as a type (and frankly, I couldn't get g++ to accept it outside of StepMania, either) so use the macros with PO and SO prefixes for PlayerOptions and SongOptions, respectively. Also, pointers to data members can't point to elements of an array (no idea why gcc was allowing it before) so use Assign_n and pass the index separately. (Very annoying, typeof() should really be in the standard.) 2006-08-05 08:02:49 +00:00
Steve Checkoway 62c5e096f6 Remove Toggle and make the members private. Now, when setting a lower level, it must be applied to the higher levels. 2006-08-05 05:50:11 +00:00
Steve Checkoway 1802e603b3 Update to use the new ModsGroup api. 2006-08-05 04:47:01 +00:00
Chris Danford 7ac45c24e4 save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore. 2006-08-05 02:38:05 +00:00
Steve Checkoway 433155f1e1 Cache note skins before playing. 2006-08-01 20:56:16 +00:00
Steve Checkoway 0c0e843f3d / to switch players. 2006-08-01 08:28:19 +00:00