-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.xml
194 lines (144 loc) · 7.6 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
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- _________________________ Application Settings _________________________ -->
<app packageName="com.vsfoxateam.vsfoxa" package="com.vsfoxateam.vsfoxa" main="Main" version="0.2.8" company="VsFoxaTeam" />
<!--<app title="Friday Night Funkin': Vs. Foxa" unless="STORY_EDITION" file="VsFoxa"/>-->
<app title="Friday Night Funkin': Alleyway Engine" unless="STORY_EDITION" file="AlleywayEngine"/>-
<app title="Friday Night Funkin': Vs. Foxa: Story Edition" if="STORY_EDITION" file="VsFoxaStoryEdition"/>
<!--<define name="STORY_EDITION" />--> <!-- nah bad idea -->
<!-- NOTE TO SELF: DISABLE THIS IF ISSUES ARE FOUND- theres no issues :) -->
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB" /> <!-- stable lua -->
<app preloader="flixel.system.FlxPreloader" />
<set name="SWF_VERSION" value="11.8" /> <!-- but this isnt flash :/-->
<!-- ______________________ ALLEYWAY ENGINE CUSTOMIZATION ______________________ -->
<define name="MODS_ALLOWED" if="desktop || mobile" />
<define name="HSCRIPT_ALLOWED" if="desktop || mobile" />
<define name="LUA_ALLOWED" if="desktop || mobile" />
<define name="CRASH_HANDLER" if="desktop" />
<define name="GITHUB_ALLOWED" />
<!--<define name="FREEPLAY_SECTIONS" />-->
<define name="ACHIEVEMENTS_ALLOWED" />
<!--<define name="BUTTPLUG_ALLOWED" />-->
<!--<define name="LOADING_SCREEN" />--> <!-- i will uncomment this once moxie does something with this repo lol -->
<define name="VIDEOS_ALLOWED" if="windows || linux || android" unless="32bits" /><!-- wait why is there some hints of an official android port wtf -->
<define name="ALLEYWAY_WATERMARKS" />
<define name="TITLE_SCREEN_EASTER_EGG" />
<echo value="Freeplay sections are buggy, if you want to play in Freeplay, disable this define." if="FREEPLAY_SECTIONS"/>
<!-- ____________________________ Window Settings ___________________________ -->
<!--These window settings apply to all targets-->
<window width="1280" height="720" fps="60" 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" />
<!--macOS-->
<window if="mac" orientation="auto" fullscreen="false" resizable="true" vsync="false" allow-high-dpi="true" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" resizable="true" 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" />
<set name="BUILD_DIR" value="export/32bit" if="32bits" />
<classpath name="source" />
<!-- __________________________ Game Assets & Etc. __________________________ -->
<!-- Assets -->
<assets path="assets/fonts" />
<assets path="assets/shared" exclude="*.ogg" if="web" />
<assets path="assets/shared" exclude="*.mp3" unless="web" />
<assets path="assets/videos" library="videos" if="VIDEOS_ALLOWED" />
<assets path="assets/songs" library="songs" exclude="*.ogg" if="web" />
<assets path="assets/songs" library="songs" exclude="*.mp3" unless="web" />
<assets path="assets/week_assets" library="week_assets" rename="assets" exclude="*.ogg" if="web" />
<assets path="assets/week_assets" library="week_assets" rename="assets" exclude="*.mp3" unless="web" />
<section if="TITLE_SCREEN_EASTER_EGG">
<assets path="assets/secrets" rename="assets/shared" exclude="*.ogg" if="web" />
<assets path="assets/secrets" rename="assets/shared" exclude="*.mp3" unless="web" />
</section>
<library name="videos" preload="true" if="VIDEOS_ALLOWED" />
<library name="songs" preload="true" />
<library name="week_assets" preload="true" />
<section unless="web">
<define name="CHECK_FOR_UPDATES" if="officialBuild" />
</section>
<section if="MODS_ALLOWED">
<assets path='example_mods' rename='mods' embed='false' type='template'/>
</section>
<assets path='art/readme.txt' rename='dont_look_at_this_folder/warned.txt' />
<assets path='art/the rel readme.txt' rename='readme.txt' />
<!-- This seems to be occuring only on linux, so I'm gonna do this -->
<template path="source/ManifestResources.hx" rename="../haxe/ManifestResources.hx" if="linux" />
<!-- _______________________________ Libraries ______________________________ -->
<haxelib name="flixel" />
<haxelib name="flixel-ui" />
<haxelib name="flixel-addons" />
<haxelib name="haxeui-core" />
<haxelib name="haxeui-openfl" />
<haxelib name="haxeui-flixel" />
<!--Psych stuff needed-->
<haxelib name="linc_luajit" if="LUA_ALLOWED"/>
<haxelib name="SScript" if="HSCRIPT_ALLOWED"/>
<haxelib name="hxvlc" if="VIDEOS_ALLOWED"/>
<haxelib name="discord_rpc" if="desktop cpp"/>
<haxelib name="flxanimate"/>
<haxelib name="tjson" />
<!-- Android tools required for external storage access -->
<haxelib name="extension-androidtools" if="android" />
<!-- Enables a terminal log prompt on debug builds -->
<haxelib name="hxcpp-debug-server" if="debug"/>
<section unless="mac">
<haxelib name="systools" />
<ndll name="systools" haxelib="systools" />
</section>
<haxedef name="openflPos" />
<haxedef name="hscriptPos" if="HSCRIPT_ALLOWED" />
<!-- ______________________________ Haxedefines _____________________________ -->
<!--Enable the Flixel core recording system-->
<haxedef name="FLX_RECORD" if="debug"/>
<!--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" />
<haxedef name="HXCPP_GC_BIG_BLOCKS" if="cpp debug" /> <!-- mmmm memory (for debug only) -->
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<!--Used for Izzy Engine's crash handler-->
<section if="CRASH_HANDLER">
<haxedef name="HXCPP_CHECK_POINTER" />
<haxedef name="HXCPP_STACK_LINE" />
<haxedef name="HXCPP_STACK_TRACE" />
<haxedef name="HXCPP_DEBUG_LINK" />
</section>
<!--Disable deprecated warnings-->
<haxedef name="no-deprecation-warnings" />
<!--Avoid memory leaks with for loops in HScript-->
<haxedef name="loop_unroll_max_cost" value="25" />
<!--Macro fixes-->
<haxeflag name="--macro" value="allowPackage('flash')" />
<haxeflag name="--macro" value="include('my.pack')" />
<haxeflag name="--macro" value="macros.Keep.keepClasses()" />
<haxeflag name="-dce" value="std" unless="HSCRIPT_ALLOWED" />
<haxeflag name="-dce" value="no" if="HSCRIPT_ALLOWED" />
<!--Disables the use of precompiled headers but can cause issues with build times and memory usage-->
<haxedef name="NO_PRECOMPILED_HEADERS" if="linux" />
<!-- Android & iOS specifications -->
<section if="android">
<config>
<!--<android gradle-version="7.4.2" gradle-plugin="7.3.1" /-->
<android target-sdk-version="28" />
</config>
</section>
<section if="ios">
<dependency name="Metal.framework" if="${lime < 8.0.0}" />
</section>
<!--hxVLC Defines-->
<section if="VIDEOS_ALLOWED">
<!--The level of verbosity that is being used for logging-->
<haxedef name="HXVLC_VERBOSE" value="2" if="debug" />
<!--Enable libVLC logging on hxVLC-->
<haxedef name="HXVLC_LOGGING" if="debug" />
</section>
<!-- _________________________________ Custom _______________________________ -->
<assets path='art/icon16.png' rename='icon.png' if="linux" />
<icon path="art/icon16.png" size='16'/>
<icon path="art/iconOG.png" />
</project>