Commit Graph

919 Commits

Author SHA1 Message Date
Glenn Maynard db3aa0d73a simplify inheritance 2006-10-04 02:44:52 +00:00
Glenn Maynard 19e7328d78 move XML loading and saving into XmlFileUtil, reducing XNode
to a data structure
2006-10-02 05:53:56 +00:00
Steve Checkoway f73100705b Simplify. 2006-10-01 13:55:01 +00:00
Steve Checkoway 01cd66bd0f DISP_OPT -> XMLDisplayOptions. 2006-10-01 13:07:20 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Glenn Maynard 5e99a1c9e9 remove GameState::PlayerUsingBothSides 2006-09-30 02:57:05 +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 4002071bea simpler Lua boilerplate 2006-09-27 19:47:52 +00:00
Glenn Maynard 6e6ea7971d NUM_GameButton 2006-09-27 04:39:51 +00:00
Glenn Maynard 3311f1992c CabinetLight_Invalid 2006-09-26 21:23:30 +00:00
Glenn Maynard cf5dba03a4 GameController_Invalid 2006-09-26 20:59:40 +00:00
Glenn Maynard d19fdc9caf NUM_GameController 2006-09-26 20:57:31 +00:00
Glenn Maynard 0f2707fe9c GenericTweenOn, GenericTweenOff 2006-09-23 03:57:11 +00:00
Glenn Maynard 011f59f444 OffCommand for textDebug 2006-09-23 03:45:30 +00:00
Chris Danford 0012857bfd quick fix to disable affect of tilde in survival 2006-09-21 01:58:30 +00:00
Steve Checkoway d15318cc42 Only flush "Save/". 2006-09-16 03:17:18 +00:00
Steve Checkoway f8522927cc reply -> replay 2006-09-16 03:12:07 +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 4d612ff9ee input.pn 2006-09-14 04:08:58 +00:00
Glenn Maynard 3183dcf60b GameInputToStyleInput -> GameInputToColumn 2006-09-13 09:22:24 +00:00
Glenn Maynard 9da4770fe0 StyleInput_INVALID -> Column_INVALID 2006-09-13 09:14:03 +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 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 5be4331e71 phase out StyleI.player 2006-09-13 00:09:00 +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 3fc0d75570 remove IET_LEVEL_CHANGED 2006-09-08 18:51:12 +00:00
Steve Checkoway 9613079a92 static 2006-09-02 21:19:32 +00:00
Steve Checkoway 0de6c71e96 Simplify. 2006-08-19 19:58:48 +00:00
Steve Checkoway 35c48c3671 Header cleanup. 2006-08-17 18:52:46 +00:00
Glenn Maynard 30f53de68c LoadFromFont 2006-08-16 07:19:41 +00:00
Steve Checkoway 45db2de31d Pass release to Step(). Doesn't do anything yet. 2006-08-14 09:09:24 +00:00
Steve Checkoway ba0d51cc7a Simplify. 2006-08-06 02:37:42 +00:00
Steve Checkoway 6a6f55b7c7 Comment. 2006-08-06 02:11:48 +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 b3056eee1c Fix mines not being triggered when being held down (for the most part). It's still possible for mines to not be triggered if the input released after the mine has passed but before the next Update() frame. This is much tricker to deal with since we can't ask if the button was held down at some time in the past It is also much harder to detect than having held down the button for an entire measure and watched mines just not be hit.
This should also fix autoplay misses by telling Step() exactly which row was pressed.

There are also comments in there about possible bugs in the grading/key sounds but I didn't want to change those without getting input from other devs since it does change the way we grade "jack hammers."
2006-07-28 09:05:58 +00:00
Steve Checkoway 73ce25c313 Spacing to make these easier to read. 2006-07-23 23:55:16 +00:00
Steve Checkoway 8ab760a346 Put the NoteData into the PlayerInfo and use that for constructing Players. Use the Player's (new) interface GetNoteData() for everything except for loading where ScreenGameplay needs to actually modify the NoteData so do it directly via the PlayerInfo. 2006-07-17 00:58:33 +00:00
Josh Allen b96481c589 Fix compile
NoteData* --> const NoteData&
2006-07-16 16:10:00 +00:00
Steve Checkoway 5a01cb9c3f Split out SaveStats to give more flexibility to subclasses that may wish to interact with the stats differently. 2006-07-10 04:32:33 +00:00
Steve Checkoway 3f2877bf76 Simplify. 2006-07-10 00:47:59 +00:00
Steve Checkoway 0b8e8f8512 Use a PlayerStageStats rather than indexing into STATSMAN with a PlayerNumber. 2006-07-10 00:02:07 +00:00