-
Notifications
You must be signed in to change notification settings - Fork 1
/
Project.xml
117 lines (88 loc) · 4.15 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
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- [ Forever Engine Custom Nodes ] -->
<section if="haxe_ver < 4.3">
<prebuild command='echo It is hightly recommended to use Forever Engine with Haxe 4.3 or later' />
<prebuild command='echo Forever does not *properly* function in older versions, and most times it will not compile' />
<prebuild command='echo Please consider upgrading to the latest version, Thank you for your patience.' />
<prebuild command='echo -crowplexus' />
</section>
<define name="DISCORD" if="cpp" />
<define name="MODS" if="desktop" unless="hl || neko" />
<define name="CRASH_HANDLER" />
<define name="SCRIPTING" />
<icon path="art/icon16.png" size='16' />
<icon path="art/icon32.png" size='32' />
<icon path="art/icon64.png" size='64' />
<icon path="art/icon128.png" size='128' />
<icon path="art/icon256.png" size='256' />
<icon path="art/icon512.png" size='512' />
<icon path="art/iconOG.png" />
<!-- So lime doesn't really set icons for the linux app, here we export the icon image in order -->
<!-- to set the icon ourselves when the game starts -->
<assets path="art/iconOG.png" rename="icon.png" if="linux || mac" />
<!-- [ Application Settings ] -->
<app title="Friday Night Funkin' (Forever)" file="Funkin-Forever" company="crowplexus" />
<app main="Main" package="com.crowplexus.funkinforever" packageName="com.crowplexus.funkinforever" />
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
<app preloader="flixel.system.FlxPreloader" />
<!--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" allow-high-dpi="true" />
<!--HTML5-specific-->
<window if="html5" resizable="false" />
<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
<!--Mobile-specific-->
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" />
<!-- [ Path Settings ] -->
<section if="release">
<set name="BUILD_DIR" value="export/release" />
<set name="BUILD_DIR" value="export/release-x86" if="32bits" />
</section>
<section if="debug">
<set name="BUILD_DIR" value="export/debug" />
<set name="BUILD_DIR" value="export/debug-x86" if="32bits" />
</section>
<source path="source" />
<section if="MODS">
<assets path="assets" />
<!-- <assets path="mods" rename="mods" if="MODS" /> -->
</section>
<section unless="MODS">
<assets path="assets/funkin" rename="assets" unless="MODS" />
</section>
<!-- [ Libraries ] -->
<haxelib name="flixel-arwen" />
<haxelib name="flixel-addons-arwen" />
<haxelib name="hxcpp-debug-server" if="debug" />
<haxelib name="hxdiscord_rpc" if="DISCORD" />
<section if="SCRIPTING">
<haxelib name="hscript-iris" />
<haxedef name="hscriptPos" />
<haxeflag name="-dce" value="std" />
</section>
<!-- <haxelib name="tjson" /> -->
<haxelib name="yaml" />
<!-- [ Haxedefines ] -->
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
<haxedef name="FLX_NO_MOUSE" if="mobile" />
<haxedef name="FLX_NO_KEYBOARD" if="mobile" />
<haxedef name="FLX_NO_TOUCH" if="desktop" />
<!--Disable the Flixel core focus lost screen-->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" unless="ENABLE_FOCUS_LOST_SCREEN" />
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
<!--Turn off deprecation warnings-->
<haxedef name="no-deprecation-warnings" unless="SHOW_DEPRECATED" />
<!--Necessary for the crash handler later on-->
<section if="CRASH_HANDLER" >
<haxedef name="HXCPP_STACK_LINE" />
<haxedef name="HXCPP_CHECK_POINTER" />
</section>
</project>