hedgewars/uLandTemplates.pas
branchwebgl
changeset 9521 8054d9d775fd
parent 9127 e350500c4edb
parent 9243 d8f6a396d98e
child 9954 bf51bc7e2808
--- a/hedgewars/uLandTemplates.pas	Fri Oct 11 11:55:31 2013 +0200
+++ b/hedgewars/uLandTemplates.pas	Fri Oct 11 17:43:13 2013 +0200
@@ -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