Commit Graph

22 Commits

Author SHA1 Message Date
Chris Danford 0160e23705 style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Chris Danford 599db61b62 Always call LoadAllCommands explicitly.
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Glenn Maynard f9f485debf On life change, send a message. Remove the duplicate code
from ScoreDisplayLifeTime; actors can catch the message
if they want to do things like this.
2006-11-21 03:11:58 +00:00
Chris Danford 2f7ac6aa3c Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types. 2006-11-14 11:13:21 +00:00
Glenn Maynard 4c406c9123 We have:
LifeMeter->IsFailing()
    -- whether the player would fail if a failure check was made right now
  bFailedEarlier
    -- whether the player was failing at some point
  bFailed
    -- whether the player actually failed

bFailedEarlier is set even in FailOff, but other than that the two
are identical.  Most of the time, use bFailed; in FailOff, the player
should never fail, so bFailedEarlier should be meaningless.
2006-11-09 08:16:34 +00:00
Glenn Maynard c48e4fe8bc remove noop 2006-11-09 04:45:44 +00:00
Chris Danford cdfae39494 touchup 2006-06-12 09:15:39 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 8b8fa8aad3 move CommonMetrics into a namespace so that it's clear where they're coming from when used. 2005-10-27 05:16:19 +00:00
Chris Danford e00a57e05e use Preference1D 2005-10-26 23:09:56 +00:00
Chris Danford feb1bfb0fc naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Chris Danford b6cf3477b4 Use generic names for TapNoteScore values since they are treated genericly by the code.
Theme changes coming...
2005-10-08 00:57:40 +00:00
Glenn Maynard bffd30aafd PLAYER_COLOR -> command 2005-08-31 03:41:21 +00:00
Chris Danford 20bb281e18 pass around a PlayerState and PlayerStageStats instead of PlayerNumber and looking things up in GameState 2005-08-23 20:40:47 +00:00
Chris Danford 6ab20c5ad9 more work on a new course editor 2005-06-28 08:11:30 +00:00
Chris Danford 1cc8d4a859 save survival life seconds remaining in HighScore
show SurvivalLifeTime in Ranking
2005-05-08 22:03:41 +00:00
Chris Danford 5871532ecd fix stripping of leading 0 2005-05-07 16:45:51 +00:00
Steve Checkoway d56d7ee59a Simplify. 2005-04-28 17:21:42 +00:00
Chris Danford f47ebefa90 display every time in seconds 2005-04-28 08:25:34 +00:00
Chris Danford 7d05421da3 consistent suffix 2005-04-23 22:02:44 +00:00
Chris Danford b407588073 fix GainLife command playing on wrong element 2005-04-23 03:13:12 +00:00
Chris Danford 371f97effe cleanup survival elements 2005-04-21 11:16:01 +00:00