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

gameevent_dialogs.h File Reference

Interface to game event dialogs. More...

#include "mappolygons.h"
#include "gameevents.h"
#include "dlg_box.h"
#include "research.h"
#include "dialogs/fieldmarker.h"

Include dependency graph for gameevent_dialogs.h:

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

Go to the source code of this file.

Functions

void showtechnology (const Technology *t)
void selectFields (FieldAddressing::Fields &fields)
bool chooseWeather (int &weather)
bool chooseTerrain (int &terrainID)
bool chooseObject (int &objectID)
void editpolygon (Poly_gon &poly)
void getxy_building (int *x, int *y)
int selectunit (int unitnetworkid)
void playerselall (int *playerbitmap)
bool chooseVehicleType (int &vehicleTypeID)


Detailed Description

Interface to game event dialogs.

Definition in file gameevent_dialogs.h.


Function Documentation

bool chooseObject int &  objectID  ) 
 

Definition at line 96 of file gameevent_dialogs.cpp.

References objectTypeRepository, and selectItemID().

Referenced by AddObject::setup().

bool chooseTerrain int &  terrainID  ) 
 

Definition at line 88 of file gameevent_dialogs.cpp.

References selectItemID(), and terrainTypeRepository.

Referenced by MapChange::setup().

bool chooseVehicleType int &  vehicleTypeID  ) 
 

Definition at line 104 of file gameevent_dialogs.cpp.

References selectItemID(), and vehicleTypeRepository.

Referenced by AddProductionCapability::setup().

bool chooseWeather int &  weather  ) 
 

Definition at line 70 of file gameevent_dialogs.cpp.

References chooseString(), cwettertypen, and cwettertypennum.

Referenced by WeatherChange::setup().

void editpolygon Poly_gon poly  ) 
 

Definition at line 849 of file edmisc.cpp.

References actmap, ASC_PG_Dialog::RunModal(), savemap(), SelectFromMap::Show(), and Poly_gon::vertex.

void getxy_building int *  x,
int *  y
 

Definition at line 318 of file gameevent_dialogs.cpp.

References actmap, ASC_PG_Dialog::RunModal(), and SelectFromMap::Show().

Referenced by BuildingPositionTrigger::setup(), ChangeBuildingDamage::setup(), ChangeBuildingOwner::setup(), AddProductionCapability::setup(), and AddResources::setup().

void playerselall int *  playerbitmap  ) 
 

Definition at line 679 of file gameevent_dialogs.cpp.

References tdialogbox::done(), tplayerselall::init(), tplayerselall::playerbit, and tplayerselall::run().

Referenced by AnyUnitEntersPolygon::setup().

void selectFields FieldAddressing::Fields fields  ) 
 

Definition at line 336 of file gameevent_dialogs.cpp.

References actmap, ASC_PG_Dialog::RunModal(), and SelectFromMap::Show().

Referenced by FieldAddressing::setup().

int selectunit int  unitnetworkid  ) 
 

Definition at line 554 of file gameevent_dialogs.cpp.

References actmap, GameMap::getField(), GameMap::getUnit(), Vehicle::networkid, ASC_PG_Dialog::RunModal(), SelectFromMap::Show(), and tfield::vehicle.

Referenced by UnitTrigger::setup(), and SpecificUnitEntersPolygon::setup().

void showtechnology const Technology t  ) 
 

Definition at line 478 of file gameevent_dialogs.cpp.

References ASC_PG_Dialog::RunModal(), PG_Widget::Show(), ASCString::toString(), and PolygonTriangulationLibrary::tr.

Referenced by researchCheck().


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