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

turncontrol.h

Go to the documentation of this file.
00001 
00007 /*
00008     This file is part of Advanced Strategic Command; http://www.asc-hq.de
00009     Copyright (C) 1994-1999  Martin Bickel  and  Marc Schellenberger
00010 
00011     This program is free software; you can redistribute it and/or modify
00012     it under the terms of the GNU General Public License as published by
00013     the Free Software Foundation; either version 2 of the License, or
00014     (at your option) any later version.
00015 
00016     This program is distributed in the hope that it will be useful,
00017     but WITHOUT ANY WARRANTY; without even the implied warranty of
00018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019     GNU General Public License for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with this program; see the file COPYING. If not, write to the 
00023     Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
00024     Boston, MA  02111-1307  USA
00025 */
00026 
00027 #if defined(karteneditor) 
00028 # error the mapeditor should not need to use turncontrol.h !
00029 #endif
00030 
00031 
00032 #ifndef turncontrolH
00033 #define turncontrolH
00034 
00035 #include "ascstring.h"
00036 
00037 class Player;
00038 class GameMap;
00039 
00040 
00044 extern void next_turn ( int playerView = -2 );
00045 
00047 extern void  checkforvictory ( bool hasTurnControl );
00048 
00049 
00051 extern bool continuenetworkgame ( bool mostRecent = false );
00052 
00053 extern bool continuenetworkgame ( const ASCString& filename );
00054 
00055 
00057 extern void checkUsedASCVersions( Player& currentPlayer );
00058 
00059     
00060 extern int findNextPlayer( const GameMap* actmap );
00061 
00063 extern void skipTurn( GameMap* gamemap );
00064 
00065 
00066 #endif

Generated on Tue Jun 24 01:27:53 2008 for Advanced Strategic Command by  doxygen 1.4.2