#include <pgimage.h>#include <pgtooltiphelp.h>#include "attackpanel.h"#include "../paradialog.h"#include "../attack.h"#include "../explosivemines.h"#include "../iconrepository.h"#include "../soundList.h"#include "../gamemap.h"#include "../events.h"#include "../gameoptions.h"#include "../windowing.h"#include <pgcolors.h>Include dependency graph for attackpanel.cpp:

Go to the source code of this file.
Defines | |
| #define | USE_COLOR_CONSTANTS |
Functions | |
| void | showAttackAnimation (tfight &battle, GameMap *actmap, int ad, int dd) |
| Performs the calculation of the attack and displays the result on screen. | |
Variables | |
| const int | maxdefenseshown = 2 |
| const int | maxattackshown = 2 |
|
|
Definition at line 26 of file attackpanel.cpp. |
|
||||||||||||||||||||
|
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.
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(). |
|
|
Definition at line 262 of file attackpanel.cpp. |
|
|
Definition at line 261 of file attackpanel.cpp. |
1.4.2