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

gamedlg.cpp File Reference

Tons of dialog boxes which are used in ASC only (and not in the mapeditor). More...

#include <stdio.h>
#include <cstring>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "vehicletype.h"
#include "buildingtype.h"
#include "basegfx.h"
#include "gamedlg.h"
#include "stack.h"
#include "controls.h"
#include "gameoptions.h"
#include "errors.h"
#include "viewcalculation.h"
#include "replay.h"
#include "itemrepository.h"
#include "strtmesg.h"
#include "dialogs/editmapparam.h"
#include "dlg_box.h"
#include "spfst.h"
#include "dialog.h"
#include "widgets/textrenderer.h"

Include dependency graph for gamedlg.cpp:

Go to the source code of this file.

Defines

#define entervalue   ct_space

Functions

bool technologyComp (const Technology *t1, const Technology *t2)
void choosetechnology (void)
void settributepayments (void)
void researchinfo (void)
void choosetechlevel (void)
ASCString writeGameParametersToString (GameMap *actmap)
void sendGameParameterAsMail (GameMap *actmap)
void showGameParameters (void)
void giveunitaway (tfield *fld)
void showPlayerTime ()
void displaywindspeed (void)


Detailed Description

Tons of dialog boxes which are used in ASC only (and not in the mapeditor).

Definition in file gamedlg.cpp.


Define Documentation

#define entervalue   ct_space
 

Definition at line 1101 of file gamedlg.cpp.


Function Documentation

void choosetechlevel void   ) 
 

Definition at line 695 of file gamedlg.cpp.

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

void choosetechnology void   ) 
 

Definition at line 300 of file gamedlg.cpp.

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

void displaywindspeed void   ) 
 

Definition at line 1443 of file gamedlg.cpp.

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

void giveunitaway tfield fld  ) 
 

Definition at line 1085 of file gamedlg.cpp.

References actmap, GameMap::actplayer, tfield::building, ContainerBase::color, dispmessage2(), tdialogbox::done(), tgiveunitawaydlg::init(), mouseparams, releasetimeslice(), tgiveunitawaydlg::run(), tmousesettings::taste, and tfield::vehicle.

Referenced by execuseraction().

void researchinfo void   ) 
 

Definition at line 607 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(), PG_Widget::Show(), skeypress(), and technologyRepository.

Referenced by execuseraction2().

void sendGameParameterAsMail GameMap actmap  ) 
 

Definition at line 731 of file gamedlg.cpp.

References cgp_superVisorCanSaveMap, and writeGameParametersToString().

Referenced by StartMultiplayerGame::start().

void settributepayments void   ) 
 

Definition at line 505 of file gamedlg.cpp.

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

Referenced by execuseraction().

void showGameParameters void   ) 
 

Definition at line 745 of file gamedlg.cpp.

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

Referenced by execuseraction().

void showPlayerTime  ) 
 

Definition at line 1415 of file gamedlg.cpp.

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

Referenced by execuseraction().

bool technologyComp const Technology t1,
const Technology t2
 

Definition at line 106 of file gamedlg.cpp.

References Technology::techlevel.

ASCString writeGameParametersToString GameMap actmap  ) 
 

Definition at line 709 of file gamedlg.cpp.

References GameParameterSettings::defaultValue, gameparameternum, gameParameterSettings, GameMap::getgameparameter(), GameParameterSettings::longName, and strrr().

Referenced by sendGameParameterAsMail(), and showGameParameters().


Generated on Tue Jun 24 01:43:49 2008 for Advanced Strategic Command by  doxygen 1.4.2