Advanced Strategic Command
Classes | Functions
gameevent_dialogs.cpp File Reference

dialogs for the game event system More...

#include <stdio.h>
#include "global.h"
#include "buildingtype.h"
#include "vehicletype.h"
#include "newfont.h"
#include "typen.h"
#include "dlg_box.h"
#include "spfst.h"
#include "gameevents.h"
#include "gameoptions.h"
#include "loadimage.h"
#include "errors.h"
#include "itemrepository.h"
#include "gameevent_dialogs.h"
#include "dialog.h"
#include "spfst-legacy.h"
#include "dialogs/fieldmarker.h"
#include "widgets/textrenderer.h"
#include "dialogs/selectionwindow.h"
#include "dialogs/vehicletypeselector.h"
#include <pgpropertyeditor.h>
#include <pgpropertyfield_checkbox.h>
Include dependency graph for gameevent_dialogs.cpp:

Go to the source code of this file.


class  UnitListFactory
class  UnitAvailabilityWindow
class  tplayerselall


int selectfield (int *cx, int *cy)
void editpolygon (Poly_gon &poly)
VehicleselectUnitFromMap ()
bool chooseWeather (int &weather)
bool chooseTerrain (int &terrainID)
bool chooseObject (int &objectID)
bool chooseVehicleType (int &vehicleTypeID)
void getxy_building (int *x, int *y)
void selectFields (FieldAddressing::Fields &fields)
int selectunit (int unitnetworkid)
void playerselall (int *playerbitmap)

Detailed Description

dialogs for the game event system

Definition in file gameevent_dialogs.cpp.

Function Documentation

bool chooseObject ( int &  objectID)

Definition at line 99 of file gameevent_dialogs.cpp.

References objectTypeRepository, and selectItemID().

Referenced by AddObject::setup().

bool chooseTerrain ( int &  terrainID)

Definition at line 91 of file gameevent_dialogs.cpp.

References selectItemID(), and terrainTypeRepository.

Referenced by MapChange::setup().

bool chooseVehicleType ( int &  vehicleTypeID)

Definition at line 107 of file gameevent_dialogs.cpp.

References selectItemID(), and vehicleTypeRepository.

Referenced by AddProductionCapability::setup().

bool chooseWeather ( int &  weather)

Definition at line 73 of file gameevent_dialogs.cpp.

References chooseString(), cwettertypen, and cwettertypennum.

Referenced by WeatherChange::setup().

void editpolygon ( Poly_gon poly)
void getxy_building ( int *  x,
int *  y 
void playerselall ( int *  playerbitmap)
int selectfield ( int *  cx,
int *  cy 

Definition at line 63 of file gameevent_dialogs.cpp.

Referenced by movebuilding().

void selectFields ( FieldAddressing::Fields fields)

Definition at line 339 of file gameevent_dialogs.cpp.

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

Referenced by FieldAddressing::setup().

int selectunit ( int  unitnetworkid)
Vehicle* selectUnitFromMap ( )

Definition at line 68 of file gameevent_dialogs.cpp.