--- a/bin/ai/regression/regression.nut Tue Apr 15 15:34:02 2008 +0000
+++ b/bin/ai/regression/regression.nut Tue Apr 15 16:11:29 2008 +0000
@@ -803,6 +803,24 @@
print("");
print("--TileList--");
print(" Count(): " + list.Count());
+ list.AddRectangle(27631 - 256 * 1, 256 * 1 + 27631 + 2);
+ print(" Count(): " + list.Count());
+
+ list.Valuate(AITile.GetSlope);
+ print(" Slope(): done");
+ print(" Count(): " + list.Count());
+ print(" ListDump:");
+ for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
+ print(" " + i + " => " + list.GetValue(i));
+ print(" " + i + " => " + AITile.GetComplementSlope(list.GetValue(i)));
+ print(" " + i + " => " + AITile.IsSteepSlope(list.GetValue(i)));
+ print(" " + i + " => " + AITile.IsHalftileSlope(list.GetValue(i)));
+ }
+ list.Clear();
+
+ print("");
+ print("--TileList--");
+ print(" Count(): " + list.Count());
list.AddRectangle(41895 - 256 * 2, 256 * 2 + 41895 + 8);
print(" Count(): " + list.Count());