Set the window params inside the launcher part, depending on launcher type.

Also create/change the new internal version files.
This commit is contained in:
Petr Mrázek
2014-05-06 23:39:02 +02:00
parent 2590c6be15
commit 825d31bf1a
44 changed files with 203 additions and 3231 deletions

View File

@ -181,6 +181,21 @@ public class OneSixLauncher implements Launcher
int launchWithMainClass()
{
// window size, title and state, onesix
if (maximize)
{
// FIXME: there is no good way to maximize the minecraft window in onesix.
// the following often breaks linux screen setups
// mcparams.add("--fullscreen");
}
else
{
mcparams.add("--width");
mcparams.add(Integer.toString(winSize.width));
mcparams.add("--height");
mcparams.add(Integer.toString(winSize.height));
}
// Get the Minecraft Class.
Class<?> mc;
try