forked from Vortex2Oblivion/LeatherEngine
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathProject.xml
148 lines (109 loc) · 5.3 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
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- Application Settings -->
<define name="no-deprecation-warnings" />
<app title="Leather Engine" file="LeatherEngine" packageName="com.leather128.funkin"
package="com.leather128.funkin" main="Main" version="0.5.0pre" company="leather128" />
<!-- totally not stolen from psych engine -->
<haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB" /> <!-- i think this is important -->
<app preloader="flixel.system.FlxPreloader" />
<set name="SWF_VERSION" value="11.8" />
<!-- Window Settings -->
<!--These window settings apply to all targets-->
<window width="1280" height="720" background="#000000" hardware="true" vsync="false" allow-high-dpi="true" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" vsync="false" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" resizable="false" allow-shaders="true" require-shaders="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="32bit" />
<source path="source" />
<assets path="assets/preload" rename="assets" />
<!-- LEATHER ENGINE CUSTOMIZATION -->
<section if="cpp">
<define name="VIDEOS_ALLOWED" />
<define name="LUA_ALLOWED" />
<define name="DISCORD_ALLOWED" if="cpp" unless="mobile"/>
</section>
<define name="MODDING_ALLOWED" />
<section if="MODDING_ALLOWED">
<assets path="mods" embed="false" />
</section>
<!-- <define name="PRELOAD_ALL" /> -->
<define name="PRELOAD_ALL" />
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL" />
<!-- Remove this line if you want to build 32 bit, since the 32bit thingy doesn't automatically
work (oof) -->
<define name="BIT_64" unless="32bit" />
<section if="PRELOAD_ALL">
<library name="stages" preload="true" />
<library name="songs" preload="true" />
<library name="shared" preload="true" />
</section>
<section if="NO_PRELOAD_ALL">
<library name="stages" preload="false" />
<library name="songs" preload="false" />
<library name="shared" preload="false" />
</section>
<assets path="assets/songs" library="songs" />
<assets path="assets/stages" library="stages" />
<assets path="assets/shared" library="shared" />
<assets path="assets/preload/fonts" rename="assets/fonts" library="fonts" />
<section unless="mobile">
<assets path="CHANGELOG.md" rename='changelog.txt' />
<assets path="version.txt" />
<assets path="alsoft.txt" rename="plugins/alsoft.ini" type="text" if="windows"/>
<assets path="alsoft.txt" rename="plugins/alsoft.conf" type="text" unless="windows"/>
</section>
<!-- Libraries -->
<haxelib name="flixel" />
<haxelib name="flixel-addons" />
<haxelib name="flixel-ui" />
<haxelib name="hscript-improved"/>
<haxelib name="scriptless-polymod" if="MODDING_ALLOWED" />
<haxelib name="flxanimate" />
<haxelib name="discord_rpc" if="DISCORD_ALLOWED" />
<haxelib name="linc_luajit" if="LUA_ALLOWED" version="git" />
<haxelib name="hxvlc" if="VIDEOS_ALLOWED" />
<haxelib name="hxNoise"/>
<haxelib name="fnf-modcharting-tools" unless="hl" />
<haxelib name="funkin.vis" />
<haxelib name="grig.audio" />
<haxelib name="extension-androidtools" if="android" />
<!-- Haxedefines -->
<haxedef name="message.reporting" value="pretty" />
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<haxedef name="FLX_NO_HEALTH" /> <!--Remove dumb health variable from FlxSprite -->
<haxedef name="openfl_enable_experimental_update_queue" />
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<!-- HSCRIPT GO BRRRRRRR -->
<haxeflag name="-dce" value="no" />
<haxeflag name="--macro" value="include('flixel', true, [ 'flixel.addons.editors.spine.*', 'flixel.addons.nape.*', 'flixel.system.macros.*' ])" />
<haxeflag name="--macro" value="include('game')" />
<haxeflag name="--macro" value="include('hxvlc')" if="VIDEOS_ALLOWED" />
<define name="hscript" />
<define name="hscriptPos" />
<define name="CUSTOM_CLASSES" />
<define name="MODCHARTING_TOOLS" if="fnf-modcharting-tools" />
<define name="LEATHER" if="MODCHARTING_TOOLS" />
<!-- Show debug traces for hxvlc -->
<!--These defines are mostly for testing (aren't required to be used)-->
<haxedef name="HXVLC_VERBOSE" value="2" if="debug" />
<haxedef name="HXVLC_LOGGING" if="debug" />
<!-- Aways enable Null Object Reference check for crash dialog -->
<haxedef name="HXCPP_CHECK_POINTER" if="release" />
<haxedef name="HXCPP_STACK_LINE" if="release" />
<haxedef name="HXCPP_STACK_TRACE" if="release" />
<haxedef name="HXCPP_CATCH_SEGV" if="release" />
<!-- Do whatever you want I'm tired uninstall and install everytime -->
<certificate path="key.keystore" password="leatherengine" alias="leatherport" alias-password="leatherengine" if="android" unless="debug" />
<!-- Category Type for Apple Systems -->
<config:ios category_type="public.app-category.music-games" />
<config:mac category_type="public.app-category.music-games" />
<!--<haxedef name="HXCPP_GC_BIG_BLOCKS" />-->
<haxedef name="HXCPP_GC_GENERATIONAL" />
<icon path="art/icon.png" />
</project>