Run Haxe formatter
This commit is contained in:
@@ -37,63 +37,69 @@ class LinuxPlatform extends PlatformTarget
|
||||
|
||||
var defaults = new HXProject();
|
||||
|
||||
defaults.meta = {
|
||||
title: "MyApplication",
|
||||
description: "",
|
||||
packageName: "com.example.myapp",
|
||||
version: "1.0.0",
|
||||
company: "",
|
||||
companyUrl: "",
|
||||
buildNumber: null,
|
||||
companyId: ""
|
||||
};
|
||||
defaults.meta =
|
||||
{
|
||||
title: "MyApplication",
|
||||
description: "",
|
||||
packageName: "com.example.myapp",
|
||||
version: "1.0.0",
|
||||
company: "",
|
||||
companyUrl: "",
|
||||
buildNumber: null,
|
||||
companyId: ""
|
||||
};
|
||||
|
||||
defaults.app =
|
||||
{
|
||||
main: "Main",
|
||||
file: "MyApplication",
|
||||
path: "bin",
|
||||
preloader: "",
|
||||
swfVersion: 17,
|
||||
url: "",
|
||||
init: null
|
||||
};
|
||||
{
|
||||
main: "Main",
|
||||
file: "MyApplication",
|
||||
path: "bin",
|
||||
preloader: "",
|
||||
swfVersion: 17,
|
||||
url: "",
|
||||
init: null
|
||||
};
|
||||
|
||||
defaults.window =
|
||||
{
|
||||
width: 800,
|
||||
height: 600,
|
||||
parameters: "{}",
|
||||
background: 0xFFFFFF,
|
||||
fps: 30,
|
||||
hardware: true,
|
||||
display: 0,
|
||||
resizable: true,
|
||||
borderless: false,
|
||||
orientation: Orientation.AUTO,
|
||||
vsync: false,
|
||||
fullscreen: false,
|
||||
allowHighDPI: true,
|
||||
alwaysOnTop: false,
|
||||
antialiasing: 0,
|
||||
allowShaders: true,
|
||||
requireShaders: false,
|
||||
depthBuffer: true,
|
||||
stencilBuffer: true,
|
||||
colorDepth: 32,
|
||||
maximized: false,
|
||||
minimized: false,
|
||||
hidden: false,
|
||||
title: ""
|
||||
};
|
||||
{
|
||||
width: 800,
|
||||
height: 600,
|
||||
parameters: "{}",
|
||||
background: 0xFFFFFF,
|
||||
fps: 30,
|
||||
hardware: true,
|
||||
display: 0,
|
||||
resizable: true,
|
||||
borderless: false,
|
||||
orientation: Orientation.AUTO,
|
||||
vsync: false,
|
||||
fullscreen: false,
|
||||
allowHighDPI: true,
|
||||
alwaysOnTop: false,
|
||||
antialiasing: 0,
|
||||
allowShaders: true,
|
||||
requireShaders: false,
|
||||
depthBuffer: true,
|
||||
stencilBuffer: true,
|
||||
colorDepth: 32,
|
||||
maximized: false,
|
||||
minimized: false,
|
||||
hidden: false,
|
||||
title: ""
|
||||
};
|
||||
|
||||
switch (System.hostArchitecture)
|
||||
{
|
||||
case ARMV6: defaults.architectures = [ARMV6];
|
||||
case ARMV7: defaults.architectures = [ARMV7];
|
||||
case X86: defaults.architectures = [X86];
|
||||
case X64: defaults.architectures = [X64];
|
||||
default: defaults.architectures = [];
|
||||
case ARMV6:
|
||||
defaults.architectures = [ARMV6];
|
||||
case ARMV7:
|
||||
defaults.architectures = [ARMV7];
|
||||
case X86:
|
||||
defaults.architectures = [X86];
|
||||
case X64:
|
||||
defaults.architectures = [X64];
|
||||
default:
|
||||
defaults.architectures = [];
|
||||
}
|
||||
|
||||
defaults.window.allowHighDPI = false;
|
||||
|
||||
Reference in New Issue
Block a user