From 6b595165bee9c90272c210aa093850bc64dd26a9 Mon Sep 17 00:00:00 2001
From: Cameron Taylor <cameron.taylor.ninja@gmail.com>
Date: Mon, 14 Jun 2021 19:36:56 -0400
Subject: [PATCH] lil files cleanup

---
 Project.xml                     |  3 ++
 source/ChartParser.hx           | 80 ---------------------------------
 source/animate/AnimTestStage.hx | 11 +++++
 3 files changed, 14 insertions(+), 80 deletions(-)
 delete mode 100644 source/ChartParser.hx
 create mode 100644 source/animate/AnimTestStage.hx

diff --git a/Project.xml b/Project.xml
index d5ee2d3a4..f03ec8fa0 100644
--- a/Project.xml
+++ b/Project.xml
@@ -205,5 +205,8 @@
 		<!-- pretends that the saved session Id was expired, forcing the reconnect prompt -->
 		<!-- <haxedef name="NG_FORCE_EXPIRED_SESSION" if="debug" /> -->
 	</section>
+
+	<!-- <prebuild haxe="trace('prebuilding');"/> -->
+	<!-- <postbuild haxe="art/Postbuild.hx"/> -->
 	
 </project>
diff --git a/source/ChartParser.hx b/source/ChartParser.hx
deleted file mode 100644
index 3884c0e54..000000000
--- a/source/ChartParser.hx
+++ /dev/null
@@ -1,80 +0,0 @@
-package;
-
-import flixel.util.FlxStringUtil;
-
-using StringTools;
-
-class ChartParser
-{
-	static public function parse(songName:String, section:Int):Array<Dynamic>
-	{
-		var IMG_WIDTH:Int = 8;
-		var regex:EReg = new EReg("[ \t]*((\r\n)|\r|\n)[ \t]*", "g");
-
-		var csvData = FlxStringUtil.imageToCSV(Paths.file('data/' + songName + '/' + songName + '_section' + section + '.png'));
-
-		var lines:Array<String> = regex.split(csvData);
-		var rows:Array<String> = lines.filter(function(line) return line != "");
-		csvData.replace("\n", ',');
-
-		var heightInTiles = rows.length;
-		var widthInTiles = 0;
-
-		var row:Int = 0;
-
-		// LMAOOOO STOLE ALL THIS FROM FLXBASETILEMAP LOLOL
-
-		var dopeArray:Array<Int> = [];
-		while (row < heightInTiles)
-		{
-			var rowString = rows[row];
-			if (rowString.endsWith(","))
-				rowString = rowString.substr(0, rowString.length - 1);
-			var columns = rowString.split(",");
-
-			if (columns.length == 0)
-			{
-				heightInTiles--;
-				continue;
-			}
-			if (widthInTiles == 0)
-			{
-				widthInTiles = columns.length;
-			}
-
-			var column = 0;
-			var pushedInColumn:Bool = false;
-			while (column < widthInTiles)
-			{
-				// the current tile to be added:
-				var columnString = columns[column];
-				var curTile = Std.parseInt(columnString);
-
-				if (curTile == null)
-					throw 'String in row $row, column $column is not a valid integer: "$columnString"';
-
-				if (curTile == 1)
-				{
-					if (column < 4)
-						dopeArray.push(column + 1);
-					else
-					{
-						var tempCol = (column + 1) * -1;
-						tempCol += 4;
-						dopeArray.push(tempCol);
-					}
-
-					pushedInColumn = true;
-				}
-
-				column++;
-			}
-
-			if (!pushedInColumn)
-				dopeArray.push(0);
-
-			row++;
-		}
-		return dopeArray;
-	}
-}
diff --git a/source/animate/AnimTestStage.hx b/source/animate/AnimTestStage.hx
new file mode 100644
index 000000000..04e09011e
--- /dev/null
+++ b/source/animate/AnimTestStage.hx
@@ -0,0 +1,11 @@
+package animate;
+
+import flixel.FlxState;
+
+class AnimTestStage extends FlxState
+{
+	override function create()
+	{
+		super.create();
+	}
+}