Commit Graph

239 Commits

Author SHA1 Message Date
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
Glenn Maynard d4a36895e3 fix GainFocusCommand, LoseFocusCommand not sent 2005-04-08 02:35:42 +00:00
Chris Danford 218be32879 separate fail types per player. Now FailType adjustments based on Difficulty only affect the relevant players. 2005-04-05 08:30:57 +00:00
Chris Danford bb6592a4e7 use float.h and limit.h constants instead of arbitrary large numbers 2005-03-25 20:01:51 +00:00
Chris Danford 66a30e72b8 optimize: Add GetTimeSinceStartFast() that caches the time for archs where GetMicrosecondsSinceStart() is slow 2005-03-21 21:40:07 +00:00
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