equal
deleted
inserted
replaced
283 2: SelectTemplate:= MediumTemplates[getrandom(Succ(High(MediumTemplates)))]; |
283 2: SelectTemplate:= MediumTemplates[getrandom(Succ(High(MediumTemplates)))]; |
284 3: SelectTemplate:= LargeTemplates[getrandom(Succ(High(LargeTemplates)))]; |
284 3: SelectTemplate:= LargeTemplates[getrandom(Succ(High(LargeTemplates)))]; |
285 4: SelectTemplate:= CavernTemplates[getrandom(Succ(High(CavernTemplates)))]; |
285 4: SelectTemplate:= CavernTemplates[getrandom(Succ(High(CavernTemplates)))]; |
286 5: SelectTemplate:= WackyTemplates[getrandom(Succ(High(WackyTemplates)))]; |
286 5: SelectTemplate:= WackyTemplates[getrandom(Succ(High(WackyTemplates)))]; |
287 // For lua only! |
287 // For lua only! |
288 6: SelectTemplate:= LuaTemplateNumber; |
288 6: SelectTemplate:= min(max(LuaTemplateNumber,0),Succ(High(EdgeTemplates))); |
289 end; |
289 end; |
290 |
290 |
291 WriteLnToConsole('Selected template #'+inttostr(SelectTemplate)+' using filter #'+inttostr(cTemplateFilter)); |
291 WriteLnToConsole('Selected template #'+inttostr(SelectTemplate)+' using filter #'+inttostr(cTemplateFilter)); |
292 end; |
292 end; |
293 |
293 |