Commit Graph

207 Commits

Author SHA1 Message Date
Chris Danford bb490cce88 always show tutorial at full brightness 2005-03-17 02:16:31 +00:00
Chris Danford 3953ce9bb2 always show tutorial at full brightness 2005-03-16 23:27:00 +00:00
Chris Danford 5991ee650b fix tween overflow in editor playback 2005-03-14 12:10:35 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Chris Danford 78d7035b02 prefer random backgrounds in /<GroupName> 2005-03-02 03:20:12 +00:00
Glenn Maynard e1d7d006cc allow xml loading for backgrounds 2005-02-25 06:56:03 +00:00
Chris Danford 42c5e2b3f9 allow specifying a Lua function for a command with "%funciton(self) self:blah end" 2005-02-23 19:15:24 +00:00
Glenn Maynard ffcdaeb515 fix OnCommand not being sent 2005-02-18 00:13:53 +00:00
Chris Danford bb712884bb move global StageStats into a singleton 2005-02-16 03:25:45 +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
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard 3634c07656 Represent TimingData values (except for "seconds") in fixed-point.
Maybe we should stop calling note indexes "rows" and "indexes", and just
call them "beats"; if they're stored as an integer, they're in fixed-point.  Things
like "note rows per second" are a lot less intuitive than just calling them "beats
per second".
2005-01-23 21:55:01 +00:00
Glenn Maynard dfe7ec00ae fix assert 2005-01-22 03:52:23 +00:00
Glenn Maynard 77faa0d089 don't need to keep m_bGeneric around 2005-01-16 19:19:24 +00:00
Glenn Maynard 8f99164eb5 All BGAnimations are "generic", except for those loaded directly from
Background.  This should be more consistent (we were creating BGAnimations
as non-generic in some places where it probably should have been generic).
This means all themes need to explicitly set the position of all BGAnimation
graphics, which is good practice anyway.
2005-01-16 18:25:29 +00:00
Chris Danford 8f524bd0f5 fix background position and scale not set correctly 2005-01-16 05:51:04 +00:00
Glenn Maynard 0abc942910 clean up OnCommand handling in song backgrounds 2005-01-15 22:34:04 +00:00
Glenn Maynard 635d5e43e2 eliminate LoadFromStaticGraphic 2005-01-15 20:48:20 +00:00
Glenn Maynard 594587607c Eliminate BGAnimation::LoadFromMovie and BGAnimationLayer::LoadFromMovie. 2005-01-15 20:37:46 +00:00
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