23 #ifndef DOOMSEEKER_GUI_CREATESERVERDIALOG_H
24 #define DOOMSEEKER_GUI_CREATESERVERDIALOG_H
27 #include "serverapi/gamecreateparams.h"
49 bool commandLineArguments(QString &executable, QStringList &args,
bool offline);
52 QString mapName()
const;
53 void setIwadByName(
const QString &iwad);
54 QStringList wadPaths()
const;
57 void changeToHostMode();
58 void changeToOfflineMode();
59 void firstLoadConfigTimer();
67 void initGamemodeSpecific(
const GameMode &gameMode);
68 void showConfiguration();
69 void showLoadConfig();
70 void showSaveConfig();
71 void showStartGameCommandLine();
75 static const QString TEMP_GAME_CONFIG_FILENAME;
84 void addIwad(
const QString &path);
98 void initDMFlagsTabs();
107 void initServerTab();
111 bool loadConfig(
const QString &filename,
bool loadingPrevious);
112 void runGame(
bool offline);
113 bool saveConfig(
const QString &filename);
115 void showCommandLine(
bool offline);