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