From 825d31bf1a7e66eee8a139ecd9b272cf3c374349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 6 May 2014 23:39:02 +0200 Subject: Set the window params inside the launcher part, depending on launcher type. Also create/change the new internal version files. --- logic/OneSixInstance.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'logic/OneSixInstance.cpp') diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp index ffd40325..a351a5be 100644 --- a/logic/OneSixInstance.cpp +++ b/logic/OneSixInstance.cpp @@ -244,24 +244,6 @@ bool OneSixInstance::prepareForLaunch(AuthSessionPtr account, QString &launchScr launchScript += "windowParams " + windowParams + "\n"; } - // window size, title and state, onesix - { - bool maximize = settings().get("LaunchMaximized").toBool(); - if (maximize) - { - // FIXME: there is no good way to maximize the minecraft window in onesix. - // this is probably a BAD idea - // launchScript += "param --fullscreen\n"; - } - else - { - launchScript += - "param --width\nparam " + settings().get("MinecraftWinWidth").toString() + "\n"; - launchScript += - "param --height\nparam " + settings().get("MinecraftWinHeight").toString() + "\n"; - } - } - // legacy auth { launchScript += "userName " + session->player_name + "\n"; -- cgit v1.2.3