potential hashlink + neko support

This commit is contained in:
Yoshman29
2022-12-26 16:31:39 +01:00
parent c27de7a01d
commit 6d00ab0b5b
13 changed files with 133 additions and 35 deletions
+15 -6
View File
@@ -99,7 +99,17 @@
<define name="ALLOW_MULTITASKING" />
<!-- Comment this out to disable updates !-->
<define name="UPDATE_CHECKING" />
<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" />
@@ -120,11 +130,12 @@
<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" />
<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 ______________________________ -->
@@ -136,7 +147,7 @@
<haxedev set='webgl' />
<haxelib name="hscript-improved" />
<haxelib name="linc_discord-rpc" if="desktop"/>
<haxelib name="linc_discord-rpc" if="DISCORD_RPC"/>
<haxelib name="markdown" />
@@ -144,9 +155,7 @@
<!-- _________________________________ HScript classes _______________________________ -->
<!-- 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" />
<section if="COMPILE_ALL_CLASSES">
<haxeflag name="-dce" value="no" />