Advanced Strategic Command
sg.h
Go to the documentation of this file.
1 
5 /*
6  This file is part of Advanced Strategic Command; http://www.asc-hq.de
7  Copyright (C) 1994-2010 Martin Bickel and Marc Schellenberger
8 
9  This program is free software; you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 2 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; see the file COPYING. If not, write to the
21  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
22  Boston, MA 02111-1307 USA
23 */
24 
25 
26 #ifndef sgH
27 #define sgH
28 
29 #include "actions/context.h"
30 class ASCString;
31 
50 
51 extern void executeUserAction ( tuseractions action );
52 
53 class GameMap;
54 extern void hookGuiToMap( GameMap* map );
55 
56 extern bool loadGame( bool mostrecent );
57 extern bool loadGameFromFile( const ASCString& filename );
58 extern void saveGame( bool as );
59 extern bool continueAndStartMultiplayerGame( bool mostRecent );
60 extern void changePassword();
61 
62 extern Context createContext( GameMap* gamemap );
63 
64 
65 #endif
66 
bool loadGameFromFile(const ASCString &filename)
Definition: sg.cpp:309
Definition: sg.h:32
Definition: sg.h:41
Definition: sg.h:36
Definition: sg.h:36
void saveGame(bool as)
Definition: sg.cpp:373
Definition: sg.h:45
The ASCString class provides an abstract way to manipulate strings.
Definition: ascstring.h:14
bool loadGame(bool mostrecent)
Definition: sg.cpp:339
Definition: sg.h:46
Definition: sg.h:44
tuseractions
Definition: edglobal.h:34
bool continueAndStartMultiplayerGame(bool mostRecent)
Definition: sg.cpp:610
Definition: sg.h:36
Definition: sg.h:46
void hookGuiToMap(GameMap *map)
Definition: sg.cpp:287
void changePassword()
Context createContext(GameMap *gamemap)
Definition: sg.h:45
Definition: sg.h:32
void executeUserAction(tuseractions action)
Definition: sg.cpp:759
The map. THE central structure of ASC, which holds everything not globally available together...
Definition: gamemap.h:182
Definition: sg.h:32