-
Notifications
You must be signed in to change notification settings - Fork 1
/
Project.xml
136 lines (98 loc) · 5.57 KB
/
Project.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://lime.openfl.org/project/1.0.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/xsd/project-1.0.4.xsd">
<!-- _________________________ Application Settings _________________________ -->
<app title="FNF': Neutron Engine" file="Neutron" packageName="com.neutrondev.neutronengine" package="com.neutrondev.neutronengine" main="Main" version="0.0.1" company="NeutronDev" />
<!-- _________________________ Engine Customizations _________________________ -->
<!-- DO NOT DISABLE THIS, it's there temporarily just to keep this source a bit more organized. we'll use a openfl fork in the future -->
<!-- <define name="SHADOW_OPENFL_CLASSES" /> -->
<!-- <define name="HAS_VIDEO_PLAYBACK" if="cpp" /> -->
<!-- <define name="HAS_HAXE_RUNTIME_SCRIPTING" /> -->
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
<app preloader="flixel.system.FlxPreloader" />
<!-- ____________________________ Window Settings ___________________________ -->
<!--These window settings apply to all targets-->
<window width="1280" height="720" background="#000000" hardware="true" vsync="false" />
<!--Web-specific-->
<window if="web" resizable="true" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" resizable="false" allow-shaders="true" require-shaders="true" allow-high-dpi="true" />
<!-- _____________________________ Path Settings ____________________________ -->
<set name="BUILD_DIR" value="export/debug" if="debug" />
<set name="BUILD_DIR" value="export/release" unless="debug" />
<source path="source" />
<library name="images" preload="true" />
<library name="music" preload="true" />
<library name="sounds" preload="true" />
<library name="data" preload="true" />
<!-- <assets path="assets" /> -->
<assets path="assets/images" library="images" />
<assets path="assets/music" library="music" />
<assets path="assets/sounds" library="sounds" />
<assets path="assets/data" library="data" />
<!-- _______________________________ Libraries ______________________________ -->
<haxelib name="flixel" />
<haxelib name="lime" />
<haxelib name="openfl" />
<haxelib name="hxvlc" if="HAS_VIDEO_PLAYBACK" />
<haxelib name="hscript" if="HAS_HAXE_RUNTIME_SCRIPTING" />
<haxelib name="extension-androidtools" if="android" />
<haxelib name="hxcpp-debug-server" if="debug"/>
<!--In case you want to use the addons package-->
<!--<haxelib name="flixel-addons" />-->
<!--In case you want to use the ui package-->
<!--<haxelib name="flixel-ui" />-->
<!-- ______________________________ Haxedefines _____________________________ -->
<!--Remove the legacy health system-->
<!-- <haxedef name="FLX_NO_HEALTH" /> -->
<!--Enable the Flixel core recording system-->
<!--<haxedef name="FLX_RECORD" />-->
<!--Disable the right and middle mouse buttons-->
<!--<haxedef name="FLX_NO_MOUSE_ADVANCED" />-->
<!--Disable the native cursor API on Flash-->
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
<!-- <haxedef name="FLX_NO_MOUSE" if="mobile" /> -->
<!-- <haxedef name="FLX_NO_KEYBOARD" if="mobile" /> -->
<!-- <haxedef name="FLX_NO_TOUCH" if="desktop" /> -->
<!--<haxedef name="FLX_NO_GAMEPAD" />-->
<!--Disable the Flixel core sound tray-->
<!--<haxedef name="FLX_NO_SOUND_TRAY" />-->
<!--Disable the Flixel core focus lost screen-->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
<haxedef name="FLX_NO_DEBUG" unless="debug || ENABLE_FLIXEL_DEBUGGER" />
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<!-- Haxe 4.3.0+: Enable pretty syntax errors and stuff. -->
<haxedef name="message.reporting" value="pretty" />
<!-- Disable dead code elimination for hscript -->
<haxeflag name="-dce" value="no" if="HAS_HAXE_RUNTIME_SCRIPTING"/>
<section if="desktop">
<!-- Enable Handle Error -->
<haxedef name="openfl_enable_handle_error" if="${openfl ≥ 9.4.0}" />
<!-- Undefinitions -->
<undefine name="openfl-disable-handle-error" if="debug" unless="${openfl ≥ 9.4.0}" />
</section>
<!-- Enable things for Crash Handler on c++ platforms -->
<section if="cpp">
<haxedef name="HXCPP_DEBUG_LINK" if="release" />
<haxedef name="HXCPP_CHECK_POINTER" />
<haxedef name="HXCPP_STACK_LINE" />
<haxedef name="HXCPP_STACK_TRACE" />
<haxedef name="HXCPP_CATCH_SEGV" />
<!-- <haxedef name="HXCPP_STACK_VARS" /> -->
<!-- <haxedef name="HXCPP_TELEMETRY" /> -->
</section>
<certificate path="key.keystore" password="neutronengine" alias="neutronengine" alias-password="neutronengine" if="android" unless="debug" />
<!-- Flash import fixes for macro -->
<haxeflag name="--macro" value="allowPackage('flash')" />
<haxeflag name="--macro" value="include('my.pack')" />
<!-- _________________________________ Custom _______________________________ -->
<source path="openfl" if="SHADOW_OPENFL_CLASSES"/>
<haxeflag name="--macro" value="addMetadata('@:build(macros.AssetLibraryMacro.build())', 'backend.assets.AssetLibrary')" />
<!--Place custom nodes like icons here-->
</project>