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

edglobal.h File Reference

#include "ed_mapcomponent.h"

Include dependency graph for edglobal.h:

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

Go to the source code of this file.

Enumerations

enum  tuseractions {
  act_end, act_help, act_seteditmode, act_selbodentyp,
  act_selbodentypAll, act_selunit, act_selcolor, act_selbuilding,
  act_selobject, act_selobjectAll, act_selmine, act_selweather,
  act_setupalliances, act_setupplayers, act_toggleresourcemode, act_changeunitdir,
  act_asc_resource, act_maptopcx, act_loadmap, act_changeplayers,
  act_newmap, act_polymode, act_repaintdisplay, act_unitinfo,
  act_viewmap, act_about, act_createresources, act_changecargo,
  act_changeresources, act_changeterraindir, act_events, act_fillmode,
  act_mapgenerator, act_setactivefieldvals, act_deletething, act_showpalette,
  act_changeminestrength, act_changemapvals, act_changeproduction, act_savemap,
  act_changeunitvals, act_mirrorcursorx, act_mirrorcursory, act_placemine,
  act_placething, act_deleteunit, act_deletebuilding, act_deleteobject,
  act_deletetopmostobject, act_deleteallobjects, act_deletemine, act_aboutbox,
  act_savemapas, act_endpolyfieldmode, act_smoothcoasts, act_import_bi_map,
  act_seperator, act_bi_resource, act_resizemap, act_insert_bi_map,
  act_setzoom, act_movebuilding, act_setactweatherglobal, act_setmapparameters,
  act_terraininfo, act_setunitfilter, act_selectgraphicset, act_unitsettransformation,
  act_unitSetInformation, act_switchmaps, act_transformMap, act_editArchivalInformation,
  act_displayResourceComparison, act_specifyunitproduction, act_pasteFromClipboard, act_copyToClipboard,
  act_cutToClipboard, act_saveClipboard, act_readClipBoard, act_setTurnNumber,
  act_showPipeNet, act_editResearch, act_editResearchPoints, act_generateTechTree,
  act_editTechAdapter, act_resetPlayerData, act_createresources2, act_setactnewweather,
  act_primaryAction, act_playerStrengthSummary, act_increase_zoom, act_decrease_zoom,
  act_editpreferences, act_clearresources, act_dumpBuilding, act_dumpVehicle,
  act_dumpObject, act_pbpstatistics, act_exchangeGraphics, act_openControlPanel,
  act_releaseControlPanel, act_dumpAllVehicleDefinitions, act_clearSelection, act_dumpAllBuildings,
  act_locateItemByID, act_mirrorMap, act_copyArea, act_pasteArea,
  asc_nullPointerCrash, asc_testFunction
}

Functions

int infomessage (char *formatstring,...)
void execaction_ev (int code)
void execaction (int code)
 this executes all functions that use legacy Eventhandling

Variables

const int execactionscount = 110
const char * execactionnames [execactionscount]
SelectionHolder selection


Enumeration Type Documentation

enum tuseractions
 

Enumeration values:
act_end 
act_help 
act_seteditmode 
act_selbodentyp 
act_selbodentypAll 
act_selunit 
act_selcolor 
act_selbuilding 
act_selobject 
act_selobjectAll 
act_selmine 
act_selweather 
act_setupalliances 
act_setupplayers 
act_toggleresourcemode 
act_changeunitdir 
act_asc_resource 
act_maptopcx 
act_loadmap 
act_changeplayers 
act_newmap 
act_polymode 
act_repaintdisplay 
act_unitinfo 
act_viewmap 
act_about 
act_createresources 
act_changecargo 
act_changeresources 
act_changeterraindir 
act_events 
act_fillmode 
act_mapgenerator 
act_setactivefieldvals 
act_deletething 
act_showpalette 
act_changeminestrength 
act_changemapvals 
act_changeproduction 
act_savemap 
act_changeunitvals 
act_mirrorcursorx 
act_mirrorcursory 
act_placemine 
act_placething 
act_deleteunit 
act_deletebuilding 
act_deleteobject 
act_deletetopmostobject 
act_deleteallobjects 
act_deletemine 
act_aboutbox 
act_savemapas 
act_endpolyfieldmode 
act_smoothcoasts 
act_import_bi_map 
act_seperator 
act_bi_resource 
act_resizemap 
act_insert_bi_map 
act_setzoom 
act_movebuilding 
act_setactweatherglobal 
act_setmapparameters 
act_terraininfo 
act_setunitfilter 
act_selectgraphicset 
act_unitsettransformation 
act_unitSetInformation 
act_switchmaps 
act_transformMap 
act_editArchivalInformation 
act_displayResourceComparison 
act_specifyunitproduction 
act_pasteFromClipboard 
act_copyToClipboard 
act_cutToClipboard 
act_saveClipboard 
act_readClipBoard 
act_setTurnNumber 
act_showPipeNet 
act_editResearch 
act_editResearchPoints 
act_generateTechTree 
act_editTechAdapter 
act_resetPlayerData 
act_createresources2 
act_setactnewweather 
act_primaryAction 
act_playerStrengthSummary 
act_increase_zoom 
act_decrease_zoom 
act_editpreferences 
act_clearresources 
act_dumpBuilding 
act_dumpVehicle 
act_dumpObject 
act_pbpstatistics 
act_exchangeGraphics 
act_openControlPanel 
act_releaseControlPanel 
act_dumpAllVehicleDefinitions 
act_clearSelection 
act_dumpAllBuildings 
act_locateItemByID 
act_mirrorMap 
act_copyArea 
act_pasteArea 
asc_nullPointerCrash 
asc_testFunction 

Definition at line 34 of file edglobal.h.


Function Documentation

void execaction int  code  ) 
 

this executes all functions that use legacy Eventhandling

Definition at line 501 of file edglobal.cpp.

References GameMap::_resourcemode, act_about, act_aboutbox, act_asc_resource, act_bi_resource, act_changeminestrength, act_changeplayers, act_changeresources, act_changeunitdir, act_changeunitvals, act_copyToClipboard, act_createresources, act_cutToClipboard, act_deleteallobjects, act_deletebuilding, act_deletemine, act_deleteobject, act_deletething, act_deletetopmostobject, act_deleteunit, act_displayResourceComparison, act_editArchivalInformation, act_editResearch, act_editResearchPoints, act_editTechAdapter, act_generateTechTree, act_mapgenerator, act_mirrorcursorx, act_mirrorcursory, act_movebuilding, act_pasteFromClipboard, act_placething, act_playerStrengthSummary, act_primaryAction, act_readClipBoard, act_resizemap, act_saveClipboard, act_setactivefieldvals, act_setactweatherglobal, act_setTurnNumber, act_setunitfilter, act_showPipeNet, act_smoothcoasts, act_switchmaps, act_terraininfo, act_toggleresourcemode, act_unitSetInformation, act_unitsettransformation, act_viewmap, MainScreenWidget::activateMapLayer(), actmap, tfield::building, calculateallobjects(), changebuildingvalues(), changeminestrength(), changeresource(), changeunitvalues(), MapDisplayPG::cursor, Vehicle::direction, displaymap(), displaymessage(), tdialogbox::done(), editArchivalInformation(), editResearch(), editResearchPoints(), editTechAdapter(), execaction(), filtersChangedSignal, generateTechTree(), getactfield(), GameMap::getCursor(), MapSwitcher::getDefaultAction(), getid(), getMainScreenWidget(), MainScreenWidget::getMapDisplay(), getVersionAndCompilation(), SelectionHolder::getWeather(), MapDisplayPG::Cursor::goTo(), tputresourcesdlg::init(), mainScreenWidget, mapChanged, mapgenerator(), mapsaved, mapSwitcher, maxint, tfield::mines, mouseparams, movebuilding(), tfield::objects, pbpplayerstatistics(), SelectionHolder::pickup(), placeCurrentItem(), playerchange(), MapDisplayPG::Cursor::pos(), readClipboard(), readtextmessage(), releasetimeslice(), removeCurrentItem(), tfield::removemine(), tfield::removeobject(), repaintMap, resizemap(), resourceComparison(), tputresourcesdlg::run(), ASC_PG_Dialog::RunModal(), saveClipboard(), MapSwitcher::select, selectunitsetfilter(), GameTime::set(), setweatherall(), PG_Widget::Show(), sidenum, ForestCalculation::smooth(), tmousesettings::taste, GameMap::time, MapSwitcher::toggle(), MainScreenWidget::toggleMapLayer(), GameTime::turn(), unitsettransformation(), updateFieldInfo, tfield::vehicle, viewterraininfo(), viewUnitSetinfo(), GameMap::xsize, and GameMap::ysize.

Referenced by execaction(), execaction_ev(), and execaction_pg().

void execaction_ev int  code  ) 
 

Definition at line 1061 of file edglobal.cpp.

References execaction(), and execaction_pg().

Referenced by Maped_MainScreenWidget::eventKeyDown(), Maped_MainScreenWidget::eventKeyUp(), mouseDraggedToField(), mousePressedOnField(), Maped_MainScreenWidget::selectObject(), and Maped_MainScreenWidget::selectTerrain().

int infomessage char *  formatstring,
  ...
 

Definition at line 240 of file edglobal.cpp.

References actdisplayedmessage, activefontsettings, agmp, tfontsettings::background, tfontsettings::color, tfontsettings::font, tfontsettings::justify, lastdisplayedmessageticker, lefttext, tfontsettings::length, lightgray, tfontsettings::markcolor, npop, npush, red, tgraphmodeparameters::resolutionx, tgraphmodeparameters::resolutiony, schriften, showtext3c(), Schriften::smallarial, and ticker.


Variable Documentation

const char* execactionnames[execactionscount]
 

Definition at line 63 of file edglobal.cpp.

Referenced by ContextMenu::AutoTextContextAction::getText().

const int execactionscount = 110
 

Definition at line 30 of file edglobal.h.

SelectionHolder selection
 

Definition at line 178 of file edglobal.cpp.

Referenced by Maped_MainScreenWidget::brushChanged(), Maped_MainScreenWidget::clearSelection(), VehicleItem::display(), BuildingItem::display(), MapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::itemSelected(), MapComponent::MapComponent(), Maped_MainScreenWidget::Maped_MainScreenWidget(), VehicleItem::place(), BuildingItem::place(), TerrainItem::place(), MineItem::place(), placeCurrentItem(), and removeCurrentItem().


Generated on Tue Jun 24 01:40:33 2008 for Advanced Strategic Command by  doxygen 1.4.2