00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef sgH
00027 #define sgH
00028
00029 enum tuseractions { ua_repainthard, ua_repaint, ua_help, ua_mainmenu, ua_mntnc_morefog,
00030 ua_mntnc_lessfog, ua_mntnc_morewind, ua_mntnc_lesswind, ua_mntnc_rotatewind, ua_changeresourceview,
00031 ua_benchgamewv, ua_benchgamewov, ua_viewterraininfo, ua_unitweightinfo, ua_writemaptopcx, ua_writescreentopcx,
00032 ua_changepassword, ua_gamepreferences, ua_bi3preferences,
00033 ua_exitgame, ua_loadgame, ua_savegame, ua_setupalliances, ua_settribute, ua_giveunitaway,
00034 ua_vehicleinfo, ua_researchinfo, ua_newmessage, ua_viewqueuedmessages,
00035 ua_viewsentmessages, ua_viewreceivedmessages, ua_viewjournal, ua_editjournal, ua_viewaboutmessage, ua_continuenetworkgame,
00036 ua_toggleunitshading, ua_computerturn, ua_setupnetwork, ua_howtostartpbem, ua_howtocontinuepbem,
00037 ua_selectgraphicset, ua_UnitSetInfo, ua_GameParameterInfo, ua_GameStatus, ua_viewunitweaponrange, ua_viewunitmovementrange,
00038 ua_aibench, ua_networksupervisor, ua_selectPlayList, ua_soundDialog, ua_reloadDlgTheme, ua_showPlayerSpeed,
00039 ua_statisticdialog, ua_viewPipeNet, ua_cancelResearch, ua_showResearchStatus, ua_exportUnitToFile, ua_viewButtonPanel,
00040 ua_viewWindPanel, ua_clearImageCache, ua_viewUnitInfoPanel, ua_cargosummary, ua_viewUnitInfoDialog, ua_showsearchdirs, ua_viewOverviewMapPanel, ua_weathercast,
00041 ua_newGame, ua_testMessages, ua_viewMapControlPanel, ua_unitsummary, ua_togglesound, ua_increase_zoom, ua_decrease_zoom, ua_editPlayerData,
00042 ua_SDLinfo, ua_visibilityInfo, ua_locatefile, ua_viewfont, ua_resourceAnalysis, ua_unitproductionanalysis, ua_continuerecentnetworkgame, ua_gotoPosition, ua_loadrecentgame,
00043 ua_showTechAdapter, ua_showUnitEndurance, ua_getMemoryFootprint, ua_viewlayerhelp, ua_showCargoLayer, ua_showMiningPower, ua_emailOptions, ua_createReminder };
00044
00045 extern void execuseraction ( tuseractions action );
00046
00048 extern void execUserAction_ev( tuseractions action );
00049
00051 extern void execUserAction_ev( tuseractions action );
00052
00053 class GameMap;
00054 extern void hookGuiToMap( GameMap* map );
00055
00056 extern bool loadGame( bool mostrecent );
00057 extern void saveGame( bool as );
00058 extern bool continueAndStartMultiplayerGame( bool mostRecent );
00059 extern void changePassword();
00060
00061
00062 #endif
00063