pushing cause imma try smth really cool
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
533
|
||||
534
|
||||
@@ -139,9 +139,7 @@ class ModsAssetLibrary extends AssetLibrary {
|
||||
private function __isCacheValid(cache:Map<String, Dynamic>, asset:String) {
|
||||
if (!editedTimes.exists(asset))
|
||||
return false;
|
||||
|
||||
|
||||
if (editedTimes[asset] == null) return true;
|
||||
if (editedTimes[asset] == null) return false;
|
||||
if (editedTimes[asset] < FileSystem.stat(getPath(asset)).mtime.getTime()) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ class Options
|
||||
}
|
||||
#end
|
||||
public static function load() {
|
||||
__save = new FlxSave();
|
||||
if (__save == null) __save = new FlxSave();
|
||||
__save.bind("options");
|
||||
for(field in Reflect.fields(__save.data)) {
|
||||
var obj = Reflect.field(__save.data, field);
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
package funkin.options;
|
||||
|
||||
import flixel.util.FlxColor;
|
||||
import flixel.FlxSprite;
|
||||
import flixel.FlxG;
|
||||
/**
|
||||
* Direct replica from Week 7 lol
|
||||
*/
|
||||
@@ -12,5 +15,6 @@ class OptionsScreen extends MusicBeatState {
|
||||
public override function create() {
|
||||
super.create();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -40,8 +40,7 @@ class Conductor
|
||||
@:dox(hide) public static var lastSongPos:Float;
|
||||
@:dox(hide) public static var offset:Float = 0;
|
||||
|
||||
@:dox(hide) public static var safeFrames:Int = 10;
|
||||
@:dox(hide) public static var safeZoneOffset:Float = (safeFrames / 60) * 1000; // is calculated in create(), is safeFrames in milliseconds
|
||||
@:dox(hide) public static var safeZoneOffset:Float = 175; // is calculated in create(), is safeFrames in milliseconds
|
||||
|
||||
/**
|
||||
* Array of all BPM changes that have been mapped.
|
||||
|
||||
@@ -89,7 +89,8 @@ class Alphabet extends FlxSpriteGroup
|
||||
var alphabetPath = Paths.xml("alphabet");
|
||||
if (alphabetPath != AlphaCharacter.__alphaPath) {
|
||||
refreshAlphabetXML(alphabetPath);
|
||||
} else {
|
||||
}
|
||||
#if MOD_SUPPORT else {
|
||||
var libThing = new LimeLibrarySymbol(alphabetPath);
|
||||
if (libThing.library is AssetLibrary) {
|
||||
var library = cast(libThing.library, AssetLibrary);
|
||||
@@ -98,7 +99,6 @@ class Alphabet extends FlxSpriteGroup
|
||||
@:privateAccess
|
||||
library = cast(library.__proxy, AssetLibrary);
|
||||
}
|
||||
#if MOD_SUPPORT
|
||||
if (library is ModsAssetLibrary) {
|
||||
var modLib = cast(library, ModsAssetLibrary);
|
||||
@:privateAccess
|
||||
@@ -106,9 +106,9 @@ class Alphabet extends FlxSpriteGroup
|
||||
refreshAlphabetXML(alphabetPath);
|
||||
}
|
||||
}
|
||||
#end
|
||||
}
|
||||
}
|
||||
#end
|
||||
|
||||
if (text != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user