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

unitinfodialog.cpp File Reference

#include <pgimage.h>
#include "../paradialog.h"
#include "../typen.h"
#include "../vehicletype.h"
#include "../vehicle.h"
#include "../iconrepository.h"
#include "../spfst.h"
#include "../dialog.h"
#include "../textfiletags.h"
#include "../windowing.h"

Include dependency graph for unitinfodialog.cpp:

Go to the source code of this file.

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" }


Function Documentation

void assignWeaponInfo Panel panel,
PG_Widget widget,
const SingleWeapon weapon
 

Definition at line 23 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 UnitInfoDialog::userHandler(), and WeaponInfoPanel::WeaponInfoPanel().

void unitInfoDialog const Vehicletype vt  ) 
 

Definition at line 510 of file unitinfodialog.cpp.

References actmap, displaymessage2(), GameMap::getCursor(), GameMap::getField(), ASCGUI_Window::RunModal(), PG_Widget::Show(), and tfield::vehicle.

Referenced by execaction_pg(), execuseraction2(), and CargoGuiFunctions::UnitInfo::execute().


Variable Documentation

const char* paneName[paneNum] = { "information", "movement", "weapons", "transport", "description" } [static]
 

Definition at line 58 of file unitinfodialog.cpp.

Referenced by UnitInfoDialog::UnitInfoDialog().

const int paneNum = 5
 

Definition at line 57 of file unitinfodialog.cpp.

Referenced by UnitInfoDialog::UnitInfoDialog().


Generated on Tue Jun 24 02:14:12 2008 for Advanced Strategic Command by  doxygen 1.4.2