Wrapper; template - fixing spaces
This commit is contained in:
@@ -3,34 +3,34 @@ import ::APP_MAIN::;
|
|||||||
import lime.Lime;
|
import lime.Lime;
|
||||||
|
|
||||||
class ApplicationMain {
|
class ApplicationMain {
|
||||||
|
|
||||||
public static var _main_ : ::APP_MAIN::;
|
public static var _main_ : ::APP_MAIN::;
|
||||||
public static var _lime : Lime;
|
public static var _lime : Lime;
|
||||||
|
|
||||||
public static function main () {
|
public static function main () {
|
||||||
//Create the runtime
|
//Create the runtime
|
||||||
_lime = new Lime();
|
_lime = new Lime();
|
||||||
//Create the app class, give it to the bootstrapper
|
//Create the app class, give it to the bootstrapper
|
||||||
_main_ = new ::APP_MAIN::();
|
_main_ = new ::APP_MAIN::();
|
||||||
|
|
||||||
var config : LimeConfig = {
|
var config : LimeConfig = {
|
||||||
host : _main_,
|
host : _main_,
|
||||||
fullscreen : ::WIN_FULLSCREEN::,
|
fullscreen : ::WIN_FULLSCREEN::,
|
||||||
resizable : ::WIN_RESIZABLE::,
|
resizable : ::WIN_RESIZABLE::,
|
||||||
borderless : ::WIN_BORDERLESS::,
|
borderless : ::WIN_BORDERLESS::,
|
||||||
antialiasing : Std.int(::WIN_ANTIALIASING::),
|
antialiasing : Std.int(::WIN_ANTIALIASING::),
|
||||||
stencil_buffer : ::WIN_STENCIL_BUFFER::,
|
stencil_buffer : ::WIN_STENCIL_BUFFER::,
|
||||||
depth_buffer : ::WIN_DEPTH_BUFFER::,
|
depth_buffer : ::WIN_DEPTH_BUFFER::,
|
||||||
vsync : ::WIN_VSYNC::,
|
vsync : ::WIN_VSYNC::,
|
||||||
fps : Std.int(::WIN_FPS::),
|
fps : Std.int(::WIN_FPS::),
|
||||||
width : Std.int(::WIN_WIDTH::),
|
width : Std.int(::WIN_WIDTH::),
|
||||||
height : Std.int(::WIN_HEIGHT::),
|
height : Std.int(::WIN_HEIGHT::),
|
||||||
orientation : "::WIN_ORIENTATION::",
|
orientation : "::WIN_ORIENTATION::",
|
||||||
title : "::APP_TITLE::",
|
title : "::APP_TITLE::",
|
||||||
};
|
};
|
||||||
|
|
||||||
//Start up
|
//Start up
|
||||||
_lime.init( _main_, config );
|
_lime.init( _main_, config );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user