unitinfodialog.h File Reference

#include "../vehicletype.h"

Include dependency graph for unitinfodialog.h:

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

Go to the source code of this file.

Functions

void unitInfoDialog (const VehicleType *vt=NULL)
void assignWeaponInfo (Panel *panel, PG_Widget *widget, const SingleWeapon &weapon)


Function Documentation

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 = NULL  ) 

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().


Generated on Mon May 21 01:45:35 2012 for Advanced Strategic Command by  doxygen 1.5.1