Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Defines!
Browse files Browse the repository at this point in the history
  • Loading branch information
GuineaPigUuhh committed Feb 15, 2024
1 parent adaafc1 commit 2065ac7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
44 changes: 23 additions & 21 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
<!--Switch-specific-->
<window if="switch" orientation="landscape" fullscreen="true" width="0" height="0" resizable="true" />

<!-- __________________________ CustomDefines _________________________ -->

<define name="MODS_ALLOWED" if="desktop" />
<define name="VIDEOS_ALLOWED" if="desktop || android" />

<haxedef name="CAN_OPEN_LINKS" unless="switch"/>
<haxedef name="CAN_CHEAT" if="switch debug"/>

<!-- _____________________________ Path Settings ____________________________ -->

<set name="BUILD_DIR" value="export/debug" if="debug" />
Expand All @@ -44,32 +52,31 @@

<assets path="assets/engine"/>
<assets path="assets/funkin"/>
<section if="MODS_ALLOWED">
<assets path="mods" embed="false" />
</section>

<classpath name="source" />



<!-- _______________________________ Libraries ______________________________ -->

<!-- Flixel -->
<haxelib name="flixel" />
<haxedev set='webgl' />

<haxelib name="flixel-ui" />
<haxelib name="flixel-addons" />

<!-- Null Engine Libraries -->
<haxelib name="hscript" />
<haxelib name="hxCodec" if="desktop || android" />
<haxelib name="flxanimate"/>
<haxelib name="polymod" if="desktop"/>
<haxelib name="flixel-ui" />
<haxelib name="faxe" if='switch'/>
<haxelib name="hxcpp-debug-server" if="desktop debug"/>
<haxelib name="polymod" if="MODS_ALLOWED"/>
<haxelib name="hxCodec" if="VIDEOS_ALLOWED" />

<!-- Debug -->
<haxelib name="hxcpp-debug-server" if="desktop debug"/>

<!-- <haxelib name="hxcpp-debug-server" if="desktop"/> -->

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

<!--In case you want to use nape with flixel-->
<!--<haxelib name="nape-haxe4" />-->
<!-- Others -->
<haxedev set='webgl' />
<haxelib name="faxe" if='switch'/>

<!-- ______________________________ Haxedefines _____________________________ -->

Expand Down Expand Up @@ -105,14 +112,9 @@

<!-- _________________________________ Custom _______________________________ -->

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

<icon path="assets/engine/flixel-icons/16.png" size='16'/>
<icon path="assets/engine/flixel-icons/32.png" size='32'/>
<icon path="assets/engine/flixel-icons/64.png" size='64'/>
<icon path="assets/engine/flixel-icons/OG.png" />

<haxedef name="CAN_OPEN_LINKS" unless="switch"/>
<haxedef name="CAN_CHEAT" if="switch debug"/>

</project>
1 change: 1 addition & 0 deletions mods/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nothing Lmao
2 changes: 2 additions & 0 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ class PlayState extends MusicBeatState

function playVideo(name:String)
{
#if VIDEOS_ALLOWED
inCutscene = true;

var video:FlxVideo = new FlxVideo();
Expand All @@ -890,6 +891,7 @@ class PlayState extends MusicBeatState
startAndEnd();
return;
}
#end
}

function chooseEnding()
Expand Down

0 comments on commit 2065ac7

Please sign in to comment.