added animation

but not full in ADeditor
This commit is contained in:
2010-09-05 16:25:23 +04:00
parent c898f978da
commit 8fa6b8e2a6
24 changed files with 924 additions and 725 deletions

View File

@@ -27,6 +27,7 @@ void Splashes::addSplash(int player, int srcTower, int srcId, QPointF pos, QPoin
}
spl.angle = 180.0f*(- std::atan2(spl.pos.x() - spl.destination.x(),spl.pos.y() - spl.destination.y()))/M_PI;
spl.imgType = src.imgType;
spl.animIndex = 0;
spl.life = 0;
spl.src = srcId;
srcTriggerType trig;