#include <pgimage.h>#include <pgeventsupplier.h>#include "../paradialog.h"#include "../typen.h"#include "../vehicletype.h"#include "../vehicle.h"#include "../iconrepository.h"#include "../spfst.h"#include "../spfst-legacy.h"#include "../dialog.h"#include "../textfiletags.h"#include "../windowing.h"Include dependency graph for unitinfodialog.cpp:

Go to the source code of this file.
Classes | |
| class | UnitInfoDialog |
Functions | |
| void | assignWeaponInfo (Panel *panel, PG_Widget *widget, const SingleWeapon &weapon) |
| void | unitInfoDialog (const VehicleType *vt) |
Variables | |
| const int | paneNum = 5 |
| static const char * | paneName [paneNum] = { "information", "movement", "weapons", "transport", "description" } |
| void assignWeaponInfo | ( | Panel * | panel, | |
| PG_Widget * | widget, | |||
| const SingleWeapon & | weapon | |||
| ) |
Definition at line 25 of file unitinfodialog.cpp.
References SingleWeapon::canRefuel(), SingleWeapon::count, cwservicen, IconRepository::getIcon(), SingleWeapon::getIconFileName(), SingleWeapon::getName(), SingleWeapon::getScalarWeaponType(), heightTags, SingleWeapon::maxdistance, SingleWeapon::maxstrength, SingleWeapon::mindistance, SingleWeapon::minstrength, SingleWeapon::reactionFireShots, SingleWeapon::service(), ASCGUI_Window::setImage(), ASCGUI_Window::setLabelText(), ASCGUI_Window::setWidgetTransparency(), SingleWeapon::shootable(), SingleWeapon::sourceheight, and SingleWeapon::targ.
Referenced by WeaponInfoPanel::WeaponInfoPanel().
| void unitInfoDialog | ( | const VehicleType * | vt | ) |
Definition at line 530 of file unitinfodialog.cpp.
References actmap, displaymessage2(), GameMap::getCursor(), GameMap::getField(), ASCGUI_Window::RunModal(), and MapField::vehicle.
Referenced by execaction_pg(), CargoGuiFunctions::UnitInfo::execute(), and executeUserAction().
const char* paneName[paneNum] = { "information", "movement", "weapons", "transport", "description" } [static] |
Definition at line 60 of file unitinfodialog.cpp.
| const int paneNum = 5 |
Definition at line 59 of file unitinfodialog.cpp.
1.5.1