package edu.chalmers.sankoss.java;


import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;

/**
 * Class to start the application from.
 * Creates a application window with initial
 * size, title and GL20 support.
 *
 * @author Mikael Malmqvist
 * @date 3/23/14
 */
public class SankossDesktop {
    public static void main(String[] args) {

        /**
         * Load settings from ini file
         */
        Settings.loadSettings();

        LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();

        cfg.title = "Battleships";
        cfg.vSyncEnabled = true;
        cfg.width = 800;
        cfg.height = 600;
        LwjglApplication application = new LwjglApplication(SankossGame.getInstance(), cfg);
    }
}

@@ -501,24 +501,306 @@
 ettings();%0A%0A
+        if (args.length %3E 0) %7B%0A            if (args%5B0%5D.equals(%22debug%22)) %7B%0A                Settings.HOSTNAME = %22localhost%22;%0A            %7D else %7B%0A                Settings.HOSTNAME = %22sodapop.se%22;%0A            %7D%0A        %7D else %7B%0A            Settings.HOSTNAME = %22sodapop.se%22;%0A        %7D%0A%0A
         Lwjg

Connect to sodapop.se if debug is not found in the startup arguments