potentially scrolling view. Also added a means for non-sprites and
animations to hear about view scrolls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3209 542714f4-19e9-0310-aa3c-eee0fc999fb1
the first time. This is the only indication that things are really
underway and it's a fine time to do things like play sounds that are
synchronized with that media and do other fun stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3084 542714f4-19e9-0310-aa3c-eee0fc999fb1
we have to go out of our way to let the abstract media managers know when
tick() is all done and paint() *may* be called. This way they can properly
clear out their tick stamps because they know that no more media fooling
around will happen between the call to willPaint() and the call to paint()
(which used to be called renderMedia() but is now paint() to remain in
line with all the other places were we tick() and then paint()).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2508 542714f4-19e9-0310-aa3c-eee0fc999fb1
out to be not at all related.
Out with the wacky system of events that require the observers to
instanceof to the high heavens. Now we just call sensible methods directly
on the observers who care and not on those who don't.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2503 542714f4-19e9-0310-aa3c-eee0fc999fb1
renderAllMedia() is ticked in all circumstances and ticked exactly once.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2411 542714f4-19e9-0310-aa3c-eee0fc999fb1
again, things added on the current tick are ticked and painted on that
tick, but cleaned things up so that we don't choke if things are added or
removed from funny places.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2187 542714f4-19e9-0310-aa3c-eee0fc999fb1
so that we can ensure that only tick()ed media will be painted and so that
we aren't affected by additions and removals that happen during tick().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2182 542714f4-19e9-0310-aa3c-eee0fc999fb1
during a call to tick() so that if it's subsequently painted we can be
assured that it's been ticked at least once previously.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1993 542714f4-19e9-0310-aa3c-eee0fc999fb1
Pulled out gobs of SpriteManager/AnimationManager functionality into
AbstractMediaManager.
The big change: sprites can have their render order fine-tuned like
animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1787 542714f4-19e9-0310-aa3c-eee0fc999fb1