X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fgame.h;h=596945e9905e93806910a81cf2e8a808fbdc9500;hb=ca0fd4173cb18dd54219a1e8f05ec412e4d707ec;hp=01e955ecdb37bb164432f0702c672cc28b81c21c;hpb=967f25461bbde28dbc0247fa1c491e9d9938a5b2;p=dragonfireclient.git diff --git a/src/game.h b/src/game.h index 01e955ecd..596945e99 100644 --- a/src/game.h +++ b/src/game.h @@ -22,7 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common_irrlicht.h" #include - #include "keycode.h" class KeyList : protected core::list @@ -123,6 +122,7 @@ class InputHandler }; class ChatBackend; /* to avoid having to include chat.h */ +struct SubgameSpec; void the_game( bool &kill, @@ -133,11 +133,13 @@ void the_game( std::string map_dir, std::string playername, std::string password, - std::string address, + std::string address, // If "", local server is used u16 port, std::wstring &error_message, std::string configpath, - ChatBackend &chat_backend + ChatBackend &chat_backend, + const SubgameSpec &gamespec, // Used for local game + bool simple_singleplayer_mode ); #endif