176 lines
6.9 KiB
XML
176 lines
6.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<!-- _________________________ Application Settings _________________________ -->
|
|
|
|
<app title="Friday Night Funkin' - Codename Engine" file="CodenameEngine" packageName="com.yoshman29.codenameengine" package="com.yoshman29.codenameengine" main="funkin.system.Main" version="0.1.0" company="yoshman29" />
|
|
|
|
<!--Switch Export with Unique ApplicationID and Icon-->
|
|
<set name="APP_ID" value="0x0100f6c013bbc000" />
|
|
|
|
<!-- DO NOT REMOVE!! ALLOWS ME TO DO REGIONS LIKE IN C# AND KEEP CODE ORGANIZED. REMOVING IT WOULD BREAK THE ENGINE -->
|
|
<haxedef name="REGION" />
|
|
|
|
<!--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="Preloader" resizable="true" /> -->
|
|
<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" />
|
|
|
|
<!--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"/>
|
|
|
|
<!--Switch-specific-->
|
|
<window if="switch" orientation="landscape" fullscreen="true" width="0" height="0" resizable="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" />
|
|
<set name="BUILD_DIR" value="latest/" if="beta" />
|
|
|
|
<classpath name="source" />
|
|
|
|
<define name="PRELOAD_ALL" unless="web" />
|
|
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL"/>
|
|
|
|
<library name="assets" preload="true" if="PRELOAD_ALL"/>
|
|
<library name="assets" preload="false" if="NO_PRELOAD_ALL" />
|
|
|
|
<assets path="assets/" rename="assets" exclude="*.ogg" if="web"/>
|
|
<assets path="assets/" rename="assets" exclude="*.mp3" unless="web"/>
|
|
|
|
<assets path='example_mods' rename='mods' embed='false'/>
|
|
<assets path='art/readme.txt' rename='do NOT readme.txt' />
|
|
|
|
<assets path="CHANGELOG.md" rename='changelog.txt'/>
|
|
|
|
<!-- ______________________________ Haxedefines _____________________________ -->
|
|
|
|
<!--Enable the Flixel core recording system-->
|
|
<!--<haxedef name="FLX_RECORD" />-->
|
|
|
|
<!--Disable the right and middle mouse buttons-->
|
|
<!-- <haxedef name="FLX_NO_MOUSE_ADVANCED" /> -->
|
|
|
|
<!--Disable the native cursor API on Flash-->
|
|
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
|
|
|
|
<!--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" /> -->
|
|
<!--<haxedef name="FLX_NO_GAMEPAD" />-->
|
|
|
|
<!--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" />
|
|
|
|
<!--Enable this for Nape release builds for a serious peformance improvement-->
|
|
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
|
|
|
|
<!-- _________________________________ Custom _______________________________ -->
|
|
|
|
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
|
|
<icon path="art/iconOG.png" />
|
|
<icon path="art/icon16.png" size='16'/>
|
|
<icon path="art/icon32.png" size='32'/>
|
|
<icon path="art/icon64.png" size='64'/>
|
|
|
|
|
|
<!-- _________________________________ Engine Settings _______________________________ -->
|
|
|
|
<!-- Comment this out to disable multiple windows for editors !-->
|
|
<define name="ALLOW_MULTITASKING" />
|
|
|
|
<!-- Comment this out to disable updates !-->
|
|
<define name="UPDATE_CHECKING" unless="web || hl || neko"/>
|
|
|
|
<!-- Comment this out to disable Discord RPC !-->
|
|
<define name="DISCORD_RPC" unless="web || hl || neko"/>
|
|
|
|
<!-- Comment this out to disable GitHub API integration !-->
|
|
<define name="GITHUB_API" unless="web || hl"/>
|
|
|
|
<!-- Comment this off to prevent additional classes from being compiled.
|
|
Reduces compilation time at the cost of limited HScript flexibility. !-->
|
|
<define name="COMPILE_ALL_CLASSES" />
|
|
|
|
<!-- Comment this out to disable titlescreen.xml !-->
|
|
<haxedef name="TITLESCREEN_XML" />
|
|
|
|
<!-- Comment this out to disable mods folder !-->
|
|
<haxedef name="MOD_SUPPORT" unless="web"/>
|
|
|
|
<!-- Comment this out to disable global scripts !-->
|
|
<haxedef name="GLOBAL_SCRIPT" />
|
|
|
|
<!-- Comment this out to disable softcoded states and state scripting !-->
|
|
<haxedef name="SOFTCODED_STATES" />
|
|
|
|
<!-- Comment this out to disable usage of source assets when using lime test windows !-->
|
|
<haxedef name="USE_SOURCE_ASSETS" />
|
|
|
|
<!-- Comment this out to use the default OpenFL assets system for the assets/ folder. !-->
|
|
<haxedef name="USE_ADAPTED_ASSETS" />
|
|
|
|
<!-- Comment this out to disable video cutscene support, in case of compilation errors. !-->
|
|
<define name="VIDEO_CUTSCENES" unless="web || linux || hl" />
|
|
|
|
|
|
<haxedef name="VIDEO_CUTSCENES" if="VIDEO_CUTSCENES" />
|
|
<haxedef name="UPDATE_CHECKING" if="UPDATE_CHECKING" />
|
|
<haxedef name="DISCORD_RPC" if="DISCORD_RPC" />
|
|
<haxeflag name="--macro" value="funkin.macros.StdDeprecationsRemover.init()" />
|
|
<!-- _______________________________ Libraries ______________________________ -->
|
|
|
|
|
|
<haxelib name="hxCodec" if="VIDEO_CUTSCENES" />
|
|
<haxelib name="away3d" />
|
|
|
|
<haxelib name="flixel-yc29" rename="flixel" />
|
|
<haxedev set='webgl' />
|
|
|
|
<haxelib name="hscript-improved" />
|
|
<haxelib name="linc_discord-rpc" if="DISCORD_RPC"/>
|
|
|
|
<haxelib name="markdown" />
|
|
|
|
<!-- <haxelib name="hxcpp-debug-server" if="desktop"/> -->
|
|
|
|
<!-- _________________________________ HScript classes _______________________________ -->
|
|
|
|
|
|
|
|
<section if="COMPILE_ALL_CLASSES">
|
|
<haxeflag name="-dce" value="no" />
|
|
<haxeflag name="--macro" value="funkin.macros.ScriptsMacro.addAdditionalClasses()" />
|
|
</section>
|
|
<haxeflag name="--macro" value="exclude('funkin.updating')" unless="UPDATE_CHECKING"/>
|
|
<haxeflag name="--macro" value="exclude('funkin.multitasking')" unless="ALLOW_MULTITASKING"/>
|
|
|
|
<!-- MACROS & DOCUMENTATION !-->
|
|
<haxeflag name="--macro" value="funkin.macros.BuildCounterMacro.getBuildNumber()" />
|
|
|
|
<!-- <haxedef name="SKIP_TO_PLAYSTATE" if="debug" /> -->
|
|
<haxedef name="HXCPP_CHECK_POINTER" if="release" />
|
|
<haxedef name="HXCPP_STACK_LINE" if="release" />
|
|
<haxedef name="HXCPP_DEBUG_LINK" if="release" />
|
|
<haxedef name="hscriptPos" /> <!-- for logging -->
|
|
</project>
|