generated from ShadowMario/FNF-PsychEngine
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathProject.xml
164 lines (125 loc) · 5.77 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
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- [ Application Settings ] -->
<app title="Friday Night Funkin': Joalor64 Engine Rewritten" />
<app file="J64EngineRE_WIN" if="windows" />
<app file="J64EngineRE_APP" if="linux" />
<app file="J64EngineRE_MAC" if="mac" />
<app main="Main" version="0.2.8" company="Joalor64GH" package="com.joalor64gh.j64enginere" />
<!-- [ Window Settings ] -->
<window width="1280" height="720" fps="" background="#000000" hardware="true" vsync="false" /> <!-- All targets -->
<window if="html5" resizable="true" /> <!-- HTML5 -->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" vsync="false"/> <!-- Desktop -->
<window if="mac" orientation="auto" fullscreen="false" resizable="true" vsync="false" allow-high-dpi="true" /> <!-- macOS -->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" resizable="false"/> <!-- Mobile -->
<!-- [ Custom Defines ] -->
<section if="desktop">
<define name="MODS_ALLOWED" />
<define name="LUA_ALLOWED" />
<define name="HSCRIPT_ALLOWED" />
<define name="SCRIPT_EXTENSION" />
<define name="WEBM_ALLOWED" />
<define name="FLASH_MOVIE" />
<define name="CHECK_FOR_UPDATES" />
</section>
<define name="PSYCH" /> <!-- For the fnf-modcharting-tools library -->
<define name="ACHIEVEMENTS_ALLOWED" />
<define name="VIDEOS_ALLOWED" if="web || windows || android" unless="32bits" />
<define name="JOALOR64_WATERMARKS" />
<define name="PSYCH_WATERMARKS" unless="JOALOR64_WATERMARKS" />
<define name="CRASH_HANDLER" if="desktop release" />
<!-- [ 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/nightly" if="nightly" />
<set name="BUILD_DIR" value="export/32bit" if="32bits" />
<source path="source" />
<assets path="assets" exclude="*.fla|*.ogg|*.wav" if="web" />
<assets path="assets" exclude="*.fla|*.mp3|*.mp4|*.wav" unless="web" />
<assets path="assets/artemis" library="artemis" if="windows"/>
<assets path="assets/videos" library="videos" if="VIDEOS_ALLOWED || WEBM_ALLOWED || FLASH_MOVIE"/>
<!-- <library path="assets/videos/movie.swf" preload="true" id="movieid"/> --> <!-- template for swf -->
<assets path="mods" embed="false" type="template" if="MODS_ALLOWED" />
<assets path="modsList.txt" if="MODS_ALLOWED" />
<assets path='art/readme.txt' rename='please readme.txt' library="art"/>
<assets path='LICENSE' rename='LICENSE.txt' />
<!-- [ Libraries ] -->
<haxedev set='webgl' />
<haxelib name="flixel" />
<haxelib name="flixel-addons" />
<haxelib name="flixel-ui" />
<haxelib name="hscript" if="HSCRIPT_ALLOWED" />
<haxelib name="hscript-ex" />
<haxelib name="fnf-modcharting-tools" />
<haxelib name="linc_luajit" if="LUA_ALLOWED" />
<haxelib name="SScript-Latest" if="SCRIPT_EXTENSION" />
<haxelib name="parallaxlt" />
<haxelib name="extension-webm" if="WEBM_ALLOWED" />
<haxelib name="hxCodec" if="VIDEOS_ALLOWED" />
<!--<haxelib name="hxvlc" if="VIDEOS_ALLOWED" />--> <!-- if you want to use hxvlc instead -->
<haxelib name="linc_discord-rpc" if="desktop" />
<haxelib name="hxcpp-debug-server" if="desktop debug" />
<!-- [ Defines ] -->
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB" />
<haxedef name="hscriptPos" />
<haxedef name="openflPos" />
<haxedef name="FLX_RECORD" />
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<haxedef name="HXC_DEBUG_TRACE" if="debug" />
<haxedef name="HXC_LIBVLC_LOGGING" if="VIDEOS_ALLOWED debug" />
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<haxedef name="HXCPP_CHECK_POINTER" if="CRASH_HANDLER" />
<haxedef name="HXCPP_STACK_LINE" if="CRASH_HANDLER" />
<haxedef name="HXCPP_STACK_TRACE" if="CRASH_HANDLER" />
<haxedef name="HXCPP_GC_BIG_BLOCKS" />
<haxedef name="no-deprecation-warnings" />
<haxedef name="message.reporting" value="pretty" />
<!-- [ Errors ] -->
<error value="You're not using NebulaZorua's fork of luajit. Use that instead."
if="${linc_luajit == 0.0.1} ||
${linc_luajit == 0.0.2} ||
${linc_luajit == 0.0.3} ||
${linc_luajit == 0.0.4}" />
<error value="You're using an outdated version of Haxe. Please update to 4.3.3 or greater."
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}" />
<error value="You're using an outdated version of Flixel. Please update to the latest version."
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}" />
<error value="You're using an outdated version of flixel-addons. Please update to the latest version."
if="${flixel-addons == 2.11.0} ||
${flixel-addons == 3.0.0} ||
${flixel-addons == 3.0.1}" />
<error value="You're using an outdated version of flixel-ui. Please update to the latest version."
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}" />
<!-- [ Flags ] -->
<haxeflag name="--macro" value="allowPackage('flash')" />
<haxeflag name="--macro" value="include('my.pack')" />
<!-- [ Icons ] -->
<assets path='art/iconOG.png' rename='icon.png' if="linux || mac" /> <!-- icon workaround for linux/mac -->
<icon path="art/icon16.png" size='16'/>
<icon path="art/icon32.png" size='32'/>
<icon path="art/icon64.png" size='64'/>
<icon path="art/iconOG.png" />
<!-- [ Miscellaneous ] -->
<target id="haxe" tool="linker" if="linux">
<lib name="/usr/lib64/libX11.so" if="HXCPP_M64" /> <!-- linux support -->
</target>
<target id="haxe" tool="linker" if="macos">
<lib name="/lib64/libX11.a" if="HXCPP_M64" /> <!-- mac support -->
</target>
</project>