Commit Graph

283 Commits

Author SHA1 Message Date
Glenn Maynard c3cf5ef59e remove ProcessMessages 2006-12-20 01:11:49 +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 346d68545c do DeadPlayer with Lua/XML 2006-11-09 06:41:56 +00:00
Glenn Maynard 112e13ce52 don't need IsPlayerInDanger 2006-11-09 06:39:52 +00:00
Glenn Maynard f56a2ba7df move ShowDanger into Background 2006-11-09 06:16:08 +00:00
Glenn Maynard d0ce8aef5b Simplify: ShowDanger is a Background preference, and should not
influence GameState.
2006-11-09 06:14:19 +00:00
Glenn Maynard 524b2418c7 use LuaThreadVariable 2006-11-02 05:42:47 +00:00
Steve Checkoway 30d9410b65 Unneeded. 2006-11-01 10:45:51 +00:00
John Bauer ce94e14f03 With the playcommand string hack removed, there are a bunch of places
that need the string arguments for playcommand or effectclock in quotes.

Unreviewed
2006-10-26 22:19:31 +00:00
Glenn Maynard ec030b56ba parent 2006-10-14 04:55:36 +00:00
Glenn Maynard f59c8c0562 handle FT_Lua 2006-10-09 08:36:44 +00:00
Glenn Maynard 4bb479a445 standard enums for some preference types 2006-10-07 07:43:18 +00:00
Glenn Maynard d188c2fd12 use GetName, GetValue 2006-10-02 06:12:42 +00:00
Glenn Maynard 7696cef6b0 move XML loading and saving into XmlFileUtil 2006-10-02 05:54:52 +00:00
Glenn Maynard db3c0458d8 don't leave globals around 2006-09-25 06:52:04 +00:00
Glenn Maynard 3a57dca6c4 ActorCommands -> ActorUtil::ParseActorCommands 2006-09-21 02:24:22 +00:00
Glenn Maynard 8548f1cb33 simplify ActorCommands 2006-09-21 01:39:38 +00:00
Glenn Maynard 1ac2e7a351 avoid global ThemeMetric<apActorCommands> 2006-08-21 21:42:41 +00:00
Glenn Maynard 7b995b8487 remove unused 2006-08-20 20:01:53 +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
Chris Danford 6146caad68 fix hang if last BGChange is to -random- 2006-07-28 07:39:09 +00:00
Glenn Maynard 5df5c3e7b8 LoadBG -> Load( Sprite::SongBGTexture() ) 2006-07-28 00:32:39 +00:00
Chris Danford a5f0d301c9 don't unsubscribe from messages on bgchange 2006-05-30 09:08:00 +00:00
Chris Danford 6663db2f94 fix blank graphic not being loaded by BackgroundEffects 2006-05-17 18:07:15 +00:00
Chris Danford b97310cee0 play init command only once 2006-05-05 21:48:58 +00:00
Chris Danford 68425c887e Fix backgrounds always choosing the first random movie. Choose the same random backgrounds every time a song is played. Fix background layer reset after BackgroundTransition. 2006-05-05 19:21:29 +00:00
Glenn Maynard d511842196 fix error fallback 2006-03-24 18:29:08 +00:00
Glenn Maynard 84331c3d1b cleanup 2006-03-24 18:28:03 +00:00
Glenn Maynard 640896d1de unused 2006-03-24 18:25:59 +00:00
Steve Checkoway cd45684d48 Warn on bad backgrounds. 2006-03-18 09:17:20 +00:00
Chris Danford ce1526fcd9 tab fixup 2006-02-03 19:24:14 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard 1829ba9eee cleanup 2005-12-01 00:10:09 +00:00
Glenn Maynard b839369dc8 comment 2005-12-01 00:08:36 +00:00
Glenn Maynard bb90407f8a static 2005-12-01 00:07:47 +00:00
Steve Checkoway 7a3887c1c1 Fix crash. 2005-10-30 23:59:12 +00:00
Glenn Maynard f3d55ef26e allow disabling song backgrounds (without disabling backgrounds entirely
with 0% Brightness, which gives an ugly black background)
2005-10-29 20:59:08 +00:00
Glenn Maynard a7af61d74c simplify with GetTweenTimeLeft() 2005-10-29 20:09:10 +00:00
Glenn Maynard 8c9b57dbae m_BackgroundMode -> m_RandomBackgroundMode 2005-10-29 20:04:57 +00:00
Glenn Maynard 5e9fcddbbc cleanup 2005-10-27 19:29:04 +00:00
Glenn Maynard ce69fcffdf cleanup 2005-10-27 19:25:31 +00:00
Glenn Maynard 099aea8d1c cleanup 2005-10-27 19:24:25 +00:00
Glenn Maynard 9d5ca1ccbf Don't Reset(). It clears too much state (unsubscribing messages, etc). InitCommand
and OnCommand should undo any state needed.
2005-10-16 02:20:36 +00:00
Glenn Maynard 130cbb882a fix background layers not processing broadcasts 2005-10-16 02:11:25 +00:00
Glenn Maynard acc9bfa5a4 cleanup 2005-10-16 01:35:06 +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
Chris Danford 67a6647c06 cleanup 2005-09-06 19:01:14 +00:00
Chris Danford 7c4f2595ab Remove support for .actor. Use .xml instead. 2005-09-02 00:09:21 +00:00