Commit Graph

261 Commits

Author SHA1 Message Date
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
Glenn Maynard 0a0ad9eb54 AutoActor 2005-08-31 19:21:29 +00:00
Glenn Maynard 48bb0f235d AutoActor 2005-08-31 19:17:39 +00:00
Chris Danford fdb9764c81 load from PlayerState and PlayerStageStats, not PlayerNumber and looking up in GameState 2005-08-23 21:04:35 +00:00
Chris Danford 67af38cd97 remove File=(songbackground|songbanner|coursebanner) hack
fix compile
2005-07-26 20:50:45 +00:00
Chris Danford c3fd71dd76 fix assert double-loading the static song background 2005-07-18 17:34:00 +00:00
Chris Danford f93cb4e320 add BakeAllBackgroundChanges 2005-07-18 01:52:01 +00:00
Chris Danford 8c35a5d5cb fix VC7.1 warnings 2005-06-23 03:14:01 +00:00
Chris Danford 63eebeb75e add GetXML overload for convenience 2005-06-16 03:08:45 +00:00
Chris Danford 2276b03c55 background assert -> warning. This fired, but I can't repro it and the assert didn't give useful data. 2005-06-14 05:21:48 +00:00
Chris Danford 6babd726f6 fix colors ignored in BGChange with file = -random- 2005-06-07 09:44:03 +00:00
Chris Danford b489c43a88 add color parameter to BGChanges 2005-06-05 22:21:55 +00:00
Chris Danford afec93797f play commands even if not switching backgrounds. This is useful for short "flash" BGAs that play a few times in a row with nothing else in-between. 2005-06-05 03:18:09 +00:00
Chris Danford 73167283a3 fix random BGA placed on BPM change overrides scripted BG
add SBE_UpperLeft for correct alignment of BGAs
2005-06-05 02:23:15 +00:00
Chris Danford 3ff4a16ea0 sEffect specified in BackgroundChange overrides a random background's default effect 2005-06-04 23:27:44 +00:00
Chris Danford 3b61a74477 reduce header file dependencies 2005-06-04 21:22:50 +00:00
Chris Danford c80d0c4a53 add support for random background sets using Song genre 2005-06-02 10:09:46 +00:00
Chris Danford fa1bb13ccb fill in random backgrounds only in layer 0
choose N random background up front, then load when used instead of choosing one at a time as they're needed
obey BGChange transition and effect in BGChanges to random
2005-06-02 04:37:33 +00:00
Chris Danford dac72665e3 move background file enumerating into BackgroundUtil.*
fix editor background change functionality
2005-05-31 01:17:37 +00:00
Chris Danford ac5a99b41f specify effect and transition in each background change 2005-05-29 01:11:49 +00:00
Chris Danford 68a82faa6a add multiple background layers 2005-05-26 09:35:57 +00:00
Chris Danford 0938d9d9a7 conver more to use Preference 2005-04-28 08:27:40 +00:00
Chris Danford 1469f8ffd7 add ClampOutputPercent for displays that can't display the full range of brightness 2005-04-15 11:03:04 +00:00