Skip to content

Commit 59b0c2d

Browse files
authored
nape integration support...
1 parent d0254ee commit 59b0c2d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

project.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@
139139
<!-- Comment this out to disable support for Away3D Flixel Intergration (reduces compile times)-->
140140
<define name="THREE_D_SUPPORT" />
141141

142+
<!-- Comment this out to disable support for Nape integration (flixel.addons.nape) (reduces compile times) !-->
143+
<define name="NAPE_ENABLED" />
144+
142145
<!-- Comment this out to disable video cutscene support, in case of compilation errors. !-->
143146
<section if="cpp">
144147
<define name="VIDEO_CUTSCENES" if="desktop || android" />
@@ -178,6 +181,7 @@
178181
<haxelib name="away3d" if="THREE_D_SUPPORT" />
179182
<haxelib name="format" />
180183
<haxelib name="flxanimate" />
184+
<haxelib name="nape-haxe4" if="NAPE_ENABLED"/>
181185

182186
<haxelib name="hscript-improved" />
183187
<haxelib name="hxdiscord_rpc" if="DISCORD_RPC"/>

source/funkin/backend/system/macros/Macros.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Macros {
2121
// OTHER LIBRARIES & STUFF
2222
#if THREE_D_SUPPORT "away3d", "flx3d", #end
2323
#if VIDEO_CUTSCENES "hxvlc.flixel", "hxvlc.openfl", #end
24+
#if NAPE_ENABLED "nape", "flixel.addons.nape", #end
2425
// BASE HAXE
2526
"DateTools", "EReg", "Lambda", "StringBuf", "haxe.crypto", "haxe.display", "haxe.exceptions", "haxe.extern", "scripting"
2627
])

0 commit comments

Comments
 (0)