/*
 * ==============================================================================
 *  _   _               _                       ____   _                    
 * | \ | |  ___  _   _ | |_  _ __  ___   _ __  / ___| | |_  __ _  _ __  ___ 
 * |  \| | / _ \| | | || __|| '__|/ _ \ | '_ \ \___ \ | __|/ _` || '__|/ __|
 * | |\  ||  __/| |_| || |_ | |  | (_) || | | | ___) || |_| (_| || |   \__ \
 * |_| \_| \___| \__,_| \__||_|   \___/ |_| |_||____/  \__|\__,_||_|   |___/
 *                                                                         
 * ==============================================================================
 *            _    _______   __________________  _____
 *            | |  / /  _/ | / / ____/_  __/ __ \/ ___/
 *            | | / // //  |/ / __/   / / / / / /\__ \
 *            | |/ // // /|  / /___  / / / /_/ /___/ /
 *            |___/___/_/ |_/_____/ /_/  \____//____/
 *
 * ==============================================================================
 *
 * FreeWorld game
 * Copyright (c) NeutronStars & Vinetos Software 2017,
 * By NeutronStars, juin 2017
 * 
 * ==============================================================================
 * 
 * This file is part of FreeWorld game.
 * 
 * FreeWorld is free software: you can redistribute it and/or modify
 * it under the terms of the MIT License.
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in 
 * the Software without restriction, including without limitation the rights to 
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
 * of the Software, and to permit persons to whom the Software is furnished to do so, 
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all 
 * copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 *==============================================================================
 */
package org.freeworld.client;

public class FreeWorld {

    public static void main(String... args){

    }
}

@@ -2535,79 +2535,1910 @@
 t;%0A%0A
-public class FreeWorld %7B%0A%0A    public static void main(String... args)%7B%0A
+import org.lwjgl.LWJGLException;%0Aimport org.lwjgl.opengl.Display;%0Aimport org.lwjgl.opengl.DisplayMode;%0A%0Aimport java.io.File;%0A%0Aimport static org.lwjgl.opengl.GL11.*;%0A%0Apublic final class FreeWorld%7B%0A%0A    private static FreeWorld freeWorld;%0A    private boolean running;%0A%0A    private FreeWorld()%7B%0A%0A    %7D%0A%0A    public static FreeWorld getFreeWorld()%7B%0A        return freeWorld != null ? freeWorld : new FreeWorld();%0A    %7D%0A%0A    public static void main(String... args)%7B%0A%0A        System.setProperty(%22org.lwjgl.librarypath%22, new File(%22native/%22+(System.getProperties().getProperty(%22os.name%22).split(%22 %22)%5B0%5D).toLowerCase()).getAbsolutePath());%0A%0A        try %7B%0A            Display.setTitle(%22FreeWorld Alpha 130617%22);%0A            Display.setDisplayMode(new DisplayMode(720, 480));%0A            Display.create();%0A        %7Dcatch (LWJGLException e)%7B%0A            e.printStackTrace();%0A        %7D%0A%0A        //TODO: Provisoire%0A        glEnable(GL_DEPTH_TEST);%0A        glClearColor(0.2f, 0.7f, 0.7f, 1.0f);%0A%0A        FreeWorld.getFreeWorld().start();%0A    %7D%0A%0A    private void start()%7B%0A        if(running) return;%0A        running = true;%0A        run();%0A    %7D%0A%0A    public void run()%7B%0A        long lns = System.nanoTime();%0A        double ns = 1000000000.0/20.0;%0A        long ls = System.currentTimeMillis();%0A        int fps = 0, tps = 0;%0A%0A%0A        while (!Display.isCloseRequested() && running) %7B%0A            if(System.nanoTime() - lns %3E ns)%7B%0A                lns+=ns;%0A                tps++;%0A                //Update%0A            %7Delse%7B%0A                fps++;%0A                Display.update();%0A                //Render%0A            %7D%0A%0A            if(System.currentTimeMillis() - ls %3E= 1000)%7B%0A                ls = System.currentTimeMillis();%0A                Display.setTitle(%22FreeWorld Alpha 130617 %7C FPS : %22+fps+%22 %7C TPS : %22+tps);%0A                fps = 0; tps = 0;%0A            %7D%0A        %7D%0A%0A        Display.destroy();%0A        System.exit(0);
 %0A   

Create windows for the game.