gamedlg.h File Reference

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

Go to the source code of this file.

Functions

void settributepayments (void)
void researchinfo (void)
void choosetechlevel (void)
void giveunitaway (MapField *fld, const Context &context)
void showGameParameters (void)
void showPlayerTime ()
void displaywindspeed ()
void sendGameParameterAsMail (GameMap *actmap)


Detailed Description

A lot of dialog boxes that are only used by both ASC.

Definition in file gamedlg.h.


Function Documentation

void choosetechlevel ( void   ) 

Definition at line 445 of file gamedlg.cpp.

References tdialogbox::done(), tchoosetechlevel::init(), and tchoosetechlevel::run().

void displaywindspeed (  ) 

Definition at line 693 of file gamedlg.cpp.

References actmap, displaymessage2(), maxwindspeed, strrrd8d(), GameMap::weather, GameMap::Weather::windDirection, and GameMap::Weather::windSpeed.

void giveunitaway ( MapField fld,
const Context context 
)

Definition at line 639 of file gamedlg.cpp.

References GameMap::actplayer, TransferControlCommand::avail(), dispmessage2(), tdialogbox::done(), MapField::getContainer(), ContainerBase::getMap(), ContainerBase::getOwner(), tgiveunitawaydlg::init(), mouseparams, releasetimeslice(), tgiveunitawaydlg::run(), and tmousesettings::taste.

Referenced by executeUserAction().

void researchinfo ( void   ) 

Definition at line 357 of file gamedlg.cpp.

References actmap, GameMap::actplayer, ct_lshift, Research::developedTechnologies, tdialogbox::done(), tresearchinfo::init(), Research::listTriggeredTechAdapter(), GameMap::player, Player::research, tresearchinfo::run(), ASC_PG_Dialog::RunModal(), skeypress(), and technologyRepository.

Referenced by executeUserAction().

void sendGameParameterAsMail ( GameMap actmap  ) 

Definition at line 481 of file gamedlg.cpp.

References actmap, cgp_superVisorCanSaveMap, GameMap::getgameparameter(), and writeGameParametersToString().

Referenced by StartMultiplayerGame::start().

void settributepayments ( void   ) 

Definition at line 255 of file gamedlg.cpp.

References tdialogbox::done(), ttributepayments::init(), and ttributepayments::run().

Referenced by executeUserAction().

void showGameParameters ( void   ) 

Definition at line 495 of file gamedlg.cpp.

References actmap, ASC_PG_Dialog::RunModal(), and writeGameParametersToString().

Referenced by executeUserAction().

void showPlayerTime (  ) 

Definition at line 665 of file gamedlg.cpp.

References actmap, GameMap::actplayer, Player::ASCversion, Player::exist(), Player::getName(), getVersionString(), GameMap::player, Player::playTime, ASC_PG_Dialog::RunModal(), and strrr().

Referenced by executeUserAction().


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