Commit Graph

156 Commits

Author SHA1 Message Date
Glenn Maynard 0eb33aa806 instead of a hard-coded special case, bind the screen to Lua and move the
special case there.  this reduces cross-dependencies between screens,
which should be kept to a minimum
2005-06-25 05:03:35 +00:00
Chris Danford 2a6dcba6e8 cleanup:
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Chris Danford 3db3500226 remove size on statc CString arrays so that XToString can catch size differences 2005-05-05 19:55:04 +00:00
Glenn Maynard 4eae0713c7 cleanup 2005-04-15 07:40:30 +00:00
Chris Danford 218be32879 separate fail types per player. Now FailType adjustments based on Difficulty only affect the relevant players. 2005-04-05 08:30:57 +00:00
Chris Danford 134cdb4451 fix skip when changing value in row:
broadcast the row export only once - not for each player
disable export/import on reload - nothing uses it yet
2005-04-03 06:21:02 +00:00
Charles Lohr 8c5909ebe9 Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways.  Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Chris Danford 659def4479 fix Pop message doesn't get sent if more than 1 prompt screen on the stack 2005-03-23 06:46:24 +00:00
Glenn Maynard cf20af55ef fix crash 2005-03-20 23:15:51 +00:00
Chris Danford 4814f96218 fix crash in course mode 2005-03-16 02:16:55 +00:00
Chris Danford 0ab7c031bc position underlines per-player 2005-03-13 02:15:38 +00:00
Chris Danford 3ee87782eb optimize UpdateDisqualified: only export options for the current row 2005-03-13 01:43:44 +00:00
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