Commit Graph

143 Commits

Author SHA1 Message Date
Chris Danford e080e9f61b update disqualified only for the player that changed 2005-03-13 01:03:22 +00:00
Chris Danford 4b824bbe47 export and import separately for each player 2005-03-13 00:59:03 +00:00
Chris Danford 7c237be91f export specific rows, not all rows at once, to make it easier to reload certain rows 2005-02-24 01:17:39 +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 2bdff91293 preload cancel all sound 2005-02-07 23:31:55 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford a24bd3014c cleanup: "(PlayerNumber)" -> "" 2005-01-31 03:18:46 +00:00
Glenn Maynard 288b5c903b cleanup 2005-01-17 22:42:57 +00:00
Chris Danford 5d6eb1d236 put ActorUtil functions in a namespace 2005-01-17 05:42:52 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Chris Danford 12d556c759 allow multiple, simultaneous prepared screens 2004-12-09 09:41:06 +00:00
Chris Danford 730787aacb name cleanup: State->Screen 2004-12-05 11:59:39 +00:00
Glenn Maynard 29c5e8a9e1 Fix CODE_CANCEL_ALL_PLAYER_OPTIONS not working when the
last input isn't a style button (StyleI.player isn't valid in that case).

StyleI is tied to "columns"; it's only used in screens that deal with columns:
gameplay, editor, name entry.  Maybe we can derive it on demand in these
functions and not pass it around to dozens of functions that don't use it ...
2004-12-04 11:05:38 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +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 61581479d8 track the current Trail in GameState 2004-06-03 08:22:02 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +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 dfba0c0c46 move screen flow logic into branches, not PlayMode specific metrics 2004-04-18 05:15:22 +00:00
Glenn Maynard 8bbae371b5 update disqualification after resetting options 2004-04-04 22:12:17 +00:00
Glenn Maynard 56bd5bd008 fix CODE_CANCEL_ALL_PLAYER_OPTIONS resets both players 2004-04-02 00:58:26 +00:00
Glenn Maynard 47e7f08614 don't accept CODE_CANCEL_ALL_PLAYER_OPTIONS on disabled
players
2004-04-02 00:54:26 +00:00
Chris Danford 7807b0c703 don't use PlayOnce in performance critical places 2004-03-23 23:56:38 +00:00
Chris Danford 7a32af8c5e clean up presisting of settings to Profile
persist PreferredCourseDifficulty
2004-03-13 22:18:09 +00:00
Chris Danford bb8ae37aab add graphic for ScreenPlayerOptions CancelAll 2004-03-13 18:15:50 +00:00
Chris Danford 5bb3804be8 add comment 2004-03-13 17:38:26 +00:00
Chris Danford a4f72adc3d save player options automatically if using profile
remove code for saving player options
2004-03-13 17:35:31 +00:00
Chris Danford d0356d78fa if using a handicap option, don't add a high score and show "disqualify" on the eval screen 2004-03-09 08:19:55 +00:00
Chris Danford df72631f6c add "disqualify" graphic to options screen for options that make a song easier 2004-03-08 07:49:01 +00:00
Chris Danford e183e3b706 add SaveModifiers code for PlayerOptions screen 2004-02-23 08:16:40 +00:00
Chris Danford e8f3886d2c add "CancelAll" code for PlayerOptions screen 2004-02-23 07:44:57 +00:00
Glenn Maynard 56528ecbeb Fix OptionsMessage showing in the editor 2003-09-30 05:25:22 +00:00
Glenn Maynard f4bb406ee4 derive ScreenPlayerOptions from ScreenOptionsMaster 2003-09-29 09:08:02 +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
Chris Danford 4414561fe6 add default character so Rave/Battle is playable without character models 2003-09-25 04:22:51 +00:00
Chris Danford eebb417840 clean up perspective
fix mini
fix frustum matrix in D3D
2003-09-21 18:07:29 +00:00
Chris Danford c8f7c02036 Split ModelView matrix stack into View and World stacks.
Add "hallway" and "distant" mods.
2003-09-21 02:36:28 +00:00
Glenn Maynard 8b44280e5a warnings 2003-09-19 01:11:32 +00:00
Glenn Maynard 6af0aa81c9 Fix warnings. 2003-09-15 07:14:39 +00:00
Andrew Wong ee81ce3cac feature: custom speed mod = allows users to specify their own speed modifier in stepmania.ini.
note: C300 was removed to make space on the line.
2003-09-13 22:57:11 +00:00
Glenn Maynard 744a381e42 Simplify ConvertParamToThemeDifficulty. 2003-09-10 08:47:43 +00:00
Chris Danford e0b3160528 revert PlayerOptions changes 2003-09-05 07:34:13 +00:00
Nick 5ff010ee4e Added option to not save songs 2003-09-04 21:24:50 +00:00
Thad Ward cecaf0c9be comment out some Song Options screen-related bits. (the option in the machine options screen shouldn't be there, for example) 2003-08-29 05:10:53 +00:00
Chris Danford 90655d4a4e Fix: BarDrain setting not saved, "sudden death" not so sudden on easier judge difficulties 2003-08-29 04:17:04 +00:00
Chris Danford eab262e0bc fix separate music rates for each player showing 2003-08-28 07:38:09 +00:00