Advanced Strategic Command
Classes | Enumerations | Functions | Variables
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.

Classes

class  SelectionHolder
 

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, act_unitGuideDialog, act_runLuaScript,
  act_runTranslationScript, act_dumpAllTerrain, act_dumpAllObjects, act_showweapnrange,
  ua_repainthard, ua_repaint, ua_help, ua_mainmenu,
  ua_mntnc_morefog, ua_mntnc_lessfog, ua_mntnc_morewind, ua_mntnc_lesswind,
  ua_mntnc_rotatewind, ua_changeresourceview, ua_benchgamewv, ua_benchgamewov,
  ua_viewterraininfo, ua_unitweightinfo, ua_writemaptopcx, ua_writescreentopcx,
  ua_changepassword, ua_gamepreferences, ua_bi3preferences, ua_exitgame,
  ua_loadgame, ua_savegame, ua_setupalliances, ua_settribute,
  ua_giveunitaway, ua_vehicleinfo, ua_researchinfo, ua_newmessage,
  ua_viewqueuedmessages, ua_viewsentmessages, ua_viewreceivedmessages, ua_viewjournal,
  ua_editjournal, ua_viewaboutmessage, ua_continuenetworkgame, ua_toggleunitshading,
  ua_computerturn, ua_setupnetwork, ua_howtostartpbem, ua_howtocontinuepbem,
  ua_selectgraphicset, ua_UnitSetInfo, ua_GameParameterInfo, ua_GameStatus,
  ua_viewunitweaponrange, ua_viewunitmovementrange, ua_aibench, ua_networksupervisor,
  ua_selectPlayList, ua_soundDialog, ua_reloadDlgTheme, ua_showPlayerSpeed,
  ua_statisticdialog, ua_viewPipeNet, ua_cancelResearch, ua_showResearchStatus,
  ua_exportUnitToFile, ua_viewButtonPanel, ua_viewWindPanel, ua_clearImageCache,
  ua_viewUnitInfoPanel, ua_cargosummary, ua_viewUnitInfoDialog, ua_showsearchdirs,
  ua_viewOverviewMapPanel, ua_weathercast, ua_newGame, ua_testMessages,
  ua_viewMapControlPanel, ua_unitsummary, ua_togglesound, ua_increase_zoom,
  ua_decrease_zoom, ua_editPlayerData, ua_SDLinfo, ua_visibilityInfo,
  ua_locatefile, ua_viewfont, ua_resourceAnalysis, ua_unitproductionanalysis,
  ua_continuerecentnetworkgame, ua_gotoPosition, ua_loadrecentgame, ua_showTechAdapter,
  ua_showUnitEndurance, ua_getMemoryFootprint, ua_viewlayerhelp, ua_showCargoLayer,
  ua_showMiningPower, ua_emailOptions, ua_createReminder, ua_undo,
  ua_redo, ua_writeLuaCommands, ua_runLuaCommands, ua_recompteview,
  ua_unitGuideDialog, ua_turnUnitLeft, ua_turnUnitRight, ua_chooseTechnology,
  ua_actionManager, ua_viewReactionfireOverlay, ua_unitAiOptions, ua_showUsedPackages,
  ua_runOpenTasks, ua_taskManager, ua_viewUnitinfoOverlay, ua_viewUnitexperienceOverlay,
  ua_createUnitCostList, ua_eventInfo
}
 

Functions

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

Variables

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

Enumeration Type Documentation

Enumerator
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 
act_unitGuideDialog 
act_runLuaScript 
act_runTranslationScript 
act_dumpAllTerrain 
act_dumpAllObjects 
act_showweapnrange 
ua_repainthard 
ua_repaint 
ua_help 
ua_mainmenu 
ua_mntnc_morefog 
ua_mntnc_lessfog 
ua_mntnc_morewind 
ua_mntnc_lesswind 
ua_mntnc_rotatewind 
ua_changeresourceview 
ua_benchgamewv 
ua_benchgamewov 
ua_viewterraininfo 
ua_unitweightinfo 
ua_writemaptopcx 
ua_writescreentopcx 
ua_changepassword 
ua_gamepreferences 
ua_bi3preferences 
ua_exitgame 
ua_loadgame 
ua_savegame 
ua_setupalliances 
ua_settribute 
ua_giveunitaway 
ua_vehicleinfo 
ua_researchinfo 
ua_newmessage 
ua_viewqueuedmessages 
ua_viewsentmessages 
ua_viewreceivedmessages 
ua_viewjournal 
ua_editjournal 
ua_viewaboutmessage 
ua_continuenetworkgame 
ua_toggleunitshading 
ua_computerturn 
ua_setupnetwork 
ua_howtostartpbem 
ua_howtocontinuepbem 
ua_selectgraphicset 
ua_UnitSetInfo 
ua_GameParameterInfo 
ua_GameStatus 
ua_viewunitweaponrange 
ua_viewunitmovementrange 
ua_aibench 
ua_networksupervisor 
ua_selectPlayList 
ua_soundDialog 
ua_reloadDlgTheme 
ua_showPlayerSpeed 
ua_statisticdialog 
ua_viewPipeNet 
ua_cancelResearch 
ua_showResearchStatus 
ua_exportUnitToFile 
ua_viewButtonPanel 
ua_viewWindPanel 
ua_clearImageCache 
ua_viewUnitInfoPanel 
ua_cargosummary 
ua_viewUnitInfoDialog 
ua_showsearchdirs 
ua_viewOverviewMapPanel 
ua_weathercast 
ua_newGame 
ua_testMessages 
ua_viewMapControlPanel 
ua_unitsummary 
ua_togglesound 
ua_increase_zoom 
ua_decrease_zoom 
ua_editPlayerData 
ua_SDLinfo 
ua_visibilityInfo 
ua_locatefile 
ua_viewfont 
ua_resourceAnalysis 
ua_unitproductionanalysis 
ua_continuerecentnetworkgame 
ua_gotoPosition 
ua_loadrecentgame 
ua_showTechAdapter 
ua_showUnitEndurance 
ua_getMemoryFootprint 
ua_viewlayerhelp 
ua_showCargoLayer 
ua_showMiningPower 
ua_emailOptions 
ua_createReminder 
ua_undo 
ua_redo 
ua_writeLuaCommands 
ua_runLuaCommands 
ua_recompteview 
ua_unitGuideDialog 
ua_turnUnitLeft 
ua_turnUnitRight 
ua_chooseTechnology 
ua_actionManager 
ua_viewReactionfireOverlay 
ua_unitAiOptions 
ua_showUsedPackages 
ua_runOpenTasks 
ua_taskManager 
ua_viewUnitinfoOverlay 
ua_viewUnitexperienceOverlay 
ua_createUnitCostList 
ua_eventInfo 

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 427 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_unitGuideDialog, act_unitSetInformation, act_unitsettransformation, act_viewmap, MainScreenWidget::activateMapLayer(), actmap, MapField::building, calculateallobjects(), changebuildingvalues(), changeminestrength(), changeresource(), changeUnitPropertyDialog(), 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(), infoMessageClipboardPlayers(), tputresourcesdlg::init(), mainScreenWidget, mapChanged, mapgenerator(), mapsaved, mapSwitcher, maxint, MapField::mines, mouseparams, movebuilding(), MapField::objects, pbpplayerstatistics(), SelectionHolder::pickup(), placeCurrentItem(), playerchange(), MapDisplayPG::Cursor::pos(), readClipboard(), readtextmessage(), releasetimeslice(), removeCurrentItem(), MapField::removemine(), MapField::removeObject(), repaintMap, resizemap(), resourceComparison(), tputresourcesdlg::run(), ASC_PG_Dialog::RunModal(), saveClipboard(), MapSwitcher::select, selectunitsetfilter(), GameTime::set(), setweatherall(), sidenum, ForestCalculation::smooth(), tmousesettings::taste, GameMap::time, MapSwitcher::toggle(), MainScreenWidget::toggleMapLayer(), MapDisplayPG::toggleMapLayer(), GameTime::turn(), unitGuideWindow(), unitsettransformation(), updateFieldInfo, MapField::vehicle, viewterraininfo(), viewUnitSetinfo(), MapCoordinate::x, GameMap::xsize, MapCoordinate::y, and GameMap::ysize.

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

void execaction_ev ( int  code)
int infomessage ( char *  formatstring,
  ... 
)

Variable Documentation

const char* execactionnames[execactionscount]

Definition at line 68 of file edglobal.cpp.

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

const int execactionscount = 116

Definition at line 30 of file edglobal.h.

SelectionHolder selection