allow 3d by default

This commit is contained in:
lunarcleint
2023-06-23 22:40:51 -07:00
parent 3a8a6bc15d
commit 6578f6c309
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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" />
+6 -6
View File
@@ -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