00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
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