mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
- added new commandline option --map-preview=x where x is the mapname (without extension)
This commit is contained in:
@@ -190,6 +190,15 @@ void Program::initServer(WindowGl *window, bool autostart,bool openNetworkSlots)
|
||||
mainMenu->setState(new MenuStateCustomGame(this, mainMenu, openNetworkSlots, false, autostart));
|
||||
}
|
||||
|
||||
void Program::initServer(WindowGl *window, GameSettings *settings) {
|
||||
MainMenu* mainMenu= NULL;
|
||||
|
||||
init(window);
|
||||
mainMenu= new MainMenu(this);
|
||||
setState(mainMenu);
|
||||
mainMenu->setState(new MenuStateCustomGame(this, mainMenu, false, false, true, settings));
|
||||
}
|
||||
|
||||
void Program::initClient(WindowGl *window, const Ip &serverIp) {
|
||||
MainMenu* mainMenu= NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user