This commit is contained in:
luboslenco
2019-10-06 19:03:59 +02:00
parent 1965719507
commit 15a2501906
89 changed files with 346 additions and 354 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ import arm.Config;
using StringTools;
class Main {
static var tasks:Int;
public static function main() {
@@ -25,7 +25,7 @@ class Main {
static function start() {
if (tasks > 0) return;
if (Config.raw == null) Config.raw = {};
var c = Config.raw;
if (c.window_mode == null) c.window_mode = 0;
@@ -38,7 +38,7 @@ class Main {
if (c.window_y == null) c.window_y = -1;
if (c.window_scale == null) c.window_scale = 1.0;
if (c.window_vsync == null) c.window_vsync = true;
var windowMode = c.window_mode == 0 ? WindowMode.Windowed : WindowMode.Fullscreen;
var windowFeatures = None;
if (c.window_resizable) windowFeatures |= FeatureResizable;