changelog's
This commit is contained in:
@ -38,7 +38,7 @@ class MainMenuState extends MusicBeatState
|
||||
var newGaming2:FlxText;
|
||||
public static var firstStart:Bool = true;
|
||||
|
||||
public static var nightly:String = "pre-release2";
|
||||
public static var nightly:String = "";
|
||||
|
||||
public static var kadeEngineVer:String = "1.6.2" + nightly;
|
||||
public static var gameVer:String = "0.2.7.1";
|
||||
|
@ -30,6 +30,8 @@ class SMFile
|
||||
{
|
||||
_fileData = data;
|
||||
|
||||
|
||||
|
||||
// Gather header data
|
||||
var headerData = "";
|
||||
var inc = 0;
|
||||
@ -42,9 +44,16 @@ class SMFile
|
||||
|
||||
header = new SMHeader(headerData.split(';'));
|
||||
|
||||
if (!StringTools.contains(header.MUSIC,"ogg"))
|
||||
if (_fileData.toString().split("#NOTES").length > 2)
|
||||
{
|
||||
Application.current.window.alert("The music MUST be an OGG File.","SM File loading (" + header.TITLE + ")");
|
||||
Application.current.window.alert("The chart must only have 1 difficulty, this one has " + (_fileData.toString().split("#NOTES").length - 1),"SM File loading (" + header.TITLE + ")");
|
||||
isValid = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StringTools.contains(header.MUSIC.toLowerCase(),"ogg"))
|
||||
{
|
||||
Application.current.window.alert("The music MUST be an OGG File, make sure the sm file has the right music property.","SM File loading (" + header.TITLE + ")");
|
||||
isValid = false;
|
||||
return;
|
||||
}
|
||||
@ -66,6 +75,8 @@ class SMFile
|
||||
|
||||
measures = [];
|
||||
|
||||
|
||||
|
||||
var measure = "";
|
||||
|
||||
trace(data[inc - 1]);
|
||||
@ -284,7 +295,6 @@ class SMFile
|
||||
{
|
||||
song.eventObjects = header.changeEvents;
|
||||
}
|
||||
|
||||
/*var newSections = [];
|
||||
|
||||
for(s in 0...song.notes.length) // lets go ahead and make sure each note is actually in their own section haha
|
||||
|
Reference in New Issue
Block a user