forked from UmbratheUmbreon/PublicDenpaEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.xml
227 lines (190 loc) · 8.94 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- _________________________ Application Settings _________________________ -->
<app title="Friday Night Funkin': Denpa Engine" file="DenpaEngine" packageName="com.detean.denpaengine" package="com.deteam.denpaengine" main="Main" version="0.2.8" company="DETeam" />
<app preloader="flixel.system.FlxPreloader" />
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB"/>
<!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
<set name="SWF_VERSION" value="11.8" />
<!-- ____________________________ Window Settings ___________________________ -->
<!--These window settings apply to all targets-->
<window width="1280" height="720" fps="" background="#000000" hardware="true" vsync="false" />
<!--HTML5-specific-->
<window if="html5" resizable="true" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" vsync="false"/>
<!-- _____________________________ Path Settings ____________________________ -->
<set name="BUILD_DIR" value="export/debug" if="debug" />
<set name="BUILD_DIR" value="export/release" unless="debug" />
<set name="BUILD_DIR" value="export/32bit" if="32bits" />
<!-- LOCATION OF SOURCE FILES -->
<classpath name="source" />
<!-- DENPA ENGINE CUSTOMIZATION -->
<section if="desktop">
<define name="MODS_ALLOWED" /> <!-- COMMENT OUT TO DISABLE MODS -->
<define name="LUA_ALLOWED" if="cpp"/> <!-- COMMENT OUT TO DISABLE LUA -->
<define name="HSCRIPT_ALLOWED" /> <!-- COMMENT OUT TO DISABLE HSCRIPT -->
</section>
<define name="VIDEOS_ALLOWED" if="desktop || web" unless="32bits"/> <!-- COMMENT OUT TO DISABLE VIDEOS -->
<define name="DENPA_WATERMARKS"/> <!-- COMMENT OUT THIS TO REMOVE WATERMARKS/DEV NAMES ON TITLE SCREEN -->
<define name="CRASH_HANDLER" if="desktop release" /> <!-- COMMENT OUT TO DISABLE CRASH HANDLER -->
<!-- <define name="DSIABLE_OPTIMIZE"/> --> <!-- DO NOT UNCOMMENT THIS! -->
<!-- <define name="PRELOAD_ALL" unless="web" /> --> <!-- UNCOMMENT THIS TO DISABLE LOADING SCREEN -->
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL"/>
<!-- ALWAYS PRELOADED -->
<library name="videos" preload="true" />
<library name="splash" preload="true" />
<!-- NOT ALWAYS PRELOADED -->
<section if="PRELOAD_ALL">
<library name="songs" preload="true" />
<library name="shared" preload="true" />
</section>
<section if="NO_PRELOAD_ALL">
<library name="songs" preload="false" />
<library name="shared" preload="false" />
</section>
<!-- PATH DEFINITIONS -->
<section if="web">
<assets path="assets/preload" rename="assets" exclude="*.ogg" />
<assets path="assets/songs" library="songs" exclude="*.ogg" />
<assets path="assets/shared" library="shared" exclude="*.ogg" />
<assets path="assets/splash" library="splash" exclude="*.ogg" />
</section>
<section unless="web">
<assets path="assets/preload" rename="assets" exclude="*.mp3" />
<assets path="assets/songs" library="songs" exclude="*.mp3" />
<assets path="assets/shared" library="shared" exclude="*.mp3" />
<assets path="assets/splash" library="splash" exclude="*.mp3" />
</section>
<assets path="assets/videos" library="videos" if="VIDEOS_ALLOWED"/>
<assets path='example_mods' rename='mods' embed='false' if="MODS_ALLOWED"/>
<assets path='crshhndlr/export/release/windows/bin' rename='crshhndlr' if="CRASH_HANDLER"/>
<!-- NOTE FOR FUTURE SELF SINCE FONTS ARE ALWAYS FUCKY
TO FIX ONE OF THEM, I CONVERTED IT TO OTF. DUNNO IF YOU NEED TO
THEN UHHH I USED THE NAME OF THE FONT WITH SETFORMAT() ON THE TEXT!!!
NOT USING A DIRECT THING TO THE ASSET!!!
-->
<assets path="assets/fonts" embed='true'/>
<!-- _________________________________ Flags ________________________________ -->
<!-- ALWAYS OFF FOR HSCRIPT USERS -->
<haxeflag name="-dce no" if="HSCRIPT_ALLOWED"/>
<haxeflag name="-dce full" unless="HSCRIPT_ALLOWED"/>
<!-- _______________________________ Libraries ______________________________ -->
<haxelib name="flixel" />
<haxedev set='webgl' />
<haxelib name="flixel-addons" />
<haxelib name="hscript" if="HSCRIPT_ALLOWED" />
<haxelib name="flixel-ui" />
<haxelib name="hxCodec" if="VIDEOS_ALLOWED" />
<haxelib name="linc_luajit" if="LUA_ALLOWED"/>
<haxelib name="discord_rpc" if="desktop"/>
<haxelib name="flixel-studio" if="FLIXEL_STUDIO"/>
<haxelib name="hxcpp-debug-server" if="debug"/>
<haxelib name="flxanimate" />
<!-- ______________________________ Haxedefines _____________________________ -->
<!-- Disables the Flixel focus lost screen -->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<!-- Disables Mouse and Keyboard inputs on mobile targets (currently commented out until we do mobile shit) -->
<!-- <section if="mobile">
<haxedef name="FLX_NO_MOUSE" />
<haxedef name="FLX_NO_KEYBOARD" />
</section> -->
<!-- Disables Touch inputs on desktop (excluding mac) targets -->
<section if="desktop" unless="mac">
<haxedef name="FLX_NO_TOUCH" />
</section>
<!-- Automatically gets set when compiling source to with the debug flag -->
<section if="debug">
<!-- Prints stats for gc after a session. Very useful! -->
<haxedef name="HXCPP_GC_SUMMARY" if="cpp"/>
<!-- Disables complete optimization. -->
<haxedef name="no_copt" if="DSIABLE_OPTIMIZE" />
<!-- Disables optimization. -->
<haxedef name="no_opt" if="DSIABLE_OPTIMIZE" />
<!-- Disables inlining. -->
<haxedef name="no_inline" if="DSIABLE_OPTIMIZE" />
</section>
<!-- Allows "Big Blocks" for HxCpp GC, allowing WRAM greater than 1 GB. -->
<haxedef name="HXCPP_GC_BIG_BLOCKS" if="cpp"/>
<haxedef name="hscriptPos" if="HSCRIPT_ALLOWED"/>
<!-- Automatically gets set on release builds -->
<section unless="debug">
<!-- Disables tracing. -->
<haxedef name="no_traces" />
<!-- Disable the Flixel core debugger. -->
<haxedef name="FLX_NO_DEBUG" />
<!-- Nape perforamnce improvement. -->
<haxedef name="NAPE_RELEASE_BUILD" />
<!-- Disables deprecation warnings. -->
<haxedef name="no-deprecation-warnings" />
</section>
<section if="CRASH_HANDLER">
<haxedef name="HXCPP_CHECK_POINTER" />
<haxedef name="HXCPP_STACK_LINE" />
</section>
<!-- Throws an exception if you are using the wrong luajit version. -->
<error value="You're not using NebulaZoruas github fork of luajit, install it instead."
if="${linc_luajit == 0.0.1} ||
${linc_luajit == 0.0.2} ||
${linc_luajit == 0.0.3} ||
${linc_luajit == 0.0.4}" />
<!-- Throws an exception if you are using the wrong haxe version. -->
<error value="You're using an outdated Haxe, update to 4.2.5."
if="${haxe == 4.1.0} ||
${haxe == 4.1.1} ||
${haxe == 4.1.2} ||
${haxe == 4.1.3} ||
${haxe == 4.1.4} ||
${haxe == 4.1.5}" />
<!-- Throws an exception if you are using the wrong flixel version. -->
<error value="You're using an outdated Flixel, update to 5.2.2."
if="${flixel == 4.11.0} ||
${flixel == 5.0.0} ||
${flixel == 5.0.1} ||
${flixel == 5.0.2} ||
${flixel == 5.1.0} ||
${flixel == 5.2.0} ||
${flixel == 5.2.1}" />
<!-- Throws an exception if you are using the wrong flixel-addons version. -->
<error value="You're using an outdated Flixel Addons, update to 3.0.2."
if="${flixel-addons == 2.11.0} ||
${flixel-addons == 3.0.0} ||
${flixel-addons == 3.0.1}" />
<!-- Throws an exception if you are using the wrong flixel-ui version. -->
<error value="You're using an outdated Flixel UI, update to 2.5.0."
if="${flixel-ui == 2.4.0} ||
${flixel-ui == 2.3.0} ||
${flixel-ui == 2.3.1} ||
${flixel-ui == 2.3.2} ||
${flixel-ui == 2.3.3}" />
<!-- Throws an exception if you are using the wrong flxanimate version. -->
<error value="You're using an outdated FlxAnimate, update to 3.0.4."
if="${flxanimate == 1.2.0} ||
${flxanimate == 2.0.0} ||
${flxanimate == 2.1.0} ||
${flxanimate == 3.0.0} ||
${flxanimate == 3.0.1} ||
${flxanimate == 3.0.2} ||
${flxanimate == 3.0.3}" />
<!-- Throws an exception if you are using the wrong hxCodec version. (Currently commented out because the compiler conditionals are handling this) -->
<!-- <error value="You're using an outdated hxCodec, install the git version instead."
if="${hxCodec == 2.5.0} ||
${hxCodec == 2.5.1} ||
${hxCodec == 2.6.0} ||
${hxCodec == 2.6.1}" /> -->
<!-- ________________________________ Misc __________________________________ -->
<!-- Sets icons -->
<icon path="assets/icons/16.png" size='16'/>
<icon path="assets/icons/24.png" size='24'/>
<icon path="assets/icons/32.png" size='32'/>
<icon path="assets/icons/40.png" size='40'/>
<icon path="assets/icons/48.png" size='48'/>
<icon path="assets/icons/64.png" size='64'/>
<icon path="assets/icons/96.png" size='96'/>
<icon path="assets/icons/128.png" size='128'/>
<icon path="assets/icons/196.png" size='196'/>
<icon path="assets/icons/256.png" size='256'/>
<icon path="assets/icons/512.png" size='512'/>
<icon path="assets/icons/768.png" size='768'/>
<icon path="assets/icons/OG.png" />
</project>