hedgewars/uLandTemplates.pas
changeset 9243 d8f6a396d98e
parent 9080 9b42757d7e71
child 9521 8054d9d775fd
child 9998 736015b847e3
--- a/hedgewars/uLandTemplates.pas	Thu Jun 20 10:10:05 2013 +0400
+++ b/hedgewars/uLandTemplates.pas	Thu Jun 20 11:15:50 2013 +0400
@@ -2327,6 +2327,19 @@
 const CavernTemplates: array[0..5] of Longword = (36, 2, 3, 21, 29, 45);
 //const WackyTemplates: array[0..4] of Longword = (37, 38, 39, 40, 41);
 const WackyTemplates: array[0..4] of Longword = (37, 38, 41, 43, 44);
+const TemplateCounts: array[0..5] of Longword = (
+          0
+        , Succ(High(SmallTemplates))
+        , Succ(High(MediumTemplates))
+        , Succ(High(LargeTemplates))
+        , Succ(High(CavernTemplates))
+        , Succ(High(WackyTemplates))
+        );
+const GroupedTemplatesCount = Succ(High(SmallTemplates))
+        + Succ(High(MediumTemplates))
+        + Succ(High(LargeTemplates))
+        + Succ(High(CavernTemplates))
+        + Succ(High(WackyTemplates));
 
 implementation