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 15, 2024
1 parent a527965 commit 446afcb
Showing 1 changed file with 26 additions and 49 deletions.
75 changes: 26 additions & 49 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,28 @@

<define name="MODS_ALLOWED" if="desktop" />
<define name="LUA_ALLOWED" if="desktop" />
<define name="DISCORD_ALLOWED" if="desktop"/>
<define name="ACHIEVEMENTS_ALLOWED" />
<define name="DISCORD_ALLOWED" />
<define name="PRELOAD_ALL" unless="web" />
<define name="NO_PRELOAD_ALL" unless="PRELOAD_ALL"/>

<!-- to use videos -->
<section if="officialBuild">
<define name="VIDEOS_ALLOWED" if="windows || linux || android" unless="32bits"/>
<!-- IF YOU WANT TO USE VIDEOS ON YOUR SOURCE MOD, GET THIS LINE OUTSIDE OF THE SECTION -->
</section>
<!-- Remove "officialBuild" to use videos on source mod -->
<define name="VIDEOS_ALLOWED" if="(windows || linux || android) officialBuild" unless="32bits"/>

<!-- crash handler dumbass -->
<!-- Crash handler -->
<define name="CRASH_HANDLER" if="desktop release" />

<!-- classic, indent, pretty -->
<!-- Style of the logs | classic, indent, pretty -->
<define name="message.reporting" value="pretty"/>

<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
<section embed="true">
<icon path="art/icons/icon16.png" size='16'/>
<icon path="art/icons/icon32.png" size='32'/>
<icon path="art/icons/icon64.png" size='64'/>
<icon path="art/icons/iconOG.png"/>
</section>

<!-- _____________________________ Path Settings ____________________________ -->

<set name="BUILD_DIR" value="export/debug" if="debug" />
Expand All @@ -77,8 +84,6 @@
<define name="CHECK_FOR_UPDATES" if="desktop officialBuild"/>

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

<library name="videos" preload="true" />
<section if="PRELOAD_ALL">
Expand Down Expand Up @@ -125,30 +130,20 @@
<assets path='mods' embed='false'/>
</section>
<assets path='art/readme.txt' rename='do NOT readme.txt' />
<!-- <template path='mods' /> -->

<!-- assets path="CHANGELOG.md" rename='changelog.txt' -->

<!-- NOTE FOR FUTURE SELF SINCE FONTS ARE ALWAYS FUCKY
TO FIX ONE OF THEM, I CONVERTED IT TO OTF. DUNNO IF YOU NEED TO
THEN UHHH I USED THE NAME OF THE FONT WITH SETFORMAT() ON THE TEXT!!!
NOT USING A DIRECT THING TO THE ASSET!!!
-->
<!-- Font Paths -->
<assets path="assets/fonts" />

<!-- _______________________________ Libraries ______________________________ -->

<haxedev set='webgl' />

<haxelib name="lime" version="8.1.2"/>
<!--i have multiple versions :sob: -->
<haxelib name="openfl" version="9.3.3"/>

<haxelib name="flixel"/>
<haxelib name="flixel-ui" />
<haxelib name="flixel-addons"/>
<haxelib name="lime" version="8.1.1"/>
<haxelib name="openfl" version="9.3.2"/>
<haxelib name="flixel" version="5.5.0"/>

<!--In case you want to use the addons package-->
<haxelib name="flixel-addons" />
<haxelib name="flixel-addons"/>
<haxelib name="hscript" />
<define name="hscriptPos" />

Expand All @@ -157,10 +152,6 @@
<haxelib name="linc_luajit" if="LUA_ALLOWED"/>
<haxelib name="hxCodec" if="VIDEOS_ALLOWED"/>
<haxelib name="faxe" if='switch'/>
<!--<haxelib name="polymod"/> -->

<prebuild haxe="source/Prebuild.hx"/>

<haxelib name="hxdiscord_rpc" if="desktop"/>

<!-- Disable Discord Thread -->
Expand All @@ -169,19 +160,14 @@
<!-- Enables a terminal log prompt on debug builds -->
<haxelib name="hxcpp-debug-server" if="debug"/>

<!-- <haxelib name="markdown" /> -->
<!-- <haxelib name="HtmlParser" /> -->

<!--In case you want to use nape with flixel-->
<!--<haxelib name="nape-haxe4" />-->

<!-- ______________________________ Haxedefines _____________________________ -->

<!-- A Script That Runs Before Complie -->
<prebuild haxe="source/Prebuild.hx"/>

<!--Disable the Flixel core focus lost screen-->
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />

<!--Allow working memory greater than 1 Gig-->
<!--haxedef name="HXCPP_GC_BIG_BLOCKS"-->

<!-- Show debug traces for hxCodec -->
<haxedef name="HXC_DEBUG_TRACE" if="debug" />

Expand All @@ -191,16 +177,7 @@
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />

<!--Used for Izzy Engine's crash handler-->
<!-- Crash Handle -->
<haxedef name="HXCPP_CHECK_POINTER" if="CRASH_HANDLER" />
<haxedef name="HXCPP_STACK_LINE" if="CRASH_HANDLER" />

<!-- _________________________________ Custom _______________________________ -->

<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->

<icon path="art/icons/icon16.png" size='16' embed="true"/>
<icon path="art/icons/icon32.png" size='32' embed="true"/>
<icon path="art/icons/icon64.png" size='64' embed="true"/>
<icon path="art/icons/iconOG.png" embed="true"/>
</project>

0 comments on commit 446afcb

Please sign in to comment.