Commit Graph
287 Commits
Author SHA1 Message Date
Glenn Maynard 66d39dd65c Add ActorFrame::DeleteChildrenWhenDone, to call DeleteAllChildren automatically.
Move movie GainFocus/LoseFocus handling to Sprite.
Visualizations are part of Background, not BGAnimation; move them there.  Remove BGAnimation::LoadFromVisualization and BGAnimationLayer::LoadFromVisualization.
2005-01-15 20:32:35 +00:00
Glenn Maynard c9091a1214 Don't play "On" automatically for non-generic BGAnimations; play it
explicitly, like we do with all other objects.
2005-01-15 19:21:09 +00:00
Glenn Maynard 3153c70ddb Load Background's BGAs on first load, not in the ctor, so Jukebox and
Demonstration set up first; otherwise, BGAs with Lua expressions that
depend on them won't work.
2005-01-04 01:45:28 +00:00
Glenn Maynard 63364e5dcc fix vc7 warnings 2004-12-29 22:41:27 +00:00
Glenn Maynard 6fa1bda0be don't load initial static bg if other negative bgchanges are supplied; don't bother loading the bg itself if it's never used 2004-12-27 01:33:09 +00:00
Glenn Maynard e42236713d remove unused Background::LoadFromAniDir 2004-12-26 20:16:46 +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
Sean Burke e15d1da6b7 Revert and fix a bit better. 2004-12-04 20:44:02 +00:00
Steve Checkoway eaca864906 Fix crash (only gcc?) 2004-12-04 20:36:29 +00:00
Chris Danford 005a7f5efa convert more prefs to use Preference 2004-12-04 10:35:50 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 5127ceef4d remove CachedThemeMetrics in favor of ThemeMetric<T>
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
2004-11-06 20:36:04 +00:00
Glenn Maynard 2c40b80080 force song backgrounds to effectclock,timer by default 2004-10-16 02:57:18 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard 5a4f60c505 cleanup 2004-08-28 09:18:02 +00:00
Chris Danford f5d3b27450 name cleanup: Gaining -> Gain, Losing->Lose 2004-08-22 02:16:31 +00:00
Chris Danford 008f402939 don't force Songs that specified BGAnimations to switch to the static background on the last note beat 2004-08-12 06:34:17 +00:00
Glenn Maynard bf19190d61 clean up diffuse resetting after bga fade 2004-07-12 21:21:56 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Chris Danford a9db266eb2 "for( p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 08:16:17 +00:00
Chris Danford b05d25ab24 "m_pCurNotes" -> "m_pCurSteps" 2004-05-24 06:12:17 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Glenn Maynard 35814004ef make sure we never send a negative update to Actor 2004-04-25 04:42:36 +00:00
Glenn Maynard c35aa5c853 cleanup BrightnessOverlay
fix unneeded brightness tween on gameplay start
2004-04-19 20:28:10 +00:00
Glenn Maynard 1f9f980782 simplify
don't strip "*danger*" backgrounds; the danger background doesn't
go in BGAnimations anymore
2004-04-10 00:47:52 +00:00
Glenn Maynard ebbdf05f9a metric to specify what brightness to fade the background from 2004-04-08 00:18:13 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Glenn Maynard f9e818794a add disqualifying "cover" modifier: don't show the song background 2004-04-02 00:13:47 +00:00
Glenn Maynard d5098c84ce move texture load policy into RageTextureID, so it can be set to volatile consistently
for banners/backgrounds
2004-03-26 10:15:18 +00:00
Glenn Maynard 9ae558482a fix trace 2004-03-17 05:06:49 +00:00
Glenn Maynard 6396362352 fix "Visualizations/foo.avi/ isn't a directory" crash due to visualizations
being loaded as BGAnimations
2004-02-24 02:17:03 +00:00
Glenn Maynard 1d32921e1f fix diffuse color not being reset after a fade 2004-02-19 01:22:56 +00:00
Steve Checkoway da9ea82ed6 Fix scoping error. 2004-02-13 08:20:14 +00:00
Chris Danford 7bc539ec2b fix "last background change never happens" 2004-02-13 08:13:21 +00:00
Glenn Maynard 2551223128 don't cache song backgrounds 2004-02-05 21:59:26 +00:00
Glenn Maynard 3d1a6e9f05 fix -random- tag 2004-02-02 22:32:05 +00:00
Glenn Maynard 77951ede0e set up GAMESTATE->m_fMusicSeconds earlier 2004-01-29 05:20:27 +00:00
Chris Danford 8ba5efc31b fix BGChange crash 2004-01-24 19:05:54 +00:00
Glenn Maynard 2091a7065c working on optionally showing (mostly) synced BGAs in the editor 2004-01-23 06:51:15 +00:00
Glenn Maynard e640aa7ba9 update Background::Unload 2004-01-23 05:44:15 +00:00
Glenn Maynard 673c3e8250 use "-random-"; that's what the editor uses 2004-01-23 04:22:34 +00:00
Glenn Maynard 755b1ef39e filename "random" in #BGCHANGES falls back on "random BG
every 4 measures"
2004-01-23 04:14:06 +00:00
Glenn Maynard d59595cd93 move Background::LoadFromRandom out 2004-01-23 03:53:23 +00:00
Glenn Maynard 745a27712f simplify random bg loading
don't play the same random bg twice in a row
don't spend time loading random bgs if we're not going to use them
2004-01-23 02:23:11 +00:00
Glenn Maynard 9b717c857c fix: don't show danger in FailEndOfSong after everyone has failed 2003-12-31 21:03:14 +00:00
Glenn Maynard c1462d88f5 TimingData 2003-12-18 04:48:26 +00:00
Chris Danford 3c2df0618d add DangerAllIsOpaque metric 2003-12-07 21:40:00 +00:00
Chris Danford ade8308aa1 add per-player danger and per-player dead animations 2003-12-07 20:29:42 +00:00