Added 1-pixel transparent border around glyphs to avoid GL blending artifacts when...
[supertux.git] / tools / tilemanager / Parser.cs
index 163a75e..22d7701 100644 (file)
@@ -1,3 +1,4 @@
+//  $Id$
 using System;
 using System.IO;
 
@@ -63,6 +64,14 @@ public class Parser {
         return true;
     }
 
+    public static void ParseIntList(Parser parser, System.Collections.Generic.List<int> intList) {
+       int d = parser.Depth;
+       while(parser.Depth >= d) {
+               intList.Add(parser.IntegerValue);
+               parser.Parse();
+       }
+    }
+
     private LispType type;
     public LispType Type {
         get { return type; }