Commit Graph

23 Commits

Author SHA1 Message Date
Mike Hawkins 3fc4f1ea94 Player-side Autoplay modifier (allows one player to play normally, while the other is in autoplay mode) 2008-07-08 00:56:24 +00:00
Glenn Maynard 3e36a05c5f fix song.h!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2008-03-09 01:51:34 +00:00
Glenn Maynard 713c95b2b0 Stage refactoring:
- m_iPlayerCurrentStageIndexForCurrentCredit is changed to m_iPlayerStageTokens,
   counting the number of stages left.  This can be incremented and decremented
   (as a bonus or penalty) with no weird side-effects; it is not used to determine
   whether the player is on an extra stage.  This is less brittle; it eliminates
   special cases to avoid incrementing the counter and skipping into an extra stage.
 - Stage tokens are subtracted for each song played, and a player is unjoined
   when he runs out.
 - Stage tokens are subtracted at the start of gameplay.  If the player cancels,
   they're "refunded".  This differs from before, where the stage was incremented
   at the end of gameplay.  This makes the stage token counter meaningful during
   gameplay; if this is done at the end, then it would be too high during gameplay.
 - IsFinalStage is gone.  If needed, use GetSmallestNumStagesLeftForAnyHumanPlayer.
 - Extra stages are awarded by adding a stage token and incrementing
   m_iAwardedExtraStages.  If m_iAwardedExtraStages is 1, the player is
   on his first extra stage; if 2, his second.
2007-04-25 03:50:17 +00:00
Chris Danford 43ef38383d separate CurrentStageIndex into separate number per game and per player. This allowed for staggered join periods. 2007-03-25 09:37:14 +00:00
Glenn Maynard f0dab15f30 move AutoPlay 2006-11-21 05:02:55 +00:00
Glenn Maynard 0db4a096e5 ScreenWithMenuElements::BeginScreen calls SortByDrawOrder 2006-11-21 04:32:59 +00:00
Glenn Maynard ec061bebc3 Message -> MessageID 2006-11-13 22:36:39 +00:00
Glenn Maynard 083c20497c use LuaThreadVariable 2006-11-02 06:12:48 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Steve Checkoway 35c48c3671 Header cleanup. 2006-08-17 18:52:46 +00:00
Chris Danford 2a1ce6b79a make background and foreground optional when loading this screen 2006-02-04 18:37:26 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard 2b4c9e4516 Transition away from Screen(sName). 2006-01-15 19:49:02 +00:00
Glenn Maynard c5b71c0631 remove logs (this stuff predates the crash handler and has been copied
and pasted around since)

jesus we have a lot of screens
2006-01-15 08:54:03 +00:00
Glenn Maynard 1168414cf0 m_bPastHereWeGo -> !m_bGameplayLeadIn, default false. This is more natural;
!m_bPastHereWeGo was the usual case.
2005-10-10 04:36:04 +00:00
Glenn Maynard b0df6d2d68 broadcast bPastHereWeGo 2005-10-10 02:24:58 +00:00
Chris Danford f98cae8ae1 lesson mode polish 2005-09-12 08:04:47 +00:00
Chris Danford e628959ac0 move screen-specific BGAs into overlay and broadcast change messages instead
add lesson fail/pass logic
2005-09-12 06:21:30 +00:00
Chris Danford 6dac77150a fix VC7 warnings 2005-09-11 01:28:25 +00:00
Chris Danford 9580a5f8a4 add "success/try again" looping logic to lesson mode 2005-09-09 21:49:29 +00:00
Chris Danford 788f6e8126 working on lesson mode 2005-09-08 22:47:16 +00:00