allow 3d by default
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@
|
|||||||
<define name="SOFTCODED_CLASSES" />
|
<define name="SOFTCODED_CLASSES" />
|
||||||
|
|
||||||
<!-- Comment this out to disable support for Away3D Flixel Intergration (reduces compile times)-->
|
<!-- Comment this out to disable support for Away3D Flixel Intergration (reduces compile times)-->
|
||||||
<!-- <define name="THREE_D_SUPPORT" /> -->
|
<define name="THREE_D_SUPPORT" />
|
||||||
|
|
||||||
<!-- Comment this out to disable video cutscene support, in case of compilation errors. !-->
|
<!-- Comment this out to disable video cutscene support, in case of compilation errors. !-->
|
||||||
<define name="VIDEO_CUTSCENES" unless="web || linux || hl || mac" />
|
<define name="VIDEO_CUTSCENES" unless="web || linux || hl || mac" />
|
||||||
|
|||||||
@@ -561,12 +561,6 @@ class PlayState extends MusicBeatState
|
|||||||
// case "":
|
// case "":
|
||||||
// ADD YOUR HARDCODED SCRIPTS HERE!
|
// ADD YOUR HARDCODED SCRIPTS HERE!
|
||||||
default:
|
default:
|
||||||
function addScript(file:String) {
|
|
||||||
var ext = Path.extension(file).toLowerCase();
|
|
||||||
if (Script.scriptExtensions.contains(ext))
|
|
||||||
scripts.add(Script.create(file));
|
|
||||||
}
|
|
||||||
|
|
||||||
for(content in [Paths.getFolderContent('songs/${SONG.meta.name.toLowerCase()}/scripts', true, fromMods ? MODS : BOTH), Paths.getFolderContent('data/charts/', true, fromMods ? MODS : BOTH)])
|
for(content in [Paths.getFolderContent('songs/${SONG.meta.name.toLowerCase()}/scripts', true, fromMods ? MODS : BOTH), Paths.getFolderContent('data/charts/', true, fromMods ? MODS : BOTH)])
|
||||||
for(file in content) addScript(file);
|
for(file in content) addScript(file);
|
||||||
|
|
||||||
@@ -1594,6 +1588,12 @@ class PlayState extends MusicBeatState
|
|||||||
scripts.call("beatHit", [curBeat]);
|
scripts.call("beatHit", [curBeat]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function addScript(file:String) {
|
||||||
|
var ext = Path.extension(file).toLowerCase();
|
||||||
|
if (Script.scriptExtensions.contains(ext))
|
||||||
|
scripts.add(Script.create(file));
|
||||||
|
}
|
||||||
|
|
||||||
// GETTERS & SETTERS
|
// GETTERS & SETTERS
|
||||||
#if REGION
|
#if REGION
|
||||||
private inline function get_player():StrumLine
|
private inline function get_player():StrumLine
|
||||||
|
|||||||
Reference in New Issue
Block a user