comment
This commit is contained in:
@@ -863,11 +863,14 @@ float Actor::GetTweenTimeLeft() const
|
|||||||
return tot;
|
return tot;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is a hack to change all tween states while leaving existing tweens alone.
|
/*
|
||||||
|
* This is a hack to change all tween states while leaving existing tweens alone.
|
||||||
*
|
*
|
||||||
* Perhaps the regular Set methods should also take an optional argument, eg.
|
* Hmm. Most commands actually act on a TweenStateAndInfo, not the Actor itself.
|
||||||
* "SET_TWEEN" (normal behavior) or "SET_GLOBAL" to set regardless of tweens.
|
* Conceptually, it wouldn't be hard to give TweenState a presence in Lua, so
|
||||||
* That might be ugly, too.
|
* we can simply say eg. "for x in states(Actor) do x.SetDiffuseColor(c) end".
|
||||||
|
* However, we'd then have to give every TweenState a userdata in Lua while it's
|
||||||
|
* being manipulated, which would add overhead ...
|
||||||
*/
|
*/
|
||||||
void Actor::SetGlobalDiffuseColor( RageColor c )
|
void Actor::SetGlobalDiffuseColor( RageColor c )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user