mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-25 03:19:24 +00:00
polymod compiler checks instead of cpp
This commit is contained in:
parent
20c32acda1
commit
696835c90b
|
@ -127,7 +127,7 @@
|
||||||
<haxelib name="flixel-ui" />
|
<haxelib name="flixel-ui" />
|
||||||
<!--haxelib name="newgrounds" unless="switch"/> -->
|
<!--haxelib name="newgrounds" unless="switch"/> -->
|
||||||
<haxelib name="faxe" if='switch'/>
|
<haxelib name="faxe" if='switch'/>
|
||||||
<haxelib name="polymod"/>
|
<haxelib name="polymod" if="cpp"/>
|
||||||
|
|
||||||
<!-- <haxelib name="colyseus"/> -->
|
<!-- <haxelib name="colyseus"/> -->
|
||||||
<!-- <haxelib name="colyseus-websocket" /> -->
|
<!-- <haxelib name="colyseus-websocket" /> -->
|
||||||
|
|
|
@ -3,10 +3,8 @@ package ui;
|
||||||
import flixel.group.FlxGroup.FlxTypedGroup;
|
import flixel.group.FlxGroup.FlxTypedGroup;
|
||||||
import flixel.text.FlxText;
|
import flixel.text.FlxText;
|
||||||
import flixel.util.FlxColor;
|
import flixel.util.FlxColor;
|
||||||
#if cpp
|
|
||||||
import polymod.Polymod;
|
import polymod.Polymod;
|
||||||
import sys.FileSystem;
|
import sys.FileSystem;
|
||||||
#end
|
|
||||||
|
|
||||||
class ModMenu extends ui.OptionsState.Page
|
class ModMenu extends ui.OptionsState.Page
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@ class OptionsState extends MusicBeatState
|
||||||
var controls = addPage(Controls, new ControlsMenu());
|
var controls = addPage(Controls, new ControlsMenu());
|
||||||
// var colors = addPage(Colors, new ColorsMenu());
|
// var colors = addPage(Colors, new ColorsMenu());
|
||||||
|
|
||||||
#if cpp
|
#if polymod
|
||||||
var mods = addPage(Mods, new ModMenu());
|
var mods = addPage(Mods, new ModMenu());
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ class OptionsState extends MusicBeatState
|
||||||
// colors.onExit.add(switchPage.bind(Options));
|
// colors.onExit.add(switchPage.bind(Options));
|
||||||
preferences.onExit.add(switchPage.bind(Options));
|
preferences.onExit.add(switchPage.bind(Options));
|
||||||
|
|
||||||
#if cpp
|
#if polymod
|
||||||
mods.onExit.add(switchPage.bind(Options));
|
mods.onExit.add(switchPage.bind(Options));
|
||||||
#end
|
#end
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ class OptionsMenu extends Page
|
||||||
createItem('preferences', function() switchPage(Preferences));
|
createItem('preferences', function() switchPage(Preferences));
|
||||||
createItem("controls", function() switchPage(Controls));
|
createItem("controls", function() switchPage(Controls));
|
||||||
// createItem('colors', function() switchPage(Colors));
|
// createItem('colors', function() switchPage(Colors));
|
||||||
#if cpp
|
#if polymod
|
||||||
createItem('mods', function() switchPage(Mods));
|
createItem('mods', function() switchPage(Mods));
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue