Commit Graph

18 Commits

Author SHA1 Message Date
Glenn Maynard be34821955 send parent 2006-10-14 04:49:25 +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
Glenn Maynard c6125c4e26 Actor.cpp "fDeltaTime >= 0" assertion fires occasionally. This is under
Foreground's update, caused by GAMESTATE->m_fMusicSeconds moving backwards.

This happens due to frame skips confusing GameSoundManager::GetFrameTimingAdjustment.
It expects that, when the framerate is stable, each frame will take 1/FPS.
If we skip a frame, it thinks one frame is 30ms late, and tries to
adjust by 30-16ms.  Reduce the threshold for this adjustment to half a frame;
if we're that much late, the problem isn't scheduling jitter--we've probably
dropped a frame, and adjusting here is incorrect.

In case that isn't enough, clamp fDeltaTime in Foreground, too.
2006-02-25 10:08:18 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 4c874a943b include cleanup 2005-11-06 18:03:47 +00:00
Chris Danford 3b61a74477 reduce header file dependencies 2005-06-04 21:22:50 +00:00
Chris Danford ac5a99b41f specify effect and transition in each background change 2005-05-29 01:11:49 +00:00
Glenn Maynard cd7af0a396 fix "empty" animations that just send messages never being run 2005-04-14 04:45:46 +00:00
Glenn Maynard db0d07d574 allow non-directories 2005-02-27 19:34:00 +00:00
Glenn Maynard b0ff5081ab full actor support in Foreground 2005-02-25 06:45:07 +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 78800818e3 Remove BGAnimation::GetLengthSeconds; use GetTweenTimeLeft instead. 2005-01-15 18:31:14 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Chris Danford 58d63cb476 make draw order separate from Z value
add "PageType" graphic to ScreenEvaluation
2004-05-02 03:01:27 +00:00
Glenn Maynard 8a101a8009 don't cache foregrounds in memory 2004-03-26 10:17:22 +00:00
Glenn Maynard 77951ede0e set up GAMESTATE->m_fMusicSeconds earlier 2004-01-29 05:20:27 +00:00
Glenn Maynard c681f61af9 working on optionally showing (mostly) synced BGAs in the editor 2004-01-23 07:21:00 +00:00
Glenn Maynard 5ef57a474b add foreground gameplay layer 2004-01-07 00:13:32 +00:00