Skip to content

Commit

Permalink
Update Project.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Jun 19, 2024
1 parent 4784dcd commit e292089
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,22 @@
<!-- _____________________________ ASTRO ENGINE CUSTOMIZATION ____________________________ -->

<define name="MODS_ALLOWED" if="desktop" />

<!-- Enables Lua Support -->
<define name="LUA_ALLOWED" if="desktop" />

<!-- Enables Support For Discord Client Integration -->
<define name="DISCORD_ALLOWED" if="desktop"/>

<!-- Enables Achievements -->
<define name="ACHIEVEMENTS_ALLOWED" />

<!-- Preload Assets -->
<define name="PRELOAD_ALL" unless="web" />
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL"/>

<!-- Enables a terminal log prompt on debug builds -->
<define name="DEBUG_SERVER_ALLOWED" if="debug"/>
<define name="DEBUG_SERVER_ALLOWED" if="debug desktop"/>

<!-- Remove "officialBuild" to use videos on source mod -->
<define name="VIDEOS_ALLOWED" if="(windows || linux || android) officialBuild" unless="32bits"/>
Expand Down Expand Up @@ -85,8 +91,6 @@
<assets path="assets/preload" rename="assets" exclude="*.ogg" if="web"/>
<assets path="assets/preload" rename="assets" exclude="*.mp3" unless="web"/>

<!-- <define name="PRELOAD_ALL" /> -->

<library name="videos" preload="true" />

<section if="PRELOAD_ALL">
Expand Down Expand Up @@ -151,10 +155,11 @@
<define name="hscriptPos" />
<haxelib name="hscript" />

<haxelib name="faxe" if='switch'/>

<haxelib name="linc_luajit" if="LUA_ALLOWED"/>
<haxelib name="hxCodec" if="VIDEOS_ALLOWED"/>
<haxelib name="hxdiscord_rpc" if="DISCORD_ALLOWED"/>
<haxelib name="faxe" if='switch'/>
<haxelib name="hxcpp-debug-server" if="DEBUG_SERVER_ALLOWED"/>

<!-- ______________________________ Haxedefines _____________________________ -->
Expand All @@ -177,4 +182,5 @@
<!-- Crash Handler -->
<haxedef name="HXCPP_CHECK_POINTER" if="CRASH_HANDLER" />
<haxedef name="HXCPP_STACK_LINE" if="CRASH_HANDLER" />

</project>

0 comments on commit e292089

Please sign in to comment.