pushing cause imma try smth really cool

This commit is contained in:
Yoshman29
2022-10-18 22:43:20 +02:00
parent 616212e986
commit e1c0b71548
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -1 +1 @@
533
534
+1 -3
View File
@@ -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;
}
+1 -1
View File
@@ -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);
+4
View File
@@ -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();
}
}
+1 -2
View File
@@ -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.
+3 -3
View File
@@ -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 != "")
{