1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* fixed blocked shooter behavior

* slowed map scrolling
* minor
This commit is contained in:
Michał W. Urbańczyk
2008-10-11 13:14:52 +00:00
parent 7104326563
commit 4af64f1b9f
9 changed files with 70 additions and 45 deletions

View File

@ -2025,7 +2025,7 @@ void CPlayerInterface::actionStarted(const BattleAction* action)
)
{
static_cast<CBattleInterface*>(curint)->creAnims[action->stackNumber]->setType(20);
}
}
}
void CPlayerInterface::actionFinished(const BattleAction* action)
@ -2088,10 +2088,10 @@ void CPlayerInterface::battleAttack(BattleAttack *ba)
else
dynamic_cast<CBattleInterface*>(curint)->stackIsAttacked(ba->bsa.stackAttacked, ba->bsa.damageAmount, ba->bsa.killedAmount, ba->stackAttacking, ba->shot());
}
void CPlayerInterface::battleStackKilled(int ID, int dmg, int killed, int IDby, bool byShooting)
{
dynamic_cast<CBattleInterface*>(curint)->stackKilled(ID, dmg, killed, IDby, byShooting);
}
//void CPlayerInterface::battleStackKilled(int ID, int dmg, int killed, int IDby, bool byShooting)
//{
// dynamic_cast<CBattleInterface*>(curint)->stackKilled(ID, dmg, killed, IDby, byShooting);
//}
//void CPlayerInterface::battleStackIsShooting(int ID, int dest)
//{