Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

attackpanel.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void showAttackAnimation (tfight &battle, GameMap *actmap, int ad=-1, int dd=-1)
 Performs the calculation of the attack and displays the result on screen.


Function Documentation

void showAttackAnimation tfight battle,
GameMap actmap,
int  ad = -1,
int  dd = -1
 

Performs the calculation of the attack and displays the result on screen.

The result is not written to the involved units, this must be done separately.

Parameters:
battle The fight executer
actmap the map upon which the battle is fought
ad Attacker damage override (used for replays)
dd Target damage override (used for replays)

Definition at line 265 of file attackpanel.cpp.

References CGameOptions::Instance(), lighten_Color(), BattleSoundPlayer::playEnd(), GameMap::player, releasetimeslice(), and ticker.

Referenced by PG_MapDisplay::showBattle().


Generated on Tue Jun 24 01:32:00 2008 for Advanced Strategic Command by  doxygen 1.4.2