00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef PLAYCAMPAIGN_H_INCLUDED
00020 #define PLAYCAMPAIGN_H_INCLUDED
00021
00022 #include "menu_events.hpp"
00023
00024 class display;
00025 class game_state;
00026 class config;
00027 struct upload_log;
00028
00029 enum io_type_t {
00030 IO_NONE,
00031 IO_SERVER,
00032 IO_CLIENT
00033 };
00034
00035 LEVEL_RESULT play_game(display& disp, game_state& state,
00036 const config& game_config,
00037 upload_log &log,
00038 io_type_t io_type=IO_NONE,
00039 bool skip_replay = false);
00040
00041
00042 void play_replay(display& disp, game_state& state,
00043 const config& game_config, CVideo& video);
00044
00045 #endif // PLAYCAMPAIGN_H_INCLUDED
00046