--- 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