This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
forked from FunkinCrew/Funkin
-
Notifications
You must be signed in to change notification settings - Fork 57
/
Project.xml
138 lines (97 loc) · 5.11 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
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- _________________________ Application Settings _________________________ -->
<app title="Leather Engine" file="Leather Engine" packageName="com.leather128.funkin"
package="com.leather128.funkin" main="Main" version="0.5.0" 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" 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" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0"
resizable="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="32bit" />
<source path="source" />
<assets path="assets/preload" rename="assets" exclude="*.ogg" if="web" />
<assets path="assets/preload" rename="assets" exclude="*.mp3" unless="web" />
<!-- LEATHER ENGINE CUSTOMIZATION -->
<define name="VIDEOS_ALLOWED" if="windows || mac || android" />
<define name="LUA_ALLOWED" if="desktop" />
<assets path="mods" embed="false" exclude="*.ogg" if="web" />
<assets path="mods" embed="false" exclude="*.mp3" unless="web" />
<!-- <define name="PRELOAD_ALL" /> -->
<define name="PRELOAD_ALL" unless="web" />
<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" />
<library name="replays" preload="true" />
</section>
<section if="NO_PRELOAD_ALL">
<library name="stages" preload="false" />
<library name="songs" preload="false" />
<library name="shared" preload="false" />
<library name="replays" preload="false" />
</section>
<assets path="assets/songs" library="songs" exclude="*.ogg" if="web" />
<assets path="assets/songs" library="songs" exclude="*.mp3" unless="web" />
<assets path="assets/stages" library="stages" exclude="*.ogg" if="web" />
<assets path="assets/stages" library="stages" exclude="*.mp3" unless="web" />
<assets path="assets/shared" library="shared" exclude="*.ogg" if="web" />
<assets path="assets/shared" library="shared" exclude="*.mp3" unless="web" />
<assets path="assets/replays" library="replays" exclude="*.ogg" if="web" />
<assets path="assets/replays" library="replays" exclude="*.mp3" unless="web" />
<assets path="assets/preload/fonts" rename="assets/fonts" library="fonts" />
<assets path='art/readme.txt' rename='do NOT readme.txt' />
<assets path='art/manual.txt' rename='manual.txt' />
<assets path="CHANGELOG.md" rename='changelog.txt' />
<assets path="version.txt" />
<assets path="building/linux_dependencies.txt" rename='linux_dependencies.txt' if="linux" />
<!-- _______________________________ Libraries ______________________________ -->
<!--Packages-->
<haxelib name="flixel" />
<haxelib name="flixel-addons" />
<haxelib name="flixel-ui" />
<haxelib name="hscript" />
<!--Fix
some polymod 1.5.3+ errors lol (needs hscript 2.5.0 i think???)-->
<define name="hscriptPos" />
<haxelib name="polymod" />
<!-- haxelib git flixelTextureAtlas https://github.com/Smokey555/Flixel-TextureAtlas.git -->
<haxelib name="flixelTextureAtlas" />
<haxelib name="discord_rpc" if="desktop" />
<haxelib name="linc_luajit" if="LUA_ALLOWED" />
<!-- Show debug traces for hxCodec -->
<haxelib name="hxCodec" if="VIDEOS_ALLOWED" />
<define name="HXC_DEBUG_TRACE" if="debug" />
<!-- haxelib git fnf-modcharting-tools https://github.com/TheZoroForce240/FNF-Modcharting-Tools -->
<define name="MODCHARTING_TOOLS" if="fnf-modcharting-tools" />
<define name="LEATHER" if="MODCHARTING_TOOLS" />
<!-- ______________________________ Haxedefines _____________________________ -->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<haxedef name="HXCPP_GC_BIG_BLOCKS" />
<!-- _________________________________ Custom _______________________________ -->
<!--Place
custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
<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" />
</project>