Move movie GainFocus/LoseFocus handling to Sprite.
Visualizations are part of Background, not BGAnimation; move them there. Remove BGAnimation::LoadFromVisualization and BGAnimationLayer::LoadFromVisualization.
m_fStretchTexCoordVelocityX -> TexCoordVelocityX, etc.
Remove TYPE_STRETCH.
Disassociate BGAL::Type from the "Type" BGA metric. Prefer "Type=sprite",
"Type=particles", "Type=tile", and "Stretch=1" (for sprite only). Type=0, 1, 2, 3 still
work; 0 is "Type=sprite", Stretch=0 and 1 is Type=sprite, Stretch=1.
Remove old code.
Historical note: "stretch" was used in this code at various times to mean both 1:
"stretch the internal texture image to fit the texture" and 2: "stretch the displayed
image to fill the screen". It now only means #2. #1 is done automatically when needed.
Note that LoadFromAniLayerFile should never load an INI; it's for backwards-
compatibility only. LoadFromIni is simpler and more flexible.
allow Models and BitmapTexts in BGAnimationLayer (detected through file extension)
add RageModelVertex, which doesn't have a color property
add "stretch" file name hint for textures
It barely takes into account -time-.
Pump How To Play BGA Screen now kinda complete, and uses the mechanism
(this is a for a demonstration on the kinds of things we need to support in
BGALayer to make truly unique animations, it shouldn't be carved in stone
and used as THE BGA Tweening system as it is.)
Changes to BGAnimations:
Metric Configurable Stuff:
1. you can rotate your BGA's
2. You can specify their X
3. You can specify their Y
4. You can make them appear (once) after a set time
5. You can make them hide (once) after a set time (useful if you want an item to show and appear just once)
6. You can set how ZOOMED in the element is.
This will only work for sprite 0 in the BGAnimation Layer,
I have currently done NO checking should there be more than one sprite in the layer (I suspect only sprite 0 will change and the rest will be unaffected)
But again fairly untested. Check out the Pump How To Play screen to see it running.
In the works:
Tweening With BGAnimations.
Haven't quite figured this one yet.