CDATA.CPP 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321
  1. //
  2. // Copyright 2020 Electronic Arts Inc.
  3. //
  4. // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
  5. // software: you can redistribute it and/or modify it under the terms of
  6. // the GNU General Public License as published by the Free Software Foundation,
  7. // either version 3 of the License, or (at your option) any later version.
  8. // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
  9. // in the hope that it will be useful, but with permitted additional restrictions
  10. // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
  11. // distributed with this program. You should have received a copy of the
  12. // GNU General Public License along with permitted additional restrictions
  13. // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
  14. /* $Header: /CounterStrike/CDATA.CPP 1 3/03/97 10:24a Joe_bostic $ */
  15. /***********************************************************************************************
  16. *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
  17. ***********************************************************************************************
  18. * *
  19. * Project Name : Command & Conquer *
  20. * *
  21. * File Name : CDATA.CPP *
  22. * *
  23. * Programmer : Joe L. Bostic *
  24. * *
  25. * Start Date : May 16, 1994 *
  26. * *
  27. * Last Update : July 6, 1996 [JLB] *
  28. * *
  29. *---------------------------------------------------------------------------------------------*
  30. * Functions: *
  31. * TemplateTypeClass::As_Reference -- Fetches a reference to the template specified. *
  32. * TemplateTypeClass::Create_And_Place -- Creates and places a template object on the map. *
  33. * TemplateTypeClass::Create_One_Of -- Creates an object of this template type. *
  34. * TemplateTypeClass::Display -- Displays a generic representation of template. *
  35. * TemplateTypeClass::From_Name -- Determine template from ASCII name. *
  36. * TemplateTypeClass::Init -- Loads graphic data for templates. *
  37. * TemplateTypeClass::Land_Type -- Determines land type from template and icon number. *
  38. * TemplateTypeClass::Occupy_List -- Determines occupation list. *
  39. * TemplateTypeClass::One_Time -- Performs one-time initialization *
  40. * TemplateTypeClass::Prep_For_Add -- Prepares to add template to scenario. *
  41. * TemplateTypeClass::TemplateTypeClass -- Constructor for template type objects. *
  42. * TemplateTypeClass::operator delete -- Deletes a template type object. *
  43. * TemplateTypeClass::operator new -- Allocates a template type from special heap. *
  44. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  45. #include "function.h"
  46. static TemplateTypeClass const Empty(
  47. TEMPLATE_CLEAR1,
  48. THEATERF_TEMPERATE|THEATERF_SNOW|THEATERF_INTERIOR,
  49. "CLEAR1",
  50. TXT_CLEAR
  51. );
  52. static TemplateTypeClass const Clear(
  53. TEMPLATE_CLEAR1,
  54. THEATERF_TEMPERATE|THEATERF_SNOW|THEATERF_INTERIOR,
  55. "CLEAR1",
  56. TXT_CLEAR
  57. );
  58. static TemplateTypeClass const Road01(
  59. TEMPLATE_ROAD01,
  60. THEATERF_TEMPERATE|THEATERF_SNOW,
  61. "D01",
  62. TXT_ROAD
  63. );
  64. static TemplateTypeClass const Road02(
  65. TEMPLATE_ROAD02,
  66. THEATERF_TEMPERATE|THEATERF_SNOW,
  67. "D02",
  68. TXT_ROAD
  69. );
  70. static TemplateTypeClass const Road03(
  71. TEMPLATE_ROAD03,
  72. THEATERF_TEMPERATE|THEATERF_SNOW,
  73. "D03",
  74. TXT_ROAD
  75. );
  76. static TemplateTypeClass const Road04(
  77. TEMPLATE_ROAD04,
  78. THEATERF_TEMPERATE|THEATERF_SNOW,
  79. "D04",
  80. TXT_ROAD
  81. );
  82. static TemplateTypeClass const Road05(
  83. TEMPLATE_ROAD05,
  84. THEATERF_TEMPERATE|THEATERF_SNOW,
  85. "D05",
  86. TXT_ROAD
  87. );
  88. static TemplateTypeClass const Road06(
  89. TEMPLATE_ROAD06,
  90. THEATERF_TEMPERATE|THEATERF_SNOW,
  91. "D06",
  92. TXT_ROAD
  93. );
  94. static TemplateTypeClass const Road07(
  95. TEMPLATE_ROAD07,
  96. THEATERF_TEMPERATE|THEATERF_SNOW,
  97. "D07",
  98. TXT_ROAD
  99. );
  100. static TemplateTypeClass const Road08(
  101. TEMPLATE_ROAD08,
  102. THEATERF_TEMPERATE|THEATERF_SNOW,
  103. "D08",
  104. TXT_ROAD
  105. );
  106. static TemplateTypeClass const Road09(
  107. TEMPLATE_ROAD09,
  108. THEATERF_TEMPERATE|THEATERF_SNOW,
  109. "D09",
  110. TXT_ROAD
  111. );
  112. static TemplateTypeClass const Road10(
  113. TEMPLATE_ROAD10,
  114. THEATERF_TEMPERATE|THEATERF_SNOW,
  115. "D10",
  116. TXT_ROAD
  117. );
  118. static TemplateTypeClass const Road11(
  119. TEMPLATE_ROAD11,
  120. THEATERF_TEMPERATE|THEATERF_SNOW,
  121. "D11",
  122. TXT_ROAD
  123. );
  124. static TemplateTypeClass const Road12(
  125. TEMPLATE_ROAD12,
  126. THEATERF_TEMPERATE|THEATERF_SNOW,
  127. "D12",
  128. TXT_ROAD
  129. );
  130. static TemplateTypeClass const Road13(
  131. TEMPLATE_ROAD13,
  132. THEATERF_TEMPERATE|THEATERF_SNOW,
  133. "D13",
  134. TXT_ROAD
  135. );
  136. static TemplateTypeClass const Road14(
  137. TEMPLATE_ROAD14,
  138. THEATERF_TEMPERATE|THEATERF_SNOW,
  139. "D14",
  140. TXT_ROAD
  141. );
  142. static TemplateTypeClass const Road15(
  143. TEMPLATE_ROAD15,
  144. THEATERF_TEMPERATE|THEATERF_SNOW,
  145. "D15",
  146. TXT_ROAD
  147. );
  148. static TemplateTypeClass const Road16(
  149. TEMPLATE_ROAD16,
  150. THEATERF_TEMPERATE|THEATERF_SNOW,
  151. "D16",
  152. TXT_ROAD
  153. );
  154. static TemplateTypeClass const Road17(
  155. TEMPLATE_ROAD17,
  156. THEATERF_TEMPERATE|THEATERF_SNOW,
  157. "D17",
  158. TXT_ROAD
  159. );
  160. static TemplateTypeClass const Road18(
  161. TEMPLATE_ROAD18,
  162. THEATERF_TEMPERATE|THEATERF_SNOW,
  163. "D18",
  164. TXT_ROAD
  165. );
  166. static TemplateTypeClass const Road19(
  167. TEMPLATE_ROAD19,
  168. THEATERF_TEMPERATE|THEATERF_SNOW,
  169. "D19",
  170. TXT_ROAD
  171. );
  172. static TemplateTypeClass const Road20(
  173. TEMPLATE_ROAD20,
  174. THEATERF_TEMPERATE|THEATERF_SNOW,
  175. "D20",
  176. TXT_ROAD
  177. );
  178. static TemplateTypeClass const Road21(
  179. TEMPLATE_ROAD21,
  180. THEATERF_TEMPERATE|THEATERF_SNOW,
  181. "D21",
  182. TXT_ROAD
  183. );
  184. static TemplateTypeClass const Road22(
  185. TEMPLATE_ROAD22,
  186. THEATERF_TEMPERATE|THEATERF_SNOW,
  187. "D22",
  188. TXT_ROAD
  189. );
  190. static TemplateTypeClass const Road23(
  191. TEMPLATE_ROAD23,
  192. THEATERF_TEMPERATE|THEATERF_SNOW,
  193. "D23",
  194. TXT_ROAD
  195. );
  196. static TemplateTypeClass const Road24(
  197. TEMPLATE_ROAD24,
  198. THEATERF_TEMPERATE|THEATERF_SNOW,
  199. "D24",
  200. TXT_ROAD
  201. );
  202. static TemplateTypeClass const Road25(
  203. TEMPLATE_ROAD25,
  204. THEATERF_TEMPERATE|THEATERF_SNOW,
  205. "D25",
  206. TXT_ROAD
  207. );
  208. static TemplateTypeClass const Road26(
  209. TEMPLATE_ROAD26,
  210. THEATERF_TEMPERATE|THEATERF_SNOW,
  211. "D26",
  212. TXT_ROAD
  213. );
  214. static TemplateTypeClass const Road27(
  215. TEMPLATE_ROAD27,
  216. THEATERF_TEMPERATE|THEATERF_SNOW,
  217. "D27",
  218. TXT_ROAD
  219. );
  220. static TemplateTypeClass const Road28(
  221. TEMPLATE_ROAD28,
  222. THEATERF_TEMPERATE|THEATERF_SNOW,
  223. "D28",
  224. TXT_ROAD
  225. );
  226. static TemplateTypeClass const Road29(
  227. TEMPLATE_ROAD29,
  228. THEATERF_TEMPERATE|THEATERF_SNOW,
  229. "D29",
  230. TXT_ROAD
  231. );
  232. static TemplateTypeClass const Road30(
  233. TEMPLATE_ROAD30,
  234. THEATERF_TEMPERATE|THEATERF_SNOW,
  235. "D30",
  236. TXT_ROAD
  237. );
  238. static TemplateTypeClass const Road31(
  239. TEMPLATE_ROAD31,
  240. THEATERF_TEMPERATE|THEATERF_SNOW,
  241. "D31",
  242. TXT_ROAD
  243. );
  244. static TemplateTypeClass const Road32(
  245. TEMPLATE_ROAD32,
  246. THEATERF_TEMPERATE|THEATERF_SNOW,
  247. "D32",
  248. TXT_ROAD
  249. );
  250. static TemplateTypeClass const Road33(
  251. TEMPLATE_ROAD33,
  252. THEATERF_TEMPERATE|THEATERF_SNOW,
  253. "D33",
  254. TXT_ROAD
  255. );
  256. static TemplateTypeClass const Road34(
  257. TEMPLATE_ROAD34,
  258. THEATERF_TEMPERATE|THEATERF_SNOW,
  259. "D34",
  260. TXT_ROAD
  261. );
  262. static TemplateTypeClass const Road35(
  263. TEMPLATE_ROAD35,
  264. THEATERF_TEMPERATE|THEATERF_SNOW,
  265. "D35",
  266. TXT_ROAD
  267. );
  268. static TemplateTypeClass const Road36(
  269. TEMPLATE_ROAD36,
  270. THEATERF_TEMPERATE|THEATERF_SNOW,
  271. "D36",
  272. TXT_ROAD
  273. );
  274. static TemplateTypeClass const Road37(
  275. TEMPLATE_ROAD37,
  276. THEATERF_TEMPERATE|THEATERF_SNOW,
  277. "D37",
  278. TXT_ROAD
  279. );
  280. static TemplateTypeClass const Road38(
  281. TEMPLATE_ROAD38,
  282. THEATERF_TEMPERATE|THEATERF_SNOW,
  283. "D38",
  284. TXT_ROAD
  285. );
  286. static TemplateTypeClass const Road39(
  287. TEMPLATE_ROAD39,
  288. THEATERF_TEMPERATE|THEATERF_SNOW,
  289. "D39",
  290. TXT_ROAD
  291. );
  292. static TemplateTypeClass const Road40(
  293. TEMPLATE_ROAD40,
  294. THEATERF_TEMPERATE|THEATERF_SNOW,
  295. "D40",
  296. TXT_ROAD
  297. );
  298. static TemplateTypeClass const Road41(
  299. TEMPLATE_ROAD41,
  300. THEATERF_TEMPERATE|THEATERF_SNOW,
  301. "D41",
  302. TXT_ROAD
  303. );
  304. static TemplateTypeClass const Road42(
  305. TEMPLATE_ROAD42,
  306. THEATERF_TEMPERATE|THEATERF_SNOW,
  307. "D42",
  308. TXT_ROAD
  309. );
  310. static TemplateTypeClass const Road43(
  311. TEMPLATE_ROAD43,
  312. THEATERF_TEMPERATE|THEATERF_SNOW,
  313. "D43",
  314. TXT_ROAD
  315. );
  316. static TemplateTypeClass const Road44(
  317. TEMPLATE_ROAD44,
  318. THEATERF_TEMPERATE|THEATERF_SNOW,
  319. "D44",
  320. TXT_ROAD
  321. );
  322. static TemplateTypeClass const Road45(
  323. TEMPLATE_ROAD45,
  324. THEATERF_TEMPERATE|THEATERF_SNOW,
  325. "D45",
  326. TXT_ROAD
  327. );
  328. static TemplateTypeClass const Water(
  329. TEMPLATE_WATER,
  330. THEATERF_TEMPERATE|THEATERF_SNOW,
  331. "W1",
  332. TXT_WATER
  333. );
  334. static TemplateTypeClass const Water2(
  335. TEMPLATE_WATER2,
  336. THEATERF_TEMPERATE|THEATERF_SNOW,
  337. "W2",
  338. TXT_WATER
  339. );
  340. static TemplateTypeClass const Shore01(
  341. TEMPLATE_SHORE01,
  342. THEATERF_TEMPERATE|THEATERF_SNOW,
  343. "SH01",
  344. TXT_SHORE
  345. );
  346. static TemplateTypeClass const Shore02(
  347. TEMPLATE_SHORE02,
  348. THEATERF_TEMPERATE|THEATERF_SNOW,
  349. "SH02",
  350. TXT_SHORE
  351. );
  352. static TemplateTypeClass const Shore03(
  353. TEMPLATE_SHORE03,
  354. THEATERF_TEMPERATE|THEATERF_SNOW,
  355. "SH03",
  356. TXT_SHORE
  357. );
  358. static TemplateTypeClass const Shore04(
  359. TEMPLATE_SHORE04,
  360. THEATERF_TEMPERATE|THEATERF_SNOW,
  361. "SH04",
  362. TXT_SHORE
  363. );
  364. static TemplateTypeClass const Shore05(
  365. TEMPLATE_SHORE05,
  366. THEATERF_TEMPERATE|THEATERF_SNOW,
  367. "SH05",
  368. TXT_SHORE
  369. );
  370. static TemplateTypeClass const Shore06(
  371. TEMPLATE_SHORE06,
  372. THEATERF_TEMPERATE|THEATERF_SNOW,
  373. "SH06",
  374. TXT_SHORE
  375. );
  376. static TemplateTypeClass const Shore07(
  377. TEMPLATE_SHORE07,
  378. THEATERF_TEMPERATE|THEATERF_SNOW,
  379. "SH07",
  380. TXT_SHORE
  381. );
  382. static TemplateTypeClass const Shore08(
  383. TEMPLATE_SHORE08,
  384. THEATERF_TEMPERATE|THEATERF_SNOW,
  385. "SH08",
  386. TXT_SHORE
  387. );
  388. static TemplateTypeClass const Shore09(
  389. TEMPLATE_SHORE09,
  390. THEATERF_TEMPERATE|THEATERF_SNOW,
  391. "SH09",
  392. TXT_SHORE
  393. );
  394. static TemplateTypeClass const Shore10(
  395. TEMPLATE_SHORE10,
  396. THEATERF_TEMPERATE|THEATERF_SNOW,
  397. "SH10",
  398. TXT_SHORE
  399. );
  400. static TemplateTypeClass const Shore11(
  401. TEMPLATE_SHORE11,
  402. THEATERF_TEMPERATE|THEATERF_SNOW,
  403. "SH11",
  404. TXT_SHORE
  405. );
  406. static TemplateTypeClass const Shore12(
  407. TEMPLATE_SHORE12,
  408. THEATERF_TEMPERATE|THEATERF_SNOW,
  409. "SH12",
  410. TXT_SHORE
  411. );
  412. static TemplateTypeClass const Shore13(
  413. TEMPLATE_SHORE13,
  414. THEATERF_TEMPERATE|THEATERF_SNOW,
  415. "SH13",
  416. TXT_SHORE
  417. );
  418. static TemplateTypeClass const Shore14(
  419. TEMPLATE_SHORE14,
  420. THEATERF_TEMPERATE|THEATERF_SNOW,
  421. "SH14",
  422. TXT_SHORE
  423. );
  424. static TemplateTypeClass const Shore15(
  425. TEMPLATE_SHORE15,
  426. THEATERF_TEMPERATE|THEATERF_SNOW,
  427. "SH15",
  428. TXT_SHORE
  429. );
  430. static TemplateTypeClass const Shore16(
  431. TEMPLATE_SHORE16,
  432. THEATERF_TEMPERATE|THEATERF_SNOW,
  433. "SH16",
  434. TXT_SHORE
  435. );
  436. static TemplateTypeClass const Shore17(
  437. TEMPLATE_SHORE17,
  438. THEATERF_TEMPERATE|THEATERF_SNOW,
  439. "SH17",
  440. TXT_SHORE
  441. );
  442. static TemplateTypeClass const Shore18(
  443. TEMPLATE_SHORE18,
  444. THEATERF_TEMPERATE|THEATERF_SNOW,
  445. "SH18",
  446. TXT_SHORE
  447. );
  448. static TemplateTypeClass const Shore19(
  449. TEMPLATE_SHORE19,
  450. THEATERF_TEMPERATE|THEATERF_SNOW,
  451. "SH19",
  452. TXT_SHORE
  453. );
  454. static TemplateTypeClass const Shore20(
  455. TEMPLATE_SHORE20,
  456. THEATERF_TEMPERATE|THEATERF_SNOW,
  457. "SH20",
  458. TXT_SHORE
  459. );
  460. static TemplateTypeClass const Shore21(
  461. TEMPLATE_SHORE21,
  462. THEATERF_TEMPERATE|THEATERF_SNOW,
  463. "SH21",
  464. TXT_SHORE
  465. );
  466. static TemplateTypeClass const Shore22(
  467. TEMPLATE_SHORE22,
  468. THEATERF_TEMPERATE|THEATERF_SNOW,
  469. "SH22",
  470. TXT_SHORE
  471. );
  472. static TemplateTypeClass const Shore23(
  473. TEMPLATE_SHORE23,
  474. THEATERF_TEMPERATE|THEATERF_SNOW,
  475. "SH23",
  476. TXT_SHORE
  477. );
  478. static TemplateTypeClass const Shore24(
  479. TEMPLATE_SHORE24,
  480. THEATERF_TEMPERATE|THEATERF_SNOW,
  481. "SH24",
  482. TXT_SHORE
  483. );
  484. static TemplateTypeClass const Shore25(
  485. TEMPLATE_SHORE25,
  486. THEATERF_TEMPERATE|THEATERF_SNOW,
  487. "SH25",
  488. TXT_SHORE
  489. );
  490. static TemplateTypeClass const Shore26(
  491. TEMPLATE_SHORE26,
  492. THEATERF_TEMPERATE|THEATERF_SNOW,
  493. "SH26",
  494. TXT_SHORE
  495. );
  496. static TemplateTypeClass const Shore27(
  497. TEMPLATE_SHORE27,
  498. THEATERF_TEMPERATE|THEATERF_SNOW,
  499. "SH27",
  500. TXT_SHORE
  501. );
  502. static TemplateTypeClass const Shore28(
  503. TEMPLATE_SHORE28,
  504. THEATERF_TEMPERATE|THEATERF_SNOW,
  505. "SH28",
  506. TXT_SHORE
  507. );
  508. static TemplateTypeClass const Shore29(
  509. TEMPLATE_SHORE29,
  510. THEATERF_TEMPERATE|THEATERF_SNOW,
  511. "SH29",
  512. TXT_SHORE
  513. );
  514. static TemplateTypeClass const Shore30(
  515. TEMPLATE_SHORE30,
  516. THEATERF_TEMPERATE|THEATERF_SNOW,
  517. "SH30",
  518. TXT_SHORE
  519. );
  520. static TemplateTypeClass const Shore31(
  521. TEMPLATE_SHORE31,
  522. THEATERF_TEMPERATE|THEATERF_SNOW,
  523. "SH31",
  524. TXT_SHORE
  525. );
  526. static TemplateTypeClass const Shore32(
  527. TEMPLATE_SHORE32,
  528. THEATERF_TEMPERATE|THEATERF_SNOW,
  529. "SH32",
  530. TXT_SHORE
  531. );
  532. static TemplateTypeClass const Shore33(
  533. TEMPLATE_SHORE33,
  534. THEATERF_TEMPERATE|THEATERF_SNOW,
  535. "SH33",
  536. TXT_SHORE
  537. );
  538. static TemplateTypeClass const Shore34(
  539. TEMPLATE_SHORE34,
  540. THEATERF_TEMPERATE|THEATERF_SNOW,
  541. "SH34",
  542. TXT_SHORE
  543. );
  544. static TemplateTypeClass const Shore35(
  545. TEMPLATE_SHORE35,
  546. THEATERF_TEMPERATE|THEATERF_SNOW,
  547. "SH35",
  548. TXT_SHORE
  549. );
  550. static TemplateTypeClass const Shore36(
  551. TEMPLATE_SHORE36,
  552. THEATERF_TEMPERATE|THEATERF_SNOW,
  553. "SH36",
  554. TXT_SHORE
  555. );
  556. static TemplateTypeClass const Shore37(
  557. TEMPLATE_SHORE37,
  558. THEATERF_TEMPERATE|THEATERF_SNOW,
  559. "SH37",
  560. TXT_SHORE
  561. );
  562. static TemplateTypeClass const Shore38(
  563. TEMPLATE_SHORE38,
  564. THEATERF_TEMPERATE|THEATERF_SNOW,
  565. "SH38",
  566. TXT_SHORE
  567. );
  568. static TemplateTypeClass const Shore39(
  569. TEMPLATE_SHORE39,
  570. THEATERF_TEMPERATE|THEATERF_SNOW,
  571. "SH39",
  572. TXT_SHORE
  573. );
  574. static TemplateTypeClass const Shore40(
  575. TEMPLATE_SHORE40,
  576. THEATERF_TEMPERATE|THEATERF_SNOW,
  577. "SH40",
  578. TXT_SHORE
  579. );
  580. static TemplateTypeClass const Shore41(
  581. TEMPLATE_SHORE41,
  582. THEATERF_TEMPERATE|THEATERF_SNOW,
  583. "SH41",
  584. TXT_SHORE
  585. );
  586. static TemplateTypeClass const Shore42(
  587. TEMPLATE_SHORE42,
  588. THEATERF_TEMPERATE|THEATERF_SNOW,
  589. "SH42",
  590. TXT_SHORE
  591. );
  592. static TemplateTypeClass const Shore43(
  593. TEMPLATE_SHORE43,
  594. THEATERF_TEMPERATE|THEATERF_SNOW,
  595. "SH43",
  596. TXT_SHORE
  597. );
  598. static TemplateTypeClass const Shore44(
  599. TEMPLATE_SHORE44,
  600. THEATERF_TEMPERATE|THEATERF_SNOW,
  601. "SH44",
  602. TXT_SHORE
  603. );
  604. static TemplateTypeClass const Shore45(
  605. TEMPLATE_SHORE45,
  606. THEATERF_TEMPERATE|THEATERF_SNOW,
  607. "SH45",
  608. TXT_SHORE
  609. );
  610. static TemplateTypeClass const Shore46(
  611. TEMPLATE_SHORE46,
  612. THEATERF_TEMPERATE|THEATERF_SNOW,
  613. "SH46",
  614. TXT_SHORE
  615. );
  616. static TemplateTypeClass const Shore47(
  617. TEMPLATE_SHORE47,
  618. THEATERF_TEMPERATE|THEATERF_SNOW,
  619. "SH47",
  620. TXT_SHORE
  621. );
  622. static TemplateTypeClass const Shore48(
  623. TEMPLATE_SHORE48,
  624. THEATERF_TEMPERATE|THEATERF_SNOW,
  625. "SH48",
  626. TXT_SHORE
  627. );
  628. static TemplateTypeClass const Shore49(
  629. TEMPLATE_SHORE49,
  630. THEATERF_TEMPERATE|THEATERF_SNOW,
  631. "SH49",
  632. TXT_SHORE
  633. );
  634. static TemplateTypeClass const Shore50(
  635. TEMPLATE_SHORE50,
  636. THEATERF_TEMPERATE|THEATERF_SNOW,
  637. "SH50",
  638. TXT_SHORE
  639. );
  640. static TemplateTypeClass const Shore51(
  641. TEMPLATE_SHORE51,
  642. THEATERF_TEMPERATE|THEATERF_SNOW,
  643. "SH51",
  644. TXT_SHORE
  645. );
  646. static TemplateTypeClass const Shore52(
  647. TEMPLATE_SHORE52,
  648. THEATERF_TEMPERATE|THEATERF_SNOW,
  649. "SH52",
  650. TXT_SHORE
  651. );
  652. static TemplateTypeClass const Shore53(
  653. TEMPLATE_SHORE53,
  654. THEATERF_TEMPERATE|THEATERF_SNOW,
  655. "SH53",
  656. TXT_SHORE
  657. );
  658. static TemplateTypeClass const Shore54(
  659. TEMPLATE_SHORE54,
  660. THEATERF_TEMPERATE|THEATERF_SNOW,
  661. "SH54",
  662. TXT_SHORE
  663. );
  664. static TemplateTypeClass const Shore55(
  665. TEMPLATE_SHORE55,
  666. THEATERF_TEMPERATE|THEATERF_SNOW,
  667. "SH55",
  668. TXT_SHORE
  669. );
  670. static TemplateTypeClass const Shore56(
  671. TEMPLATE_SHORE56,
  672. THEATERF_TEMPERATE|THEATERF_SNOW,
  673. "SH56",
  674. TXT_SHORE
  675. );
  676. static TemplateTypeClass const Boulder1(
  677. TEMPLATE_BOULDER1,
  678. THEATERF_TEMPERATE|THEATERF_SNOW,
  679. "B1",
  680. TXT_SLOPE
  681. );
  682. static TemplateTypeClass const Boulder2(
  683. TEMPLATE_BOULDER2,
  684. THEATERF_TEMPERATE|THEATERF_SNOW,
  685. "B2",
  686. TXT_SLOPE
  687. );
  688. static TemplateTypeClass const Boulder3(
  689. TEMPLATE_BOULDER3,
  690. THEATERF_TEMPERATE|THEATERF_SNOW,
  691. "B3",
  692. TXT_SLOPE
  693. );
  694. static TemplateTypeClass const Boulder4(
  695. TEMPLATE_BOULDER4,
  696. THEATERF_TEMPERATE|THEATERF_SNOW,
  697. "B4",
  698. TXT_SLOPE
  699. );
  700. static TemplateTypeClass const Boulder5(
  701. TEMPLATE_BOULDER5,
  702. THEATERF_TEMPERATE|THEATERF_SNOW,
  703. "B5",
  704. TXT_SLOPE
  705. );
  706. static TemplateTypeClass const Boulder6(
  707. TEMPLATE_BOULDER6,
  708. THEATERF_TEMPERATE|THEATERF_SNOW,
  709. "B6",
  710. TXT_SLOPE
  711. );
  712. static TemplateTypeClass const Slope01(
  713. TEMPLATE_SLOPE01,
  714. THEATERF_TEMPERATE|THEATERF_SNOW,
  715. "S01",
  716. TXT_SLOPE
  717. );
  718. static TemplateTypeClass const Slope02(
  719. TEMPLATE_SLOPE02,
  720. THEATERF_TEMPERATE|THEATERF_SNOW,
  721. "S02",
  722. TXT_SLOPE
  723. );
  724. static TemplateTypeClass const Slope03(
  725. TEMPLATE_SLOPE03,
  726. THEATERF_TEMPERATE|THEATERF_SNOW,
  727. "S03",
  728. TXT_SLOPE
  729. );
  730. static TemplateTypeClass const Slope04(
  731. TEMPLATE_SLOPE04,
  732. THEATERF_TEMPERATE|THEATERF_SNOW,
  733. "S04",
  734. TXT_SLOPE
  735. );
  736. static TemplateTypeClass const Slope05(
  737. TEMPLATE_SLOPE05,
  738. THEATERF_TEMPERATE|THEATERF_SNOW,
  739. "S05",
  740. TXT_SLOPE
  741. );
  742. static TemplateTypeClass const Slope06(
  743. TEMPLATE_SLOPE06,
  744. THEATERF_TEMPERATE|THEATERF_SNOW,
  745. "S06",
  746. TXT_SLOPE
  747. );
  748. static TemplateTypeClass const Slope07(
  749. TEMPLATE_SLOPE07,
  750. THEATERF_TEMPERATE|THEATERF_SNOW,
  751. "S07",
  752. TXT_SLOPE
  753. );
  754. static TemplateTypeClass const Slope08(
  755. TEMPLATE_SLOPE08,
  756. THEATERF_TEMPERATE|THEATERF_SNOW,
  757. "S08",
  758. TXT_SLOPE
  759. );
  760. static TemplateTypeClass const Slope09(
  761. TEMPLATE_SLOPE09,
  762. THEATERF_TEMPERATE|THEATERF_SNOW,
  763. "S09",
  764. TXT_SLOPE
  765. );
  766. static TemplateTypeClass const Slope10(
  767. TEMPLATE_SLOPE10,
  768. THEATERF_TEMPERATE|THEATERF_SNOW,
  769. "S10",
  770. TXT_SLOPE
  771. );
  772. static TemplateTypeClass const Slope11(
  773. TEMPLATE_SLOPE11,
  774. THEATERF_TEMPERATE|THEATERF_SNOW,
  775. "S11",
  776. TXT_SLOPE
  777. );
  778. static TemplateTypeClass const Slope12(
  779. TEMPLATE_SLOPE12,
  780. THEATERF_TEMPERATE|THEATERF_SNOW,
  781. "S12",
  782. TXT_SLOPE
  783. );
  784. static TemplateTypeClass const Slope13(
  785. TEMPLATE_SLOPE13,
  786. THEATERF_TEMPERATE|THEATERF_SNOW,
  787. "S13",
  788. TXT_SLOPE
  789. );
  790. static TemplateTypeClass const Slope14(
  791. TEMPLATE_SLOPE14,
  792. THEATERF_TEMPERATE|THEATERF_SNOW,
  793. "S14",
  794. TXT_SLOPE
  795. );
  796. static TemplateTypeClass const Slope15(
  797. TEMPLATE_SLOPE15,
  798. THEATERF_TEMPERATE|THEATERF_SNOW,
  799. "S15",
  800. TXT_SLOPE
  801. );
  802. static TemplateTypeClass const Slope16(
  803. TEMPLATE_SLOPE16,
  804. THEATERF_TEMPERATE|THEATERF_SNOW,
  805. "S16",
  806. TXT_SLOPE
  807. );
  808. static TemplateTypeClass const Slope17(
  809. TEMPLATE_SLOPE17,
  810. THEATERF_TEMPERATE|THEATERF_SNOW,
  811. "S17",
  812. TXT_SLOPE
  813. );
  814. static TemplateTypeClass const Slope18(
  815. TEMPLATE_SLOPE18,
  816. THEATERF_TEMPERATE|THEATERF_SNOW,
  817. "S18",
  818. TXT_SLOPE
  819. );
  820. static TemplateTypeClass const Slope19(
  821. TEMPLATE_SLOPE19,
  822. THEATERF_TEMPERATE|THEATERF_SNOW,
  823. "S19",
  824. TXT_SLOPE
  825. );
  826. static TemplateTypeClass const Slope20(
  827. TEMPLATE_SLOPE20,
  828. THEATERF_TEMPERATE|THEATERF_SNOW,
  829. "S20",
  830. TXT_SLOPE
  831. );
  832. static TemplateTypeClass const Slope21(
  833. TEMPLATE_SLOPE21,
  834. THEATERF_TEMPERATE|THEATERF_SNOW,
  835. "S21",
  836. TXT_SLOPE
  837. );
  838. static TemplateTypeClass const Slope22(
  839. TEMPLATE_SLOPE22,
  840. THEATERF_TEMPERATE|THEATERF_SNOW,
  841. "S22",
  842. TXT_SLOPE
  843. );
  844. static TemplateTypeClass const Slope23(
  845. TEMPLATE_SLOPE23,
  846. THEATERF_TEMPERATE|THEATERF_SNOW,
  847. "S23",
  848. TXT_SLOPE
  849. );
  850. static TemplateTypeClass const Slope24(
  851. TEMPLATE_SLOPE24,
  852. THEATERF_TEMPERATE|THEATERF_SNOW,
  853. "S24",
  854. TXT_SLOPE
  855. );
  856. static TemplateTypeClass const Slope25(
  857. TEMPLATE_SLOPE25,
  858. THEATERF_TEMPERATE|THEATERF_SNOW,
  859. "S25",
  860. TXT_SLOPE
  861. );
  862. static TemplateTypeClass const Slope26(
  863. TEMPLATE_SLOPE26,
  864. THEATERF_TEMPERATE|THEATERF_SNOW,
  865. "S26",
  866. TXT_SLOPE
  867. );
  868. static TemplateTypeClass const Slope27(
  869. TEMPLATE_SLOPE27,
  870. THEATERF_TEMPERATE|THEATERF_SNOW,
  871. "S27",
  872. TXT_SLOPE
  873. );
  874. static TemplateTypeClass const Slope28(
  875. TEMPLATE_SLOPE28,
  876. THEATERF_TEMPERATE|THEATERF_SNOW,
  877. "S28",
  878. TXT_SLOPE
  879. );
  880. static TemplateTypeClass const Slope29(
  881. TEMPLATE_SLOPE29,
  882. THEATERF_TEMPERATE|THEATERF_SNOW,
  883. "S29",
  884. TXT_SLOPE
  885. );
  886. static TemplateTypeClass const Slope30(
  887. TEMPLATE_SLOPE30,
  888. THEATERF_TEMPERATE|THEATERF_SNOW,
  889. "S30",
  890. TXT_SLOPE
  891. );
  892. static TemplateTypeClass const Slope31(
  893. TEMPLATE_SLOPE31,
  894. THEATERF_TEMPERATE|THEATERF_SNOW,
  895. "S31",
  896. TXT_SLOPE
  897. );
  898. static TemplateTypeClass const Slope32(
  899. TEMPLATE_SLOPE32,
  900. THEATERF_TEMPERATE|THEATERF_SNOW,
  901. "S32",
  902. TXT_SLOPE
  903. );
  904. static TemplateTypeClass const Slope33(
  905. TEMPLATE_SLOPE33,
  906. THEATERF_TEMPERATE|THEATERF_SNOW,
  907. "S33",
  908. TXT_SLOPE
  909. );
  910. static TemplateTypeClass const Slope34(
  911. TEMPLATE_SLOPE34,
  912. THEATERF_TEMPERATE|THEATERF_SNOW,
  913. "S34",
  914. TXT_SLOPE
  915. );
  916. static TemplateTypeClass const Slope35(
  917. TEMPLATE_SLOPE35,
  918. THEATERF_TEMPERATE|THEATERF_SNOW,
  919. "S35",
  920. TXT_SLOPE
  921. );
  922. static TemplateTypeClass const Slope36(
  923. TEMPLATE_SLOPE36,
  924. THEATERF_TEMPERATE|THEATERF_SNOW,
  925. "S36",
  926. TXT_SLOPE
  927. );
  928. static TemplateTypeClass const Slope37(
  929. TEMPLATE_SLOPE37,
  930. THEATERF_TEMPERATE|THEATERF_SNOW,
  931. "S37",
  932. TXT_SLOPE
  933. );
  934. static TemplateTypeClass const Slope38(
  935. TEMPLATE_SLOPE38,
  936. THEATERF_TEMPERATE|THEATERF_SNOW,
  937. "S38",
  938. TXT_SLOPE
  939. );
  940. static TemplateTypeClass const Patch01(
  941. TEMPLATE_PATCH01,
  942. THEATERF_TEMPERATE|THEATERF_SNOW,
  943. "P01",
  944. TXT_PATCH
  945. );
  946. static TemplateTypeClass const Patch02(
  947. TEMPLATE_PATCH02,
  948. THEATERF_TEMPERATE|THEATERF_SNOW,
  949. "P02",
  950. TXT_PATCH
  951. );
  952. static TemplateTypeClass const Patch03(
  953. TEMPLATE_PATCH03,
  954. THEATERF_TEMPERATE|THEATERF_SNOW,
  955. "P03",
  956. TXT_PATCH
  957. );
  958. static TemplateTypeClass const Patch04(
  959. TEMPLATE_PATCH04,
  960. THEATERF_TEMPERATE|THEATERF_SNOW,
  961. "P04",
  962. TXT_PATCH
  963. );
  964. static TemplateTypeClass const Patch07(
  965. TEMPLATE_PATCH07,
  966. THEATERF_TEMPERATE|THEATERF_SNOW,
  967. "P07",
  968. TXT_PATCH
  969. );
  970. static TemplateTypeClass const Patch08(
  971. TEMPLATE_PATCH08,
  972. THEATERF_TEMPERATE|THEATERF_SNOW,
  973. "P08",
  974. TXT_PATCH
  975. );
  976. static TemplateTypeClass const Patch13(
  977. TEMPLATE_PATCH13,
  978. THEATERF_TEMPERATE|THEATERF_SNOW,
  979. "P13",
  980. TXT_PATCH
  981. );
  982. static TemplateTypeClass const Patch14(
  983. TEMPLATE_PATCH14,
  984. THEATERF_TEMPERATE|THEATERF_SNOW,
  985. "P14",
  986. TXT_PATCH
  987. );
  988. static TemplateTypeClass const Patch15(
  989. TEMPLATE_PATCH15,
  990. THEATERF_TEMPERATE|THEATERF_SNOW,
  991. "P15",
  992. TXT_PATCH
  993. );
  994. static TemplateTypeClass const River01(
  995. TEMPLATE_RIVER01,
  996. THEATERF_TEMPERATE|THEATERF_SNOW,
  997. "RV01",
  998. TXT_RIVER
  999. );
  1000. static TemplateTypeClass const River02(
  1001. TEMPLATE_RIVER02,
  1002. THEATERF_TEMPERATE|THEATERF_SNOW,
  1003. "RV02",
  1004. TXT_RIVER
  1005. );
  1006. static TemplateTypeClass const River03(
  1007. TEMPLATE_RIVER03,
  1008. THEATERF_TEMPERATE|THEATERF_SNOW,
  1009. "RV03",
  1010. TXT_RIVER
  1011. );
  1012. static TemplateTypeClass const River04(
  1013. TEMPLATE_RIVER04,
  1014. THEATERF_TEMPERATE|THEATERF_SNOW,
  1015. "RV04",
  1016. TXT_RIVER
  1017. );
  1018. static TemplateTypeClass const River05(
  1019. TEMPLATE_RIVER05,
  1020. THEATERF_TEMPERATE|THEATERF_SNOW,
  1021. "RV05",
  1022. TXT_RIVER
  1023. );
  1024. static TemplateTypeClass const River06(
  1025. TEMPLATE_RIVER06,
  1026. THEATERF_TEMPERATE|THEATERF_SNOW,
  1027. "RV06",
  1028. TXT_RIVER
  1029. );
  1030. static TemplateTypeClass const River07(
  1031. TEMPLATE_RIVER07,
  1032. THEATERF_TEMPERATE|THEATERF_SNOW,
  1033. "RV07",
  1034. TXT_RIVER
  1035. );
  1036. static TemplateTypeClass const River08(
  1037. TEMPLATE_RIVER08,
  1038. THEATERF_TEMPERATE|THEATERF_SNOW,
  1039. "RV08",
  1040. TXT_RIVER
  1041. );
  1042. static TemplateTypeClass const River09(
  1043. TEMPLATE_RIVER09,
  1044. THEATERF_TEMPERATE|THEATERF_SNOW,
  1045. "RV09",
  1046. TXT_RIVER
  1047. );
  1048. static TemplateTypeClass const River10(
  1049. TEMPLATE_RIVER10,
  1050. THEATERF_TEMPERATE|THEATERF_SNOW,
  1051. "RV10",
  1052. TXT_RIVER
  1053. );
  1054. static TemplateTypeClass const River11(
  1055. TEMPLATE_RIVER11,
  1056. THEATERF_TEMPERATE|THEATERF_SNOW,
  1057. "RV11",
  1058. TXT_RIVER
  1059. );
  1060. static TemplateTypeClass const River12(
  1061. TEMPLATE_RIVER12,
  1062. THEATERF_TEMPERATE|THEATERF_SNOW,
  1063. "RV12",
  1064. TXT_RIVER
  1065. );
  1066. static TemplateTypeClass const River13(
  1067. TEMPLATE_RIVER13,
  1068. THEATERF_TEMPERATE|THEATERF_SNOW,
  1069. "RV13",
  1070. TXT_RIVER
  1071. );
  1072. static TemplateTypeClass const River14(
  1073. TEMPLATE_RIVER14,
  1074. THEATERF_TEMPERATE|THEATERF_SNOW,
  1075. "RV14",
  1076. TXT_RIVER
  1077. );
  1078. static TemplateTypeClass const River15(
  1079. TEMPLATE_RIVER15,
  1080. THEATERF_TEMPERATE|THEATERF_SNOW,
  1081. "RV15",
  1082. TXT_RIVER
  1083. );
  1084. static TemplateTypeClass const Ford1(
  1085. TEMPLATE_FORD1,
  1086. THEATERF_TEMPERATE|THEATERF_SNOW,
  1087. "FORD1",
  1088. TXT_RIVER
  1089. );
  1090. static TemplateTypeClass const Ford2(
  1091. TEMPLATE_FORD2,
  1092. THEATERF_TEMPERATE|THEATERF_SNOW,
  1093. "FORD2",
  1094. TXT_RIVER
  1095. );
  1096. static TemplateTypeClass const Falls1(
  1097. TEMPLATE_FALLS1,
  1098. THEATERF_TEMPERATE|THEATERF_SNOW,
  1099. "FALLS1",
  1100. TXT_RIVER
  1101. );
  1102. static TemplateTypeClass const Falls1a(
  1103. TEMPLATE_FALLS1A,
  1104. THEATERF_TEMPERATE|THEATERF_SNOW,
  1105. "FALLS1A",
  1106. TXT_RIVER
  1107. );
  1108. static TemplateTypeClass const Falls2(
  1109. TEMPLATE_FALLS2,
  1110. THEATERF_TEMPERATE|THEATERF_SNOW,
  1111. "FALLS2",
  1112. TXT_RIVER
  1113. );
  1114. static TemplateTypeClass const Falls2a(
  1115. TEMPLATE_FALLS2A,
  1116. THEATERF_TEMPERATE|THEATERF_SNOW,
  1117. "FALLS2A",
  1118. TXT_RIVER
  1119. );
  1120. static TemplateTypeClass const Bridge1x(
  1121. TEMPLATE_BRIDGE1X,
  1122. THEATERF_TEMPERATE|THEATERF_SNOW,
  1123. "BRIDGE1X",
  1124. TXT_BRIDGE
  1125. );
  1126. static TemplateTypeClass const Bridge1(
  1127. TEMPLATE_BRIDGE1,
  1128. THEATERF_TEMPERATE|THEATERF_SNOW,
  1129. "BRIDGE1",
  1130. TXT_BRIDGE
  1131. );
  1132. static TemplateTypeClass const Bridge1h(
  1133. TEMPLATE_BRIDGE1H,
  1134. THEATERF_TEMPERATE|THEATERF_SNOW,
  1135. "BRIDGE1H",
  1136. TXT_BRIDGE
  1137. );
  1138. static TemplateTypeClass const Bridge1d(
  1139. TEMPLATE_BRIDGE1D,
  1140. THEATERF_TEMPERATE|THEATERF_SNOW,
  1141. "BRIDGE1D",
  1142. TXT_BRIDGE
  1143. );
  1144. static TemplateTypeClass const Bridge2x(
  1145. TEMPLATE_BRIDGE2X,
  1146. THEATERF_TEMPERATE|THEATERF_SNOW,
  1147. "BRIDGE2X",
  1148. TXT_BRIDGE
  1149. );
  1150. static TemplateTypeClass const Bridge2(
  1151. TEMPLATE_BRIDGE2,
  1152. THEATERF_TEMPERATE|THEATERF_SNOW,
  1153. "BRIDGE2",
  1154. TXT_BRIDGE
  1155. );
  1156. static TemplateTypeClass const Bridge2h(
  1157. TEMPLATE_BRIDGE2H,
  1158. THEATERF_TEMPERATE|THEATERF_SNOW,
  1159. "BRIDGE2H",
  1160. TXT_BRIDGE
  1161. );
  1162. static TemplateTypeClass const Bridge2d(
  1163. TEMPLATE_BRIDGE2D,
  1164. THEATERF_TEMPERATE|THEATERF_SNOW,
  1165. "BRIDGE2D",
  1166. TXT_BRIDGE
  1167. );
  1168. static TemplateTypeClass const Bridge1ax(
  1169. TEMPLATE_BRIDGE_1AX,
  1170. THEATERF_TEMPERATE|THEATERF_SNOW,
  1171. "BR1X",
  1172. TXT_BRIDGE
  1173. );
  1174. static TemplateTypeClass const Bridge1a(
  1175. TEMPLATE_BRIDGE_1A,
  1176. THEATERF_TEMPERATE|THEATERF_SNOW,
  1177. "BR1A",
  1178. TXT_BRIDGE
  1179. );
  1180. static TemplateTypeClass const Bridge1b(
  1181. TEMPLATE_BRIDGE_1B,
  1182. THEATERF_TEMPERATE|THEATERF_SNOW,
  1183. "BR1B",
  1184. TXT_BRIDGE
  1185. );
  1186. static TemplateTypeClass const Bridge1c(
  1187. TEMPLATE_BRIDGE_1C,
  1188. THEATERF_TEMPERATE|THEATERF_SNOW,
  1189. "BR1C",
  1190. TXT_BRIDGE
  1191. );
  1192. static TemplateTypeClass const Bridge2ax(
  1193. TEMPLATE_BRIDGE_2AX,
  1194. THEATERF_TEMPERATE|THEATERF_SNOW,
  1195. "BR2X",
  1196. TXT_BRIDGE
  1197. );
  1198. static TemplateTypeClass const Bridge2a(
  1199. TEMPLATE_BRIDGE_2A,
  1200. THEATERF_TEMPERATE|THEATERF_SNOW,
  1201. "BR2A",
  1202. TXT_BRIDGE
  1203. );
  1204. static TemplateTypeClass const Bridge2b(
  1205. TEMPLATE_BRIDGE_2B,
  1206. THEATERF_TEMPERATE|THEATERF_SNOW,
  1207. "BR2B",
  1208. TXT_BRIDGE
  1209. );
  1210. static TemplateTypeClass const Bridge2c(
  1211. TEMPLATE_BRIDGE_2C,
  1212. THEATERF_TEMPERATE|THEATERF_SNOW,
  1213. "BR2C",
  1214. TXT_BRIDGE
  1215. );
  1216. static TemplateTypeClass const Bridge3a(
  1217. TEMPLATE_BRIDGE_3A,
  1218. THEATERF_TEMPERATE|THEATERF_SNOW,
  1219. "BR3A",
  1220. TXT_BRIDGE
  1221. );
  1222. static TemplateTypeClass const Bridge3b(
  1223. TEMPLATE_BRIDGE_3B,
  1224. THEATERF_TEMPERATE|THEATERF_SNOW,
  1225. "BR3B",
  1226. TXT_BRIDGE
  1227. );
  1228. static TemplateTypeClass const Bridge3c(
  1229. TEMPLATE_BRIDGE_3C,
  1230. THEATERF_TEMPERATE|THEATERF_SNOW,
  1231. "BR3C",
  1232. TXT_BRIDGE
  1233. );
  1234. static TemplateTypeClass const Bridge3d(
  1235. TEMPLATE_BRIDGE_3D,
  1236. THEATERF_TEMPERATE|THEATERF_SNOW,
  1237. "BR3D",
  1238. TXT_BRIDGE
  1239. );
  1240. static TemplateTypeClass const Bridge3e(
  1241. TEMPLATE_BRIDGE_3E,
  1242. THEATERF_TEMPERATE|THEATERF_SNOW,
  1243. "BR3E",
  1244. TXT_BRIDGE
  1245. );
  1246. static TemplateTypeClass const Bridge3f(
  1247. TEMPLATE_BRIDGE_3F,
  1248. THEATERF_TEMPERATE|THEATERF_SNOW,
  1249. "BR3F",
  1250. TXT_BRIDGE
  1251. );
  1252. static TemplateTypeClass const ShoreCliff01(
  1253. TEMPLATE_SHORECLIFF01,
  1254. THEATERF_TEMPERATE|THEATERF_SNOW,
  1255. "WC01",
  1256. TXT_SHORE
  1257. );
  1258. static TemplateTypeClass const ShoreCliff02(
  1259. TEMPLATE_SHORECLIFF02,
  1260. THEATERF_TEMPERATE|THEATERF_SNOW,
  1261. "WC02",
  1262. TXT_SHORE
  1263. );
  1264. static TemplateTypeClass const ShoreCliff03(
  1265. TEMPLATE_SHORECLIFF03,
  1266. THEATERF_TEMPERATE|THEATERF_SNOW,
  1267. "WC03",
  1268. TXT_SHORE
  1269. );
  1270. static TemplateTypeClass const ShoreCliff04(
  1271. TEMPLATE_SHORECLIFF04,
  1272. THEATERF_TEMPERATE|THEATERF_SNOW,
  1273. "WC04",
  1274. TXT_SHORE
  1275. );
  1276. static TemplateTypeClass const ShoreCliff05(
  1277. TEMPLATE_SHORECLIFF05,
  1278. THEATERF_TEMPERATE|THEATERF_SNOW,
  1279. "WC05",
  1280. TXT_SHORE
  1281. );
  1282. static TemplateTypeClass const ShoreCliff06(
  1283. TEMPLATE_SHORECLIFF06,
  1284. THEATERF_TEMPERATE|THEATERF_SNOW,
  1285. "WC06",
  1286. TXT_SHORE
  1287. );
  1288. static TemplateTypeClass const ShoreCliff07(
  1289. TEMPLATE_SHORECLIFF07,
  1290. THEATERF_TEMPERATE|THEATERF_SNOW,
  1291. "WC07",
  1292. TXT_SHORE
  1293. );
  1294. static TemplateTypeClass const ShoreCliff08(
  1295. TEMPLATE_SHORECLIFF08,
  1296. THEATERF_TEMPERATE|THEATERF_SNOW,
  1297. "WC08",
  1298. TXT_SHORE
  1299. );
  1300. static TemplateTypeClass const ShoreCliff09(
  1301. TEMPLATE_SHORECLIFF09,
  1302. THEATERF_TEMPERATE|THEATERF_SNOW,
  1303. "WC09",
  1304. TXT_SHORE
  1305. );
  1306. static TemplateTypeClass const ShoreCliff10(
  1307. TEMPLATE_SHORECLIFF10,
  1308. THEATERF_TEMPERATE|THEATERF_SNOW,
  1309. "WC10",
  1310. TXT_SHORE
  1311. );
  1312. static TemplateTypeClass const ShoreCliff11(
  1313. TEMPLATE_SHORECLIFF11,
  1314. THEATERF_TEMPERATE|THEATERF_SNOW,
  1315. "WC11",
  1316. TXT_SHORE
  1317. );
  1318. static TemplateTypeClass const ShoreCliff12(
  1319. TEMPLATE_SHORECLIFF12,
  1320. THEATERF_TEMPERATE|THEATERF_SNOW,
  1321. "WC12",
  1322. TXT_SHORE
  1323. );
  1324. static TemplateTypeClass const ShoreCliff13(
  1325. TEMPLATE_SHORECLIFF13,
  1326. THEATERF_TEMPERATE|THEATERF_SNOW,
  1327. "WC13",
  1328. TXT_SHORE
  1329. );
  1330. static TemplateTypeClass const ShoreCliff14(
  1331. TEMPLATE_SHORECLIFF14,
  1332. THEATERF_TEMPERATE|THEATERF_SNOW,
  1333. "WC14",
  1334. TXT_SHORE
  1335. );
  1336. static TemplateTypeClass const ShoreCliff15(
  1337. TEMPLATE_SHORECLIFF15,
  1338. THEATERF_TEMPERATE|THEATERF_SNOW,
  1339. "WC15",
  1340. TXT_SHORE
  1341. );
  1342. static TemplateTypeClass const ShoreCliff16(
  1343. TEMPLATE_SHORECLIFF16,
  1344. THEATERF_TEMPERATE|THEATERF_SNOW,
  1345. "WC16",
  1346. TXT_SHORE
  1347. );
  1348. static TemplateTypeClass const ShoreCliff17(
  1349. TEMPLATE_SHORECLIFF17,
  1350. THEATERF_TEMPERATE|THEATERF_SNOW,
  1351. "WC17",
  1352. TXT_SHORE
  1353. );
  1354. static TemplateTypeClass const ShoreCliff18(
  1355. TEMPLATE_SHORECLIFF18,
  1356. THEATERF_TEMPERATE|THEATERF_SNOW,
  1357. "WC18",
  1358. TXT_SHORE
  1359. );
  1360. static TemplateTypeClass const ShoreCliff19(
  1361. TEMPLATE_SHORECLIFF19,
  1362. THEATERF_TEMPERATE|THEATERF_SNOW,
  1363. "WC19",
  1364. TXT_SHORE
  1365. );
  1366. static TemplateTypeClass const ShoreCliff20(
  1367. TEMPLATE_SHORECLIFF20,
  1368. THEATERF_TEMPERATE|THEATERF_SNOW,
  1369. "WC20",
  1370. TXT_SHORE
  1371. );
  1372. static TemplateTypeClass const ShoreCliff21(
  1373. TEMPLATE_SHORECLIFF21,
  1374. THEATERF_TEMPERATE|THEATERF_SNOW,
  1375. "WC21",
  1376. TXT_SHORE
  1377. );
  1378. static TemplateTypeClass const ShoreCliff22(
  1379. TEMPLATE_SHORECLIFF22,
  1380. THEATERF_TEMPERATE|THEATERF_SNOW,
  1381. "WC22",
  1382. TXT_SHORE
  1383. );
  1384. static TemplateTypeClass const ShoreCliff23(
  1385. TEMPLATE_SHORECLIFF23,
  1386. THEATERF_TEMPERATE|THEATERF_SNOW,
  1387. "WC23",
  1388. TXT_SHORE
  1389. );
  1390. static TemplateTypeClass const ShoreCliff24(
  1391. TEMPLATE_SHORECLIFF24,
  1392. THEATERF_TEMPERATE|THEATERF_SNOW,
  1393. "WC24",
  1394. TXT_SHORE
  1395. );
  1396. static TemplateTypeClass const ShoreCliff25(
  1397. TEMPLATE_SHORECLIFF25,
  1398. THEATERF_TEMPERATE|THEATERF_SNOW,
  1399. "WC25",
  1400. TXT_SHORE
  1401. );
  1402. static TemplateTypeClass const ShoreCliff26(
  1403. TEMPLATE_SHORECLIFF26,
  1404. THEATERF_TEMPERATE|THEATERF_SNOW,
  1405. "WC26",
  1406. TXT_SHORE
  1407. );
  1408. static TemplateTypeClass const ShoreCliff27(
  1409. TEMPLATE_SHORECLIFF27,
  1410. THEATERF_TEMPERATE|THEATERF_SNOW,
  1411. "WC27",
  1412. TXT_SHORE
  1413. );
  1414. static TemplateTypeClass const ShoreCliff28(
  1415. TEMPLATE_SHORECLIFF28,
  1416. THEATERF_TEMPERATE|THEATERF_SNOW,
  1417. "WC28",
  1418. TXT_SHORE
  1419. );
  1420. static TemplateTypeClass const ShoreCliff29(
  1421. TEMPLATE_SHORECLIFF29,
  1422. THEATERF_TEMPERATE|THEATERF_SNOW,
  1423. "WC29",
  1424. TXT_SHORE
  1425. );
  1426. static TemplateTypeClass const ShoreCliff30(
  1427. TEMPLATE_SHORECLIFF30,
  1428. THEATERF_TEMPERATE|THEATERF_SNOW,
  1429. "WC30",
  1430. TXT_SHORE
  1431. );
  1432. static TemplateTypeClass const ShoreCliff31(
  1433. TEMPLATE_SHORECLIFF31,
  1434. THEATERF_TEMPERATE|THEATERF_SNOW,
  1435. "WC31",
  1436. TXT_SHORE
  1437. );
  1438. static TemplateTypeClass const ShoreCliff32(
  1439. TEMPLATE_SHORECLIFF32,
  1440. THEATERF_TEMPERATE|THEATERF_SNOW,
  1441. "WC32",
  1442. TXT_SHORE
  1443. );
  1444. static TemplateTypeClass const ShoreCliff33(
  1445. TEMPLATE_SHORECLIFF33,
  1446. THEATERF_TEMPERATE|THEATERF_SNOW,
  1447. "WC33",
  1448. TXT_SHORE
  1449. );
  1450. static TemplateTypeClass const ShoreCliff34(
  1451. TEMPLATE_SHORECLIFF34,
  1452. THEATERF_TEMPERATE|THEATERF_SNOW,
  1453. "WC34",
  1454. TXT_SHORE
  1455. );
  1456. static TemplateTypeClass const ShoreCliff35(
  1457. TEMPLATE_SHORECLIFF35,
  1458. THEATERF_TEMPERATE|THEATERF_SNOW,
  1459. "WC35",
  1460. TXT_SHORE
  1461. );
  1462. static TemplateTypeClass const ShoreCliff36(
  1463. TEMPLATE_SHORECLIFF36,
  1464. THEATERF_TEMPERATE|THEATERF_SNOW,
  1465. "WC36",
  1466. TXT_SHORE
  1467. );
  1468. static TemplateTypeClass const ShoreCliff37(
  1469. TEMPLATE_SHORECLIFF37,
  1470. THEATERF_TEMPERATE|THEATERF_SNOW,
  1471. "WC37",
  1472. TXT_SHORE
  1473. );
  1474. static TemplateTypeClass const ShoreCliff38(
  1475. TEMPLATE_SHORECLIFF38,
  1476. THEATERF_TEMPERATE|THEATERF_SNOW,
  1477. "WC38",
  1478. TXT_SHORE
  1479. );
  1480. static TemplateTypeClass const Rough01(
  1481. TEMPLATE_ROUGH01,
  1482. THEATERF_TEMPERATE|THEATERF_SNOW,
  1483. "RF01",
  1484. TXT_ROCK
  1485. );
  1486. static TemplateTypeClass const Rough02(
  1487. TEMPLATE_ROUGH02,
  1488. THEATERF_TEMPERATE|THEATERF_SNOW,
  1489. "RF02",
  1490. TXT_ROCK
  1491. );
  1492. static TemplateTypeClass const Rough03(
  1493. TEMPLATE_ROUGH03,
  1494. THEATERF_TEMPERATE|THEATERF_SNOW,
  1495. "RF03",
  1496. TXT_ROCK
  1497. );
  1498. static TemplateTypeClass const Rough04(
  1499. TEMPLATE_ROUGH04,
  1500. THEATERF_TEMPERATE|THEATERF_SNOW,
  1501. "RF04",
  1502. TXT_ROCK
  1503. );
  1504. static TemplateTypeClass const Rough05(
  1505. TEMPLATE_ROUGH05,
  1506. THEATERF_TEMPERATE|THEATERF_SNOW,
  1507. "RF05",
  1508. TXT_ROCK
  1509. );
  1510. static TemplateTypeClass const Rough06(
  1511. TEMPLATE_ROUGH06,
  1512. THEATERF_TEMPERATE|THEATERF_SNOW,
  1513. "RF06",
  1514. TXT_ROCK
  1515. );
  1516. static TemplateTypeClass const Rough07(
  1517. TEMPLATE_ROUGH07,
  1518. THEATERF_TEMPERATE|THEATERF_SNOW,
  1519. "RF07",
  1520. TXT_ROCK
  1521. );
  1522. static TemplateTypeClass const Rough08(
  1523. TEMPLATE_ROUGH08,
  1524. THEATERF_TEMPERATE|THEATERF_SNOW,
  1525. "RF08",
  1526. TXT_ROCK
  1527. );
  1528. static TemplateTypeClass const Rough09(
  1529. TEMPLATE_ROUGH09,
  1530. THEATERF_TEMPERATE|THEATERF_SNOW,
  1531. "RF09",
  1532. TXT_ROCK
  1533. );
  1534. static TemplateTypeClass const Rough10(
  1535. TEMPLATE_ROUGH10,
  1536. THEATERF_TEMPERATE|THEATERF_SNOW,
  1537. "RF10",
  1538. TXT_ROCK
  1539. );
  1540. static TemplateTypeClass const Rough11(
  1541. TEMPLATE_ROUGH11,
  1542. THEATERF_TEMPERATE|THEATERF_SNOW,
  1543. "RF11",
  1544. TXT_ROCK
  1545. );
  1546. static TemplateTypeClass const RiverCliff01(
  1547. TEMPLATE_RIVERCLIFF01,
  1548. THEATERF_TEMPERATE|THEATERF_SNOW,
  1549. "RC01",
  1550. TXT_RIVER
  1551. );
  1552. static TemplateTypeClass const RiverCliff02(
  1553. TEMPLATE_RIVERCLIFF02,
  1554. THEATERF_TEMPERATE|THEATERF_SNOW,
  1555. "RC02",
  1556. TXT_RIVER
  1557. );
  1558. static TemplateTypeClass const RiverCliff03(
  1559. TEMPLATE_RIVERCLIFF03,
  1560. THEATERF_TEMPERATE|THEATERF_SNOW,
  1561. "RC03",
  1562. TXT_RIVER
  1563. );
  1564. static TemplateTypeClass const RiverCliff04(
  1565. TEMPLATE_RIVERCLIFF04,
  1566. THEATERF_TEMPERATE|THEATERF_SNOW,
  1567. "RC04",
  1568. TXT_RIVER
  1569. );
  1570. static TemplateTypeClass const F01(
  1571. TEMPLATE_F01,
  1572. THEATERF_TEMPERATE|THEATERF_SNOW,
  1573. "F01",
  1574. TXT_RIVER
  1575. );
  1576. static TemplateTypeClass const F02(
  1577. TEMPLATE_F02,
  1578. THEATERF_TEMPERATE|THEATERF_SNOW,
  1579. "F02",
  1580. TXT_RIVER
  1581. );
  1582. static TemplateTypeClass const F03(
  1583. TEMPLATE_F03,
  1584. THEATERF_TEMPERATE|THEATERF_SNOW,
  1585. "F03",
  1586. TXT_RIVER
  1587. );
  1588. static TemplateTypeClass const F04(
  1589. TEMPLATE_F04,
  1590. THEATERF_TEMPERATE|THEATERF_SNOW,
  1591. "F04",
  1592. TXT_RIVER
  1593. );
  1594. static TemplateTypeClass const F05(
  1595. TEMPLATE_F05,
  1596. THEATERF_TEMPERATE|THEATERF_SNOW,
  1597. "F05",
  1598. TXT_RIVER
  1599. );
  1600. static TemplateTypeClass const F06(
  1601. TEMPLATE_F06,
  1602. THEATERF_TEMPERATE|THEATERF_SNOW,
  1603. "F06",
  1604. TXT_RIVER
  1605. );
  1606. static TemplateTypeClass const ARRO0001(
  1607. TEMPLATE_ARRO0001,
  1608. THEATERF_INTERIOR,
  1609. "ARRO0001",
  1610. TXT_INTERIOR
  1611. );
  1612. static TemplateTypeClass const ARRO0002(
  1613. TEMPLATE_ARRO0002,
  1614. THEATERF_INTERIOR,
  1615. "ARRO0002",
  1616. TXT_INTERIOR
  1617. );
  1618. static TemplateTypeClass const ARRO0003(
  1619. TEMPLATE_ARRO0003,
  1620. THEATERF_INTERIOR,
  1621. "ARRO0003",
  1622. TXT_INTERIOR
  1623. );
  1624. static TemplateTypeClass const ARRO0004(
  1625. TEMPLATE_ARRO0004,
  1626. THEATERF_INTERIOR,
  1627. "ARRO0004",
  1628. TXT_INTERIOR
  1629. );
  1630. static TemplateTypeClass const ARRO0005(
  1631. TEMPLATE_ARRO0005,
  1632. THEATERF_INTERIOR,
  1633. "ARRO0005",
  1634. TXT_INTERIOR
  1635. );
  1636. static TemplateTypeClass const ARRO0006(
  1637. TEMPLATE_ARRO0006,
  1638. THEATERF_INTERIOR,
  1639. "ARRO0006",
  1640. TXT_INTERIOR
  1641. );
  1642. static TemplateTypeClass const ARRO0007(
  1643. TEMPLATE_ARRO0007,
  1644. THEATERF_INTERIOR,
  1645. "ARRO0007",
  1646. TXT_INTERIOR
  1647. );
  1648. static TemplateTypeClass const ARRO0008(
  1649. TEMPLATE_ARRO0008,
  1650. THEATERF_INTERIOR,
  1651. "ARRO0008",
  1652. TXT_INTERIOR
  1653. );
  1654. static TemplateTypeClass const ARRO0009(
  1655. TEMPLATE_ARRO0009,
  1656. THEATERF_INTERIOR,
  1657. "ARRO0009",
  1658. TXT_INTERIOR
  1659. );
  1660. static TemplateTypeClass const ARRO0010(
  1661. TEMPLATE_ARRO0010,
  1662. THEATERF_INTERIOR,
  1663. "ARRO0010",
  1664. TXT_INTERIOR
  1665. );
  1666. static TemplateTypeClass const ARRO0011(
  1667. TEMPLATE_ARRO0011,
  1668. THEATERF_INTERIOR,
  1669. "ARRO0011",
  1670. TXT_INTERIOR
  1671. );
  1672. static TemplateTypeClass const ARRO0012(
  1673. TEMPLATE_ARRO0012,
  1674. THEATERF_INTERIOR,
  1675. "ARRO0012",
  1676. TXT_INTERIOR
  1677. );
  1678. static TemplateTypeClass const ARRO0013(
  1679. TEMPLATE_ARRO0013,
  1680. THEATERF_INTERIOR,
  1681. "ARRO0013",
  1682. TXT_INTERIOR
  1683. );
  1684. static TemplateTypeClass const ARRO0014(
  1685. TEMPLATE_ARRO0014,
  1686. THEATERF_INTERIOR,
  1687. "ARRO0014",
  1688. TXT_INTERIOR
  1689. );
  1690. static TemplateTypeClass const ARRO0015(
  1691. TEMPLATE_ARRO0015,
  1692. THEATERF_INTERIOR,
  1693. "ARRO0015",
  1694. TXT_INTERIOR
  1695. );
  1696. static TemplateTypeClass const FLOR0001(
  1697. TEMPLATE_FLOR0001,
  1698. THEATERF_INTERIOR,
  1699. "FLOR0001",
  1700. TXT_INTERIOR
  1701. );
  1702. static TemplateTypeClass const FLOR0002(
  1703. TEMPLATE_FLOR0002,
  1704. THEATERF_INTERIOR,
  1705. "FLOR0002",
  1706. TXT_INTERIOR
  1707. );
  1708. static TemplateTypeClass const FLOR0003(
  1709. TEMPLATE_FLOR0003,
  1710. THEATERF_INTERIOR,
  1711. "FLOR0003",
  1712. TXT_INTERIOR
  1713. );
  1714. static TemplateTypeClass const FLOR0004(
  1715. TEMPLATE_FLOR0004,
  1716. THEATERF_INTERIOR,
  1717. "FLOR0004",
  1718. TXT_INTERIOR
  1719. );
  1720. static TemplateTypeClass const FLOR0005(
  1721. TEMPLATE_FLOR0005,
  1722. THEATERF_INTERIOR,
  1723. "FLOR0005",
  1724. TXT_INTERIOR
  1725. );
  1726. static TemplateTypeClass const FLOR0006(
  1727. TEMPLATE_FLOR0006,
  1728. THEATERF_INTERIOR,
  1729. "FLOR0006",
  1730. TXT_INTERIOR
  1731. );
  1732. static TemplateTypeClass const FLOR0007(
  1733. TEMPLATE_FLOR0007,
  1734. THEATERF_INTERIOR,
  1735. "FLOR0007",
  1736. TXT_INTERIOR
  1737. );
  1738. static TemplateTypeClass const GFLR0001(
  1739. TEMPLATE_GFLR0001,
  1740. THEATERF_INTERIOR,
  1741. "GFLR0001",
  1742. TXT_INTERIOR
  1743. );
  1744. static TemplateTypeClass const GFLR0002(
  1745. TEMPLATE_GFLR0002,
  1746. THEATERF_INTERIOR,
  1747. "GFLR0002",
  1748. TXT_INTERIOR
  1749. );
  1750. static TemplateTypeClass const GFLR0003(
  1751. TEMPLATE_GFLR0003,
  1752. THEATERF_INTERIOR,
  1753. "GFLR0003",
  1754. TXT_INTERIOR
  1755. );
  1756. static TemplateTypeClass const GFLR0004(
  1757. TEMPLATE_GFLR0004,
  1758. THEATERF_INTERIOR,
  1759. "GFLR0004",
  1760. TXT_INTERIOR
  1761. );
  1762. static TemplateTypeClass const GFLR0005(
  1763. TEMPLATE_GFLR0005,
  1764. THEATERF_INTERIOR,
  1765. "GFLR0005",
  1766. TXT_INTERIOR
  1767. );
  1768. static TemplateTypeClass const GSTR0001(
  1769. TEMPLATE_GSTR0001,
  1770. THEATERF_INTERIOR,
  1771. "GSTR0001",
  1772. TXT_INTERIOR
  1773. );
  1774. static TemplateTypeClass const GSTR0002(
  1775. TEMPLATE_GSTR0002,
  1776. THEATERF_INTERIOR,
  1777. "GSTR0002",
  1778. TXT_INTERIOR
  1779. );
  1780. static TemplateTypeClass const GSTR0003(
  1781. TEMPLATE_GSTR0003,
  1782. THEATERF_INTERIOR,
  1783. "GSTR0003",
  1784. TXT_INTERIOR
  1785. );
  1786. static TemplateTypeClass const GSTR0004(
  1787. TEMPLATE_GSTR0004,
  1788. THEATERF_INTERIOR,
  1789. "GSTR0004",
  1790. TXT_INTERIOR
  1791. );
  1792. static TemplateTypeClass const GSTR0005(
  1793. TEMPLATE_GSTR0005,
  1794. THEATERF_INTERIOR,
  1795. "GSTR0005",
  1796. TXT_INTERIOR
  1797. );
  1798. static TemplateTypeClass const GSTR0006(
  1799. TEMPLATE_GSTR0006,
  1800. THEATERF_INTERIOR,
  1801. "GSTR0006",
  1802. TXT_INTERIOR
  1803. );
  1804. static TemplateTypeClass const GSTR0007(
  1805. TEMPLATE_GSTR0007,
  1806. THEATERF_INTERIOR,
  1807. "GSTR0007",
  1808. TXT_INTERIOR
  1809. );
  1810. static TemplateTypeClass const GSTR0008(
  1811. TEMPLATE_GSTR0008,
  1812. THEATERF_INTERIOR,
  1813. "GSTR0008",
  1814. TXT_INTERIOR
  1815. );
  1816. static TemplateTypeClass const GSTR0009(
  1817. TEMPLATE_GSTR0009,
  1818. THEATERF_INTERIOR,
  1819. "GSTR0009",
  1820. TXT_INTERIOR
  1821. );
  1822. static TemplateTypeClass const GSTR0010(
  1823. TEMPLATE_GSTR0010,
  1824. THEATERF_INTERIOR,
  1825. "GSTR0010",
  1826. TXT_INTERIOR
  1827. );
  1828. static TemplateTypeClass const GSTR0011(
  1829. TEMPLATE_GSTR0011,
  1830. THEATERF_INTERIOR,
  1831. "GSTR0011",
  1832. TXT_INTERIOR
  1833. );
  1834. static TemplateTypeClass const LWAL0001(
  1835. TEMPLATE_LWAL0001,
  1836. THEATERF_INTERIOR,
  1837. "LWAL0001",
  1838. TXT_INTERIOR
  1839. );
  1840. static TemplateTypeClass const LWAL0002(
  1841. TEMPLATE_LWAL0002,
  1842. THEATERF_INTERIOR,
  1843. "LWAL0002",
  1844. TXT_INTERIOR
  1845. );
  1846. static TemplateTypeClass const LWAL0003(
  1847. TEMPLATE_LWAL0003,
  1848. THEATERF_INTERIOR,
  1849. "LWAL0003",
  1850. TXT_INTERIOR
  1851. );
  1852. static TemplateTypeClass const LWAL0004(
  1853. TEMPLATE_LWAL0004,
  1854. THEATERF_INTERIOR,
  1855. "LWAL0004",
  1856. TXT_INTERIOR
  1857. );
  1858. static TemplateTypeClass const LWAL0005(
  1859. TEMPLATE_LWAL0005,
  1860. THEATERF_INTERIOR,
  1861. "LWAL0005",
  1862. TXT_INTERIOR
  1863. );
  1864. static TemplateTypeClass const LWAL0006(
  1865. TEMPLATE_LWAL0006,
  1866. THEATERF_INTERIOR,
  1867. "LWAL0006",
  1868. TXT_INTERIOR
  1869. );
  1870. static TemplateTypeClass const LWAL0007(
  1871. TEMPLATE_LWAL0007,
  1872. THEATERF_INTERIOR,
  1873. "LWAL0007",
  1874. TXT_INTERIOR
  1875. );
  1876. static TemplateTypeClass const LWAL0008(
  1877. TEMPLATE_LWAL0008,
  1878. THEATERF_INTERIOR,
  1879. "LWAL0008",
  1880. TXT_INTERIOR
  1881. );
  1882. static TemplateTypeClass const LWAL0009(
  1883. TEMPLATE_LWAL0009,
  1884. THEATERF_INTERIOR,
  1885. "LWAL0009",
  1886. TXT_INTERIOR
  1887. );
  1888. static TemplateTypeClass const LWAL0010(
  1889. TEMPLATE_LWAL0010,
  1890. THEATERF_INTERIOR,
  1891. "LWAL0010",
  1892. TXT_INTERIOR
  1893. );
  1894. static TemplateTypeClass const LWAL0011(
  1895. TEMPLATE_LWAL0011,
  1896. THEATERF_INTERIOR,
  1897. "LWAL0011",
  1898. TXT_INTERIOR
  1899. );
  1900. static TemplateTypeClass const LWAL0012(
  1901. TEMPLATE_LWAL0012,
  1902. THEATERF_INTERIOR,
  1903. "LWAL0012",
  1904. TXT_INTERIOR
  1905. );
  1906. static TemplateTypeClass const LWAL0013(
  1907. TEMPLATE_LWAL0013,
  1908. THEATERF_INTERIOR,
  1909. "LWAL0013",
  1910. TXT_INTERIOR
  1911. );
  1912. static TemplateTypeClass const LWAL0014(
  1913. TEMPLATE_LWAL0014,
  1914. THEATERF_INTERIOR,
  1915. "LWAL0014",
  1916. TXT_INTERIOR
  1917. );
  1918. static TemplateTypeClass const LWAL0015(
  1919. TEMPLATE_LWAL0015,
  1920. THEATERF_INTERIOR,
  1921. "LWAL0015",
  1922. TXT_INTERIOR
  1923. );
  1924. static TemplateTypeClass const LWAL0016(
  1925. TEMPLATE_LWAL0016,
  1926. THEATERF_INTERIOR,
  1927. "LWAL0016",
  1928. TXT_INTERIOR
  1929. );
  1930. static TemplateTypeClass const LWAL0017(
  1931. TEMPLATE_LWAL0017,
  1932. THEATERF_INTERIOR,
  1933. "LWAL0017",
  1934. TXT_INTERIOR
  1935. );
  1936. static TemplateTypeClass const LWAL0018(
  1937. TEMPLATE_LWAL0018,
  1938. THEATERF_INTERIOR,
  1939. "LWAL0018",
  1940. TXT_INTERIOR
  1941. );
  1942. static TemplateTypeClass const LWAL0019(
  1943. TEMPLATE_LWAL0019,
  1944. THEATERF_INTERIOR,
  1945. "LWAL0019",
  1946. TXT_INTERIOR
  1947. );
  1948. static TemplateTypeClass const LWAL0020(
  1949. TEMPLATE_LWAL0020,
  1950. THEATERF_INTERIOR,
  1951. "LWAL0020",
  1952. TXT_INTERIOR
  1953. );
  1954. static TemplateTypeClass const LWAL0021(
  1955. TEMPLATE_LWAL0021,
  1956. THEATERF_INTERIOR,
  1957. "LWAL0021",
  1958. TXT_INTERIOR
  1959. );
  1960. static TemplateTypeClass const LWAL0022(
  1961. TEMPLATE_LWAL0022,
  1962. THEATERF_INTERIOR,
  1963. "LWAL0022",
  1964. TXT_INTERIOR
  1965. );
  1966. static TemplateTypeClass const LWAL0023(
  1967. TEMPLATE_LWAL0023,
  1968. THEATERF_INTERIOR,
  1969. "LWAL0023",
  1970. TXT_INTERIOR
  1971. );
  1972. static TemplateTypeClass const LWAL0024(
  1973. TEMPLATE_LWAL0024,
  1974. THEATERF_INTERIOR,
  1975. "LWAL0024",
  1976. TXT_INTERIOR
  1977. );
  1978. static TemplateTypeClass const LWAL0025(
  1979. TEMPLATE_LWAL0025,
  1980. THEATERF_INTERIOR,
  1981. "LWAL0025",
  1982. TXT_INTERIOR
  1983. );
  1984. static TemplateTypeClass const LWAL0026(
  1985. TEMPLATE_LWAL0026,
  1986. THEATERF_INTERIOR,
  1987. "LWAL0026",
  1988. TXT_INTERIOR
  1989. );
  1990. static TemplateTypeClass const LWAL0027(
  1991. TEMPLATE_LWAL0027,
  1992. THEATERF_INTERIOR,
  1993. "LWAL0027",
  1994. TXT_INTERIOR
  1995. );
  1996. static TemplateTypeClass const STRP0001(
  1997. TEMPLATE_STRP0001,
  1998. THEATERF_INTERIOR,
  1999. "STRP0001",
  2000. TXT_INTERIOR
  2001. );
  2002. static TemplateTypeClass const STRP0002(
  2003. TEMPLATE_STRP0002,
  2004. THEATERF_INTERIOR,
  2005. "STRP0002",
  2006. TXT_INTERIOR
  2007. );
  2008. static TemplateTypeClass const STRP0003(
  2009. TEMPLATE_STRP0003,
  2010. THEATERF_INTERIOR,
  2011. "STRP0003",
  2012. TXT_INTERIOR
  2013. );
  2014. static TemplateTypeClass const STRP0004(
  2015. TEMPLATE_STRP0004,
  2016. THEATERF_INTERIOR,
  2017. "STRP0004",
  2018. TXT_INTERIOR
  2019. );
  2020. static TemplateTypeClass const STRP0005(
  2021. TEMPLATE_STRP0005,
  2022. THEATERF_INTERIOR,
  2023. "STRP0005",
  2024. TXT_INTERIOR
  2025. );
  2026. static TemplateTypeClass const STRP0006(
  2027. TEMPLATE_STRP0006,
  2028. THEATERF_INTERIOR,
  2029. "STRP0006",
  2030. TXT_INTERIOR
  2031. );
  2032. static TemplateTypeClass const STRP0007(
  2033. TEMPLATE_STRP0007,
  2034. THEATERF_INTERIOR,
  2035. "STRP0007",
  2036. TXT_INTERIOR
  2037. );
  2038. static TemplateTypeClass const STRP0008(
  2039. TEMPLATE_STRP0008,
  2040. THEATERF_INTERIOR,
  2041. "STRP0008",
  2042. TXT_INTERIOR
  2043. );
  2044. static TemplateTypeClass const STRP0009(
  2045. TEMPLATE_STRP0009,
  2046. THEATERF_INTERIOR,
  2047. "STRP0009",
  2048. TXT_INTERIOR
  2049. );
  2050. static TemplateTypeClass const STRP0010(
  2051. TEMPLATE_STRP0010,
  2052. THEATERF_INTERIOR,
  2053. "STRP0010",
  2054. TXT_INTERIOR
  2055. );
  2056. static TemplateTypeClass const STRP0011(
  2057. TEMPLATE_STRP0011,
  2058. THEATERF_INTERIOR,
  2059. "STRP0011",
  2060. TXT_INTERIOR
  2061. );
  2062. static TemplateTypeClass const WALL0001(
  2063. TEMPLATE_WALL0001,
  2064. THEATERF_INTERIOR,
  2065. "WALL0001",
  2066. TXT_INTERIOR
  2067. );
  2068. static TemplateTypeClass const WALL0002(
  2069. TEMPLATE_WALL0002,
  2070. THEATERF_INTERIOR,
  2071. "WALL0002",
  2072. TXT_INTERIOR
  2073. );
  2074. static TemplateTypeClass const WALL0003(
  2075. TEMPLATE_WALL0003,
  2076. THEATERF_INTERIOR,
  2077. "WALL0003",
  2078. TXT_INTERIOR
  2079. );
  2080. static TemplateTypeClass const WALL0004(
  2081. TEMPLATE_WALL0004,
  2082. THEATERF_INTERIOR,
  2083. "WALL0004",
  2084. TXT_INTERIOR
  2085. );
  2086. static TemplateTypeClass const WALL0005(
  2087. TEMPLATE_WALL0005,
  2088. THEATERF_INTERIOR,
  2089. "WALL0005",
  2090. TXT_INTERIOR
  2091. );
  2092. static TemplateTypeClass const WALL0006(
  2093. TEMPLATE_WALL0006,
  2094. THEATERF_INTERIOR,
  2095. "WALL0006",
  2096. TXT_INTERIOR
  2097. );
  2098. static TemplateTypeClass const WALL0007(
  2099. TEMPLATE_WALL0007,
  2100. THEATERF_INTERIOR,
  2101. "WALL0007",
  2102. TXT_INTERIOR
  2103. );
  2104. static TemplateTypeClass const WALL0008(
  2105. TEMPLATE_WALL0008,
  2106. THEATERF_INTERIOR,
  2107. "WALL0008",
  2108. TXT_INTERIOR
  2109. );
  2110. static TemplateTypeClass const WALL0009(
  2111. TEMPLATE_WALL0009,
  2112. THEATERF_INTERIOR,
  2113. "WALL0009",
  2114. TXT_INTERIOR
  2115. );
  2116. static TemplateTypeClass const WALL0010(
  2117. TEMPLATE_WALL0010,
  2118. THEATERF_INTERIOR,
  2119. "WALL0010",
  2120. TXT_INTERIOR
  2121. );
  2122. static TemplateTypeClass const WALL0011(
  2123. TEMPLATE_WALL0011,
  2124. THEATERF_INTERIOR,
  2125. "WALL0011",
  2126. TXT_INTERIOR
  2127. );
  2128. static TemplateTypeClass const WALL0012(
  2129. TEMPLATE_WALL0012,
  2130. THEATERF_INTERIOR,
  2131. "WALL0012",
  2132. TXT_INTERIOR
  2133. );
  2134. static TemplateTypeClass const WALL0013(
  2135. TEMPLATE_WALL0013,
  2136. THEATERF_INTERIOR,
  2137. "WALL0013",
  2138. TXT_INTERIOR
  2139. );
  2140. static TemplateTypeClass const WALL0014(
  2141. TEMPLATE_WALL0014,
  2142. THEATERF_INTERIOR,
  2143. "WALL0014",
  2144. TXT_INTERIOR
  2145. );
  2146. static TemplateTypeClass const WALL0015(
  2147. TEMPLATE_WALL0015,
  2148. THEATERF_INTERIOR,
  2149. "WALL0015",
  2150. TXT_INTERIOR
  2151. );
  2152. static TemplateTypeClass const WALL0016(
  2153. TEMPLATE_WALL0016,
  2154. THEATERF_INTERIOR,
  2155. "WALL0016",
  2156. TXT_INTERIOR
  2157. );
  2158. static TemplateTypeClass const WALL0017(
  2159. TEMPLATE_WALL0017,
  2160. THEATERF_INTERIOR,
  2161. "WALL0017",
  2162. TXT_INTERIOR
  2163. );
  2164. static TemplateTypeClass const WALL0018(
  2165. TEMPLATE_WALL0018,
  2166. THEATERF_INTERIOR,
  2167. "WALL0018",
  2168. TXT_INTERIOR
  2169. );
  2170. static TemplateTypeClass const WALL0019(
  2171. TEMPLATE_WALL0019,
  2172. THEATERF_INTERIOR,
  2173. "WALL0019",
  2174. TXT_INTERIOR
  2175. );
  2176. static TemplateTypeClass const WALL0020(
  2177. TEMPLATE_WALL0020,
  2178. THEATERF_INTERIOR,
  2179. "WALL0020",
  2180. TXT_INTERIOR
  2181. );
  2182. static TemplateTypeClass const WALL0021(
  2183. TEMPLATE_WALL0021,
  2184. THEATERF_INTERIOR,
  2185. "WALL0021",
  2186. TXT_INTERIOR
  2187. );
  2188. static TemplateTypeClass const WALL0022(
  2189. TEMPLATE_WALL0022,
  2190. THEATERF_INTERIOR,
  2191. "WALL0022",
  2192. TXT_INTERIOR
  2193. );
  2194. static TemplateTypeClass const WALL0023(
  2195. TEMPLATE_WALL0023,
  2196. THEATERF_INTERIOR,
  2197. "WALL0023",
  2198. TXT_INTERIOR
  2199. );
  2200. static TemplateTypeClass const WALL0024(
  2201. TEMPLATE_WALL0024,
  2202. THEATERF_INTERIOR,
  2203. "WALL0024",
  2204. TXT_INTERIOR
  2205. );
  2206. static TemplateTypeClass const WALL0025(
  2207. TEMPLATE_WALL0025,
  2208. THEATERF_INTERIOR,
  2209. "WALL0025",
  2210. TXT_INTERIOR
  2211. );
  2212. static TemplateTypeClass const WALL0026(
  2213. TEMPLATE_WALL0026,
  2214. THEATERF_INTERIOR,
  2215. "WALL0026",
  2216. TXT_INTERIOR
  2217. );
  2218. static TemplateTypeClass const WALL0027(
  2219. TEMPLATE_WALL0027,
  2220. THEATERF_INTERIOR,
  2221. "WALL0027",
  2222. TXT_INTERIOR
  2223. );
  2224. static TemplateTypeClass const WALL0028(
  2225. TEMPLATE_WALL0028,
  2226. THEATERF_INTERIOR,
  2227. "WALL0028",
  2228. TXT_INTERIOR
  2229. );
  2230. static TemplateTypeClass const WALL0029(
  2231. TEMPLATE_WALL0029,
  2232. THEATERF_INTERIOR,
  2233. "WALL0029",
  2234. TXT_INTERIOR
  2235. );
  2236. static TemplateTypeClass const WALL0030(
  2237. TEMPLATE_WALL0030,
  2238. THEATERF_INTERIOR,
  2239. "WALL0030",
  2240. TXT_INTERIOR
  2241. );
  2242. static TemplateTypeClass const WALL0031(
  2243. TEMPLATE_WALL0031,
  2244. THEATERF_INTERIOR,
  2245. "WALL0031",
  2246. TXT_INTERIOR
  2247. );
  2248. static TemplateTypeClass const WALL0032(
  2249. TEMPLATE_WALL0032,
  2250. THEATERF_INTERIOR,
  2251. "WALL0032",
  2252. TXT_INTERIOR
  2253. );
  2254. static TemplateTypeClass const WALL0033(
  2255. TEMPLATE_WALL0033,
  2256. THEATERF_INTERIOR,
  2257. "WALL0033",
  2258. TXT_INTERIOR
  2259. );
  2260. static TemplateTypeClass const WALL0034(
  2261. TEMPLATE_WALL0034,
  2262. THEATERF_INTERIOR,
  2263. "WALL0034",
  2264. TXT_INTERIOR
  2265. );
  2266. static TemplateTypeClass const WALL0035(
  2267. TEMPLATE_WALL0035,
  2268. THEATERF_INTERIOR,
  2269. "WALL0035",
  2270. TXT_INTERIOR
  2271. );
  2272. static TemplateTypeClass const WALL0036(
  2273. TEMPLATE_WALL0036,
  2274. THEATERF_INTERIOR,
  2275. "WALL0036",
  2276. TXT_INTERIOR
  2277. );
  2278. static TemplateTypeClass const WALL0037(
  2279. TEMPLATE_WALL0037,
  2280. THEATERF_INTERIOR,
  2281. "WALL0037",
  2282. TXT_INTERIOR
  2283. );
  2284. static TemplateTypeClass const WALL0038(
  2285. TEMPLATE_WALL0038,
  2286. THEATERF_INTERIOR,
  2287. "WALL0038",
  2288. TXT_INTERIOR
  2289. );
  2290. static TemplateTypeClass const WALL0039(
  2291. TEMPLATE_WALL0039,
  2292. THEATERF_INTERIOR,
  2293. "WALL0039",
  2294. TXT_INTERIOR
  2295. );
  2296. static TemplateTypeClass const WALL0040(
  2297. TEMPLATE_WALL0040,
  2298. THEATERF_INTERIOR,
  2299. "WALL0040",
  2300. TXT_INTERIOR
  2301. );
  2302. static TemplateTypeClass const WALL0041(
  2303. TEMPLATE_WALL0041,
  2304. THEATERF_INTERIOR,
  2305. "WALL0041",
  2306. TXT_INTERIOR
  2307. );
  2308. static TemplateTypeClass const WALL0042(
  2309. TEMPLATE_WALL0042,
  2310. THEATERF_INTERIOR,
  2311. "WALL0042",
  2312. TXT_INTERIOR
  2313. );
  2314. static TemplateTypeClass const WALL0043(
  2315. TEMPLATE_WALL0043,
  2316. THEATERF_INTERIOR,
  2317. "WALL0043",
  2318. TXT_INTERIOR
  2319. );
  2320. static TemplateTypeClass const WALL0044(
  2321. TEMPLATE_WALL0044,
  2322. THEATERF_INTERIOR,
  2323. "WALL0044",
  2324. TXT_INTERIOR
  2325. );
  2326. static TemplateTypeClass const WALL0045(
  2327. TEMPLATE_WALL0045,
  2328. THEATERF_INTERIOR,
  2329. "WALL0045",
  2330. TXT_INTERIOR
  2331. );
  2332. static TemplateTypeClass const WALL0046(
  2333. TEMPLATE_WALL0046,
  2334. THEATERF_INTERIOR,
  2335. "WALL0046",
  2336. TXT_INTERIOR
  2337. );
  2338. static TemplateTypeClass const WALL0047(
  2339. TEMPLATE_WALL0047,
  2340. THEATERF_INTERIOR,
  2341. "WALL0047",
  2342. TXT_INTERIOR
  2343. );
  2344. static TemplateTypeClass const WALL0048(
  2345. TEMPLATE_WALL0048,
  2346. THEATERF_INTERIOR,
  2347. "WALL0048",
  2348. TXT_INTERIOR
  2349. );
  2350. static TemplateTypeClass const WALL0049(
  2351. TEMPLATE_WALL0049,
  2352. THEATERF_INTERIOR,
  2353. "WALL0049",
  2354. TXT_INTERIOR
  2355. );
  2356. static TemplateTypeClass const Xtra0001(
  2357. TEMPLATE_XTRA0001,
  2358. THEATERF_INTERIOR,
  2359. "XTRA0001",
  2360. TXT_INTERIOR
  2361. );
  2362. static TemplateTypeClass const Xtra0002(
  2363. TEMPLATE_XTRA0002,
  2364. THEATERF_INTERIOR,
  2365. "XTRA0002",
  2366. TXT_INTERIOR
  2367. );
  2368. static TemplateTypeClass const Xtra0003(
  2369. TEMPLATE_XTRA0003,
  2370. THEATERF_INTERIOR,
  2371. "XTRA0003",
  2372. TXT_INTERIOR
  2373. );
  2374. static TemplateTypeClass const Xtra0004(
  2375. TEMPLATE_XTRA0004,
  2376. THEATERF_INTERIOR,
  2377. "XTRA0004",
  2378. TXT_INTERIOR
  2379. );
  2380. static TemplateTypeClass const Xtra0005(
  2381. TEMPLATE_XTRA0005,
  2382. THEATERF_INTERIOR,
  2383. "XTRA0005",
  2384. TXT_INTERIOR
  2385. );
  2386. static TemplateTypeClass const Xtra0006(
  2387. TEMPLATE_XTRA0006,
  2388. THEATERF_INTERIOR,
  2389. "XTRA0006",
  2390. TXT_INTERIOR
  2391. );
  2392. static TemplateTypeClass const Xtra0007(
  2393. TEMPLATE_XTRA0007,
  2394. THEATERF_INTERIOR,
  2395. "XTRA0007",
  2396. TXT_INTERIOR
  2397. );
  2398. static TemplateTypeClass const Xtra0008(
  2399. TEMPLATE_XTRA0008,
  2400. THEATERF_INTERIOR,
  2401. "XTRA0008",
  2402. TXT_INTERIOR
  2403. );
  2404. static TemplateTypeClass const Xtra0009(
  2405. TEMPLATE_XTRA0009,
  2406. THEATERF_INTERIOR,
  2407. "XTRA0009",
  2408. TXT_INTERIOR
  2409. );
  2410. static TemplateTypeClass const Xtra0010(
  2411. TEMPLATE_XTRA0010,
  2412. THEATERF_INTERIOR,
  2413. "XTRA0010",
  2414. TXT_INTERIOR
  2415. );
  2416. static TemplateTypeClass const Xtra0011(
  2417. TEMPLATE_XTRA0011,
  2418. THEATERF_INTERIOR,
  2419. "XTRA0011",
  2420. TXT_INTERIOR
  2421. );
  2422. static TemplateTypeClass const Xtra0012(
  2423. TEMPLATE_XTRA0012,
  2424. THEATERF_INTERIOR,
  2425. "XTRA0012",
  2426. TXT_INTERIOR
  2427. );
  2428. static TemplateTypeClass const Xtra0013(
  2429. TEMPLATE_XTRA0013,
  2430. THEATERF_INTERIOR,
  2431. "XTRA0013",
  2432. TXT_INTERIOR
  2433. );
  2434. static TemplateTypeClass const Xtra0014(
  2435. TEMPLATE_XTRA0014,
  2436. THEATERF_INTERIOR,
  2437. "XTRA0014",
  2438. TXT_INTERIOR
  2439. );
  2440. static TemplateTypeClass const Xtra0015(
  2441. TEMPLATE_XTRA0015,
  2442. THEATERF_INTERIOR,
  2443. "XTRA0015",
  2444. TXT_INTERIOR
  2445. );
  2446. static TemplateTypeClass const Xtra0016(
  2447. TEMPLATE_XTRA0016,
  2448. THEATERF_INTERIOR,
  2449. "XTRA0016",
  2450. TXT_INTERIOR
  2451. );
  2452. #ifdef FIXIT_ANTS
  2453. static TemplateTypeClass const AntHill(
  2454. TEMPLATE_HILL01,
  2455. THEATERF_TEMPERATE,
  2456. "HILL01",
  2457. TXT_ROCK
  2458. );
  2459. #endif
  2460. /***********************************************************************************************
  2461. * TemplateTypeClass::TemplateTypeClass -- Constructor for template type objects. *
  2462. * *
  2463. * This is the constructor for the template types. *
  2464. * *
  2465. * INPUT: see below... *
  2466. * *
  2467. * OUTPUT: none *
  2468. * *
  2469. * WARNINGS: none *
  2470. * *
  2471. * HISTORY: *
  2472. * 07/29/1994 JLB : Created. *
  2473. *=============================================================================================*/
  2474. TemplateTypeClass::TemplateTypeClass(
  2475. TemplateType iconset,
  2476. int theater,
  2477. char const * ininame,
  2478. int fullname) :
  2479. ObjectTypeClass(
  2480. RTTI_TEMPLATETYPE,
  2481. int(iconset),
  2482. false,
  2483. true,
  2484. false,
  2485. false,
  2486. true,
  2487. true,
  2488. false,
  2489. fullname,
  2490. ininame),
  2491. Type(iconset),
  2492. Theater(theater),
  2493. Width(0),
  2494. Height(0)
  2495. {
  2496. }
  2497. /***********************************************************************************************
  2498. * TemplateTypeClass::operator new -- Allocates a template type from special heap. *
  2499. * *
  2500. * This allocates a template type object from the special heap used for that purpose. *
  2501. * *
  2502. * INPUT: none *
  2503. * *
  2504. * OUTPUT: Returns with a pointer to the newly allocated template type object. If no object *
  2505. * could be allocated, then NULL is returned. *
  2506. * *
  2507. * WARNINGS: none *
  2508. * *
  2509. * HISTORY: *
  2510. * 07/06/1996 JLB : Created. *
  2511. *=============================================================================================*/
  2512. void * TemplateTypeClass::operator new(size_t)
  2513. {
  2514. return(TemplateTypes.Alloc());
  2515. }
  2516. /***********************************************************************************************
  2517. * TemplateTypeClass::operator delete -- Deletes a template type object. *
  2518. * *
  2519. * This routine will return a template type object back to the special heap it was *
  2520. * allocated from. *
  2521. * *
  2522. * INPUT: ptr -- Pointer to the template type object to free. *
  2523. * *
  2524. * OUTPUT: none *
  2525. * *
  2526. * WARNINGS: none *
  2527. * *
  2528. * HISTORY: *
  2529. * 07/06/1996 JLB : Created. *
  2530. *=============================================================================================*/
  2531. void TemplateTypeClass::operator delete(void * ptr)
  2532. {
  2533. TemplateTypes.Free((TemplateTypeClass *)ptr);
  2534. }
  2535. static void _Watcom_Ugh_Hack(void)
  2536. {
  2537. (void)new TemplateTypeClass(Road37); // TEMPLATE_ROAD37
  2538. (void)new TemplateTypeClass(Road38); // TEMPLATE_ROAD38
  2539. (void)new TemplateTypeClass(Road39); // TEMPLATE_ROAD39
  2540. (void)new TemplateTypeClass(Road40); // TEMPLATE_ROAD40
  2541. (void)new TemplateTypeClass(Road41); // TEMPLATE_ROAD41
  2542. (void)new TemplateTypeClass(Road42); // TEMPLATE_ROAD42
  2543. (void)new TemplateTypeClass(Road43); // TEMPLATE_ROAD43
  2544. (void)new TemplateTypeClass(Rough01); // TEMPLATE_ROUGH01
  2545. (void)new TemplateTypeClass(Rough02); // TEMPLATE_ROUGH02
  2546. (void)new TemplateTypeClass(Rough03); // TEMPLATE_ROUGH03
  2547. (void)new TemplateTypeClass(Rough04); // TEMPLATE_ROUGH04
  2548. (void)new TemplateTypeClass(Rough05); // TEMPLATE_ROUGH05
  2549. (void)new TemplateTypeClass(Rough06); // TEMPLATE_ROUGH06
  2550. (void)new TemplateTypeClass(Rough07); // TEMPLATE_ROUGH07
  2551. (void)new TemplateTypeClass(Rough08); // TEMPLATE_ROUGH08
  2552. (void)new TemplateTypeClass(Rough09); // TEMPLATE_ROUGH09
  2553. (void)new TemplateTypeClass(Rough10); // TEMPLATE_ROUGH10
  2554. (void)new TemplateTypeClass(Rough11); // TEMPLATE_ROUGH11
  2555. (void)new TemplateTypeClass(Road44); // TEMPLATE_ROAD44
  2556. (void)new TemplateTypeClass(Road45); // TEMPLATE_ROAD45
  2557. (void)new TemplateTypeClass(River14); // TEMPLATE_RIVER14
  2558. (void)new TemplateTypeClass(River15); // TEMPLATE_RIVER15
  2559. (void)new TemplateTypeClass(RiverCliff01); // TEMPLATE_RIVERCLIFF01
  2560. (void)new TemplateTypeClass(RiverCliff02); // TEMPLATE_RIVERCLIFF02
  2561. (void)new TemplateTypeClass(RiverCliff03); // TEMPLATE_RIVERCLIFF03
  2562. (void)new TemplateTypeClass(RiverCliff04); // TEMPLATE_RIVERCLIFF04
  2563. (void)new TemplateTypeClass(Bridge1a); // TEMPLATE_BRIDGE_1A
  2564. (void)new TemplateTypeClass(Bridge1b); // TEMPLATE_BRIDGE_1B
  2565. (void)new TemplateTypeClass(Bridge1c); // TEMPLATE_BRIDGE_1C
  2566. (void)new TemplateTypeClass(Bridge2a); // TEMPLATE_BRIDGE_2A
  2567. (void)new TemplateTypeClass(Bridge2b); // TEMPLATE_BRIDGE_2B
  2568. (void)new TemplateTypeClass(Bridge2c); // TEMPLATE_BRIDGE_2C
  2569. (void)new TemplateTypeClass(Bridge3a); // TEMPLATE_BRIDGE_3A
  2570. (void)new TemplateTypeClass(Bridge3b); // TEMPLATE_BRIDGE_3B
  2571. (void)new TemplateTypeClass(Bridge3c); // TEMPLATE_BRIDGE_3C
  2572. (void)new TemplateTypeClass(Bridge3d); // TEMPLATE_BRIDGE_3D
  2573. (void)new TemplateTypeClass(Bridge3e); // TEMPLATE_BRIDGE_3E
  2574. (void)new TemplateTypeClass(Bridge3f); // TEMPLATE_BRIDGE_3F
  2575. (void)new TemplateTypeClass(F01); // TEMPLATE_F01
  2576. (void)new TemplateTypeClass(F02); // TEMPLATE_F02
  2577. (void)new TemplateTypeClass(F03); // TEMPLATE_F03
  2578. (void)new TemplateTypeClass(F04); // TEMPLATE_F04
  2579. (void)new TemplateTypeClass(F05); // TEMPLATE_F05
  2580. (void)new TemplateTypeClass(F06); // TEMPLATE_F06
  2581. (void)new TemplateTypeClass(ARRO0001); // TEMPLATE_ARRO0001
  2582. (void)new TemplateTypeClass(ARRO0002); // TEMPLATE_ARRO0002
  2583. (void)new TemplateTypeClass(ARRO0003); // TEMPLATE_ARRO0003
  2584. (void)new TemplateTypeClass(ARRO0004); // TEMPLATE_ARRO0004
  2585. (void)new TemplateTypeClass(ARRO0005); // TEMPLATE_ARRO0005
  2586. (void)new TemplateTypeClass(ARRO0006); // TEMPLATE_ARRO0006
  2587. (void)new TemplateTypeClass(ARRO0007); // TEMPLATE_ARRO0007
  2588. (void)new TemplateTypeClass(ARRO0008); // TEMPLATE_ARRO0008
  2589. (void)new TemplateTypeClass(ARRO0009); // TEMPLATE_ARRO0009
  2590. (void)new TemplateTypeClass(ARRO0010); // TEMPLATE_ARRO0010
  2591. (void)new TemplateTypeClass(ARRO0011); // TEMPLATE_ARRO0011
  2592. (void)new TemplateTypeClass(ARRO0012); // TEMPLATE_ARRO0012
  2593. (void)new TemplateTypeClass(ARRO0013); // TEMPLATE_ARRO0013
  2594. (void)new TemplateTypeClass(ARRO0014); // TEMPLATE_ARRO0014
  2595. (void)new TemplateTypeClass(ARRO0015); // TEMPLATE_ARRO0015
  2596. (void)new TemplateTypeClass(FLOR0001); // TEMPLATE_FLOR0001
  2597. (void)new TemplateTypeClass(FLOR0002); // TEMPLATE_FLOR0002
  2598. (void)new TemplateTypeClass(FLOR0003); // TEMPLATE_FLOR0003
  2599. (void)new TemplateTypeClass(FLOR0004); // TEMPLATE_FLOR0004
  2600. (void)new TemplateTypeClass(FLOR0005); // TEMPLATE_FLOR0005
  2601. (void)new TemplateTypeClass(FLOR0006); // TEMPLATE_FLOR0006
  2602. (void)new TemplateTypeClass(FLOR0007); // TEMPLATE_FLOR0007
  2603. (void)new TemplateTypeClass(GFLR0001); // TEMPLATE_GFLR0001
  2604. (void)new TemplateTypeClass(GFLR0002); // TEMPLATE_GFLR0002
  2605. (void)new TemplateTypeClass(GFLR0003); // TEMPLATE_GFLR0003
  2606. (void)new TemplateTypeClass(GFLR0004); // TEMPLATE_GFLR0004
  2607. (void)new TemplateTypeClass(GFLR0005); // TEMPLATE_GFLR0005
  2608. (void)new TemplateTypeClass(GSTR0001); // TEMPLATE_GSTR0001
  2609. (void)new TemplateTypeClass(GSTR0002); // TEMPLATE_GSTR0002
  2610. (void)new TemplateTypeClass(GSTR0003); // TEMPLATE_GSTR0003
  2611. (void)new TemplateTypeClass(GSTR0004); // TEMPLATE_GSTR0004
  2612. (void)new TemplateTypeClass(GSTR0005); // TEMPLATE_GSTR0005
  2613. (void)new TemplateTypeClass(GSTR0006); // TEMPLATE_GSTR0006
  2614. (void)new TemplateTypeClass(GSTR0007); // TEMPLATE_GSTR0007
  2615. (void)new TemplateTypeClass(GSTR0008); // TEMPLATE_GSTR0008
  2616. (void)new TemplateTypeClass(GSTR0009); // TEMPLATE_GSTR0009
  2617. (void)new TemplateTypeClass(GSTR0010); // TEMPLATE_GSTR0010
  2618. (void)new TemplateTypeClass(GSTR0011); // TEMPLATE_GSTR0011
  2619. (void)new TemplateTypeClass(LWAL0001); // TEMPLATE_LWAL0001
  2620. (void)new TemplateTypeClass(LWAL0002); // TEMPLATE_LWAL0002
  2621. (void)new TemplateTypeClass(LWAL0003); // TEMPLATE_LWAL0003
  2622. (void)new TemplateTypeClass(LWAL0004); // TEMPLATE_LWAL0004
  2623. (void)new TemplateTypeClass(LWAL0005); // TEMPLATE_LWAL0005
  2624. (void)new TemplateTypeClass(LWAL0006); // TEMPLATE_LWAL0006
  2625. (void)new TemplateTypeClass(LWAL0007); // TEMPLATE_LWAL0007
  2626. (void)new TemplateTypeClass(LWAL0008); // TEMPLATE_LWAL0008
  2627. (void)new TemplateTypeClass(LWAL0009); // TEMPLATE_LWAL0009
  2628. (void)new TemplateTypeClass(LWAL0010); // TEMPLATE_LWAL0010
  2629. (void)new TemplateTypeClass(LWAL0011); // TEMPLATE_LWAL0011
  2630. (void)new TemplateTypeClass(LWAL0012); // TEMPLATE_LWAL0012
  2631. (void)new TemplateTypeClass(LWAL0013); // TEMPLATE_LWAL0013
  2632. (void)new TemplateTypeClass(LWAL0014); // TEMPLATE_LWAL0014
  2633. (void)new TemplateTypeClass(LWAL0015); // TEMPLATE_LWAL0015
  2634. (void)new TemplateTypeClass(LWAL0016); // TEMPLATE_LWAL0016
  2635. (void)new TemplateTypeClass(LWAL0017); // TEMPLATE_LWAL0017
  2636. (void)new TemplateTypeClass(LWAL0018); // TEMPLATE_LWAL0018
  2637. (void)new TemplateTypeClass(LWAL0019); // TEMPLATE_LWAL0019
  2638. (void)new TemplateTypeClass(LWAL0020); // TEMPLATE_LWAL0020
  2639. (void)new TemplateTypeClass(LWAL0021); // TEMPLATE_LWAL0021
  2640. (void)new TemplateTypeClass(LWAL0022); // TEMPLATE_LWAL0022
  2641. (void)new TemplateTypeClass(LWAL0023); // TEMPLATE_LWAL0023
  2642. (void)new TemplateTypeClass(LWAL0024); // TEMPLATE_LWAL0024
  2643. (void)new TemplateTypeClass(LWAL0025); // TEMPLATE_LWAL0025
  2644. (void)new TemplateTypeClass(LWAL0026); // TEMPLATE_LWAL0026
  2645. (void)new TemplateTypeClass(LWAL0027); // TEMPLATE_LWAL0027
  2646. (void)new TemplateTypeClass(STRP0001); // TEMPLATE_STRP0001
  2647. (void)new TemplateTypeClass(STRP0002); // TEMPLATE_STRP0002
  2648. (void)new TemplateTypeClass(STRP0003); // TEMPLATE_STRP0003
  2649. (void)new TemplateTypeClass(STRP0004); // TEMPLATE_STRP0004
  2650. (void)new TemplateTypeClass(STRP0005); // TEMPLATE_STRP0005
  2651. (void)new TemplateTypeClass(STRP0006); // TEMPLATE_STRP0006
  2652. (void)new TemplateTypeClass(STRP0007); // TEMPLATE_STRP0007
  2653. (void)new TemplateTypeClass(STRP0008); // TEMPLATE_STRP0008
  2654. (void)new TemplateTypeClass(STRP0009); // TEMPLATE_STRP0009
  2655. (void)new TemplateTypeClass(STRP0010); // TEMPLATE_STRP0010
  2656. (void)new TemplateTypeClass(STRP0011); // TEMPLATE_STRP0011
  2657. (void)new TemplateTypeClass(WALL0001); // TEMPLATE_WALL0001
  2658. (void)new TemplateTypeClass(WALL0002); // TEMPLATE_WALL0002
  2659. (void)new TemplateTypeClass(WALL0003); // TEMPLATE_WALL0003
  2660. (void)new TemplateTypeClass(WALL0004); // TEMPLATE_WALL0004
  2661. (void)new TemplateTypeClass(WALL0005); // TEMPLATE_WALL0005
  2662. (void)new TemplateTypeClass(WALL0006); // TEMPLATE_WALL0006
  2663. (void)new TemplateTypeClass(WALL0007); // TEMPLATE_WALL0007
  2664. (void)new TemplateTypeClass(WALL0008); // TEMPLATE_WALL0008
  2665. (void)new TemplateTypeClass(WALL0009); // TEMPLATE_WALL0009
  2666. (void)new TemplateTypeClass(WALL0010); // TEMPLATE_WALL0010
  2667. (void)new TemplateTypeClass(WALL0011); // TEMPLATE_WALL0011
  2668. (void)new TemplateTypeClass(WALL0012); // TEMPLATE_WALL0012
  2669. (void)new TemplateTypeClass(WALL0013); // TEMPLATE_WALL0013
  2670. (void)new TemplateTypeClass(WALL0014); // TEMPLATE_WALL0014
  2671. (void)new TemplateTypeClass(WALL0015); // TEMPLATE_WALL0015
  2672. (void)new TemplateTypeClass(WALL0016); // TEMPLATE_WALL0016
  2673. (void)new TemplateTypeClass(WALL0017); // TEMPLATE_WALL0017
  2674. (void)new TemplateTypeClass(WALL0018); // TEMPLATE_WALL0018
  2675. (void)new TemplateTypeClass(WALL0019); // TEMPLATE_WALL0019
  2676. (void)new TemplateTypeClass(WALL0020); // TEMPLATE_WALL0020
  2677. (void)new TemplateTypeClass(WALL0021); // TEMPLATE_WALL0021
  2678. (void)new TemplateTypeClass(WALL0022); // TEMPLATE_WALL0022
  2679. (void)new TemplateTypeClass(WALL0023); // TEMPLATE_WALL0023
  2680. (void)new TemplateTypeClass(WALL0024); // TEMPLATE_WALL0024
  2681. (void)new TemplateTypeClass(WALL0025); // TEMPLATE_WALL0025
  2682. (void)new TemplateTypeClass(WALL0026); // TEMPLATE_WALL0026
  2683. (void)new TemplateTypeClass(WALL0027); // TEMPLATE_WALL0027
  2684. (void)new TemplateTypeClass(WALL0028); // TEMPLATE_WALL0028
  2685. (void)new TemplateTypeClass(WALL0029); // TEMPLATE_WALL0029
  2686. (void)new TemplateTypeClass(WALL0030); // TEMPLATE_WALL0030
  2687. (void)new TemplateTypeClass(WALL0031); // TEMPLATE_WALL0031
  2688. (void)new TemplateTypeClass(WALL0032); // TEMPLATE_WALL0032
  2689. (void)new TemplateTypeClass(WALL0033); // TEMPLATE_WALL0033
  2690. (void)new TemplateTypeClass(WALL0034); // TEMPLATE_WALL0034
  2691. (void)new TemplateTypeClass(WALL0035); // TEMPLATE_WALL0035
  2692. (void)new TemplateTypeClass(WALL0036); // TEMPLATE_WALL0036
  2693. (void)new TemplateTypeClass(WALL0037); // TEMPLATE_WALL0037
  2694. (void)new TemplateTypeClass(WALL0038); // TEMPLATE_WALL0038
  2695. (void)new TemplateTypeClass(WALL0039); // TEMPLATE_WALL0039
  2696. (void)new TemplateTypeClass(WALL0040); // TEMPLATE_WALL0040
  2697. (void)new TemplateTypeClass(WALL0041); // TEMPLATE_WALL0041
  2698. (void)new TemplateTypeClass(WALL0042); // TEMPLATE_WALL0042
  2699. (void)new TemplateTypeClass(WALL0043); // TEMPLATE_WALL0043
  2700. (void)new TemplateTypeClass(WALL0044); // TEMPLATE_WALL0044
  2701. (void)new TemplateTypeClass(WALL0045); // TEMPLATE_WALL0045
  2702. (void)new TemplateTypeClass(WALL0046); // TEMPLATE_WALL0046
  2703. (void)new TemplateTypeClass(WALL0047); // TEMPLATE_WALL0047
  2704. (void)new TemplateTypeClass(WALL0048); // TEMPLATE_WALL0048
  2705. (void)new TemplateTypeClass(WALL0049); // TEMPLATE_WALL0049
  2706. (void)new TemplateTypeClass(Bridge1h); // TEMPLATE_BRIDGE1H
  2707. (void)new TemplateTypeClass(Bridge2h); // TEMPLATE_BRIDGE2H
  2708. (void)new TemplateTypeClass(Bridge1ax); // TEMPLATE_BRIDGE_1AX
  2709. (void)new TemplateTypeClass(Bridge2ax); // TEMPLATE_BRIDGE_2AX
  2710. (void)new TemplateTypeClass(Bridge1x); // TEMPLATE_BRIDGE1X
  2711. (void)new TemplateTypeClass(Bridge2x); // TEMPLATE_BRIDGE2X
  2712. (void)new TemplateTypeClass(Xtra0001); // TEMPLATE_XTRA0001
  2713. (void)new TemplateTypeClass(Xtra0002); // TEMPLATE_XTRA0002
  2714. (void)new TemplateTypeClass(Xtra0003); // TEMPLATE_XTRA0003
  2715. (void)new TemplateTypeClass(Xtra0004); // TEMPLATE_XTRA0004
  2716. (void)new TemplateTypeClass(Xtra0005); // TEMPLATE_XTRA0005
  2717. (void)new TemplateTypeClass(Xtra0006); // TEMPLATE_XTRA0006
  2718. (void)new TemplateTypeClass(Xtra0007); // TEMPLATE_XTRA0007
  2719. (void)new TemplateTypeClass(Xtra0008); // TEMPLATE_XTRA0008
  2720. (void)new TemplateTypeClass(Xtra0009); // TEMPLATE_XTRA0009
  2721. (void)new TemplateTypeClass(Xtra0010); // TEMPLATE_XTRA0010
  2722. (void)new TemplateTypeClass(Xtra0011); // TEMPLATE_XTRA0011
  2723. (void)new TemplateTypeClass(Xtra0012); // TEMPLATE_XTRA0012
  2724. (void)new TemplateTypeClass(Xtra0013); // TEMPLATE_XTRA0013
  2725. (void)new TemplateTypeClass(Xtra0014); // TEMPLATE_XTRA0014
  2726. (void)new TemplateTypeClass(Xtra0015); // TEMPLATE_XTRA0015
  2727. (void)new TemplateTypeClass(Xtra0016); // TEMPLATE_XTRA0016
  2728. #ifdef FIXIT_ANTS
  2729. (void)new TemplateTypeClass(AntHill); // TEMPLATE_ROAD36
  2730. #endif
  2731. }
  2732. void TemplateTypeClass::Init_Heap(void)
  2733. {
  2734. /*
  2735. ** These template type class objects must be allocated in the exact order that they
  2736. ** are specified in the TemplateType enumeration. This is necessary because the heap
  2737. ** allocation block index serves double duty as the type number index.
  2738. */
  2739. (void)new TemplateTypeClass(Clear); // TEMPLATE_CLEAR1
  2740. (void)new TemplateTypeClass(Water); // TEMPLATE_WATER
  2741. (void)new TemplateTypeClass(Water2); // TEMPLATE_WATER2
  2742. (void)new TemplateTypeClass(Shore01); // TEMPLATE_SHORE1
  2743. (void)new TemplateTypeClass(Shore02); // TEMPLATE_SHORE2
  2744. (void)new TemplateTypeClass(Shore03); // TEMPLATE_SHORE3
  2745. (void)new TemplateTypeClass(Shore04); // TEMPLATE_SHORE4
  2746. (void)new TemplateTypeClass(Shore05); // TEMPLATE_SHORE5
  2747. (void)new TemplateTypeClass(Shore06); // TEMPLATE_SHORE6
  2748. (void)new TemplateTypeClass(Shore07); // TEMPLATE_SHORE7
  2749. (void)new TemplateTypeClass(Shore08); // TEMPLATE_SHORE8
  2750. (void)new TemplateTypeClass(Shore09); // TEMPLATE_SHORE9
  2751. (void)new TemplateTypeClass(Shore10); // TEMPLATE_SHORE10
  2752. (void)new TemplateTypeClass(Shore11); // TEMPLATE_SHORE11
  2753. (void)new TemplateTypeClass(Shore12); // TEMPLATE_SHORE12
  2754. (void)new TemplateTypeClass(Shore13); // TEMPLATE_SHORE13
  2755. (void)new TemplateTypeClass(Shore14); // TEMPLATE_SHORE14
  2756. (void)new TemplateTypeClass(Shore15); // TEMPLATE_SHORE15
  2757. (void)new TemplateTypeClass(Shore16); // TEMPLATE_SHORE16
  2758. (void)new TemplateTypeClass(Shore17); // TEMPLATE_SHORE17
  2759. (void)new TemplateTypeClass(Shore18); // TEMPLATE_SHORE18
  2760. (void)new TemplateTypeClass(Shore19); // TEMPLATE_SHORE19
  2761. (void)new TemplateTypeClass(Shore20); // TEMPLATE_SHORE20
  2762. (void)new TemplateTypeClass(Shore21); // TEMPLATE_SHORE21
  2763. (void)new TemplateTypeClass(Shore22); // TEMPLATE_SHORE22
  2764. (void)new TemplateTypeClass(Shore23); // TEMPLATE_SHORE23
  2765. (void)new TemplateTypeClass(Shore24); // TEMPLATE_SHORE24
  2766. (void)new TemplateTypeClass(Shore25); // TEMPLATE_SHORE25
  2767. (void)new TemplateTypeClass(Shore26); // TEMPLATE_SHORE26
  2768. (void)new TemplateTypeClass(Shore27); // TEMPLATE_SHORE27
  2769. (void)new TemplateTypeClass(Shore28); // TEMPLATE_SHORE28
  2770. (void)new TemplateTypeClass(Shore29); // TEMPLATE_SHORE29
  2771. (void)new TemplateTypeClass(Shore30); // TEMPLATE_SHORE30
  2772. (void)new TemplateTypeClass(Shore31); // TEMPLATE_SHORE31
  2773. (void)new TemplateTypeClass(Shore32); // TEMPLATE_SHORE32
  2774. (void)new TemplateTypeClass(Shore33); // TEMPLATE_SHORE33
  2775. (void)new TemplateTypeClass(Shore34); // TEMPLATE_SHORE34
  2776. (void)new TemplateTypeClass(Shore35); // TEMPLATE_SHORE35
  2777. (void)new TemplateTypeClass(Shore36); // TEMPLATE_SHORE36
  2778. (void)new TemplateTypeClass(Shore37); // TEMPLATE_SHORE37
  2779. (void)new TemplateTypeClass(Shore38); // TEMPLATE_SHORE38
  2780. (void)new TemplateTypeClass(Shore39); // TEMPLATE_SHORE39
  2781. (void)new TemplateTypeClass(Shore40); // TEMPLATE_SHORE40
  2782. (void)new TemplateTypeClass(Shore41); // TEMPLATE_SHORE41
  2783. (void)new TemplateTypeClass(Shore42); // TEMPLATE_SHORE42
  2784. (void)new TemplateTypeClass(Shore43); // TEMPLATE_SHORE43
  2785. (void)new TemplateTypeClass(Shore44); // TEMPLATE_SHORE44
  2786. (void)new TemplateTypeClass(Shore45); // TEMPLATE_SHORE45
  2787. (void)new TemplateTypeClass(Shore46); // TEMPLATE_SHORE46
  2788. (void)new TemplateTypeClass(Shore47); // TEMPLATE_SHORE47
  2789. (void)new TemplateTypeClass(Shore48); // TEMPLATE_SHORE48
  2790. (void)new TemplateTypeClass(Shore49); // TEMPLATE_SHORE49
  2791. (void)new TemplateTypeClass(Shore50); // TEMPLATE_SHORE50
  2792. (void)new TemplateTypeClass(Shore51); // TEMPLATE_SHORE51
  2793. (void)new TemplateTypeClass(Shore52); // TEMPLATE_SHORE52
  2794. (void)new TemplateTypeClass(Shore53); // TEMPLATE_SHORE53
  2795. (void)new TemplateTypeClass(Shore54); // TEMPLATE_SHORE54
  2796. (void)new TemplateTypeClass(Shore55); // TEMPLATE_SHORE55
  2797. (void)new TemplateTypeClass(Shore56); // TEMPLATE_SHORE56
  2798. (void)new TemplateTypeClass(ShoreCliff01); // TEMPLATE_SHORECLIFF01
  2799. (void)new TemplateTypeClass(ShoreCliff02); // TEMPLATE_SHORECLIFF02
  2800. (void)new TemplateTypeClass(ShoreCliff03); // TEMPLATE_SHORECLIFF03
  2801. (void)new TemplateTypeClass(ShoreCliff04); // TEMPLATE_SHORECLIFF04
  2802. (void)new TemplateTypeClass(ShoreCliff05); // TEMPLATE_SHORECLIFF05
  2803. (void)new TemplateTypeClass(ShoreCliff06); // TEMPLATE_SHORECLIFF06
  2804. (void)new TemplateTypeClass(ShoreCliff07); // TEMPLATE_SHORECLIFF07
  2805. (void)new TemplateTypeClass(ShoreCliff08); // TEMPLATE_SHORECLIFF08
  2806. (void)new TemplateTypeClass(ShoreCliff09); // TEMPLATE_SHORECLIFF09
  2807. (void)new TemplateTypeClass(ShoreCliff10); // TEMPLATE_SHORECLIFF10
  2808. (void)new TemplateTypeClass(ShoreCliff11); // TEMPLATE_SHORECLIFF11
  2809. (void)new TemplateTypeClass(ShoreCliff12); // TEMPLATE_SHORECLIFF12
  2810. (void)new TemplateTypeClass(ShoreCliff13); // TEMPLATE_SHORECLIFF13
  2811. (void)new TemplateTypeClass(ShoreCliff14); // TEMPLATE_SHORECLIFF14
  2812. (void)new TemplateTypeClass(ShoreCliff15); // TEMPLATE_SHORECLIFF15
  2813. (void)new TemplateTypeClass(ShoreCliff16); // TEMPLATE_SHORECLIFF16
  2814. (void)new TemplateTypeClass(ShoreCliff17); // TEMPLATE_SHORECLIFF17
  2815. (void)new TemplateTypeClass(ShoreCliff18); // TEMPLATE_SHORECLIFF18
  2816. (void)new TemplateTypeClass(ShoreCliff19); // TEMPLATE_SHORECLIFF19
  2817. (void)new TemplateTypeClass(ShoreCliff20); // TEMPLATE_SHORECLIFF20
  2818. (void)new TemplateTypeClass(ShoreCliff21); // TEMPLATE_SHORECLIFF21
  2819. (void)new TemplateTypeClass(ShoreCliff22); // TEMPLATE_SHORECLIFF22
  2820. (void)new TemplateTypeClass(ShoreCliff23); // TEMPLATE_SHORECLIFF23
  2821. (void)new TemplateTypeClass(ShoreCliff24); // TEMPLATE_SHORECLIFF24
  2822. (void)new TemplateTypeClass(ShoreCliff25); // TEMPLATE_SHORECLIFF25
  2823. (void)new TemplateTypeClass(ShoreCliff26); // TEMPLATE_SHORECLIFF26
  2824. (void)new TemplateTypeClass(ShoreCliff27); // TEMPLATE_SHORECLIFF27
  2825. (void)new TemplateTypeClass(ShoreCliff28); // TEMPLATE_SHORECLIFF28
  2826. (void)new TemplateTypeClass(ShoreCliff29); // TEMPLATE_SHORECLIFF29
  2827. (void)new TemplateTypeClass(ShoreCliff30); // TEMPLATE_SHORECLIFF30
  2828. (void)new TemplateTypeClass(ShoreCliff31); // TEMPLATE_SHORECLIFF31
  2829. (void)new TemplateTypeClass(ShoreCliff32); // TEMPLATE_SHORECLIFF32
  2830. (void)new TemplateTypeClass(ShoreCliff33); // TEMPLATE_SHORECLIFF33
  2831. (void)new TemplateTypeClass(ShoreCliff34); // TEMPLATE_SHORECLIFF34
  2832. (void)new TemplateTypeClass(ShoreCliff35); // TEMPLATE_SHORECLIFF35
  2833. (void)new TemplateTypeClass(ShoreCliff36); // TEMPLATE_SHORECLIFF36
  2834. (void)new TemplateTypeClass(ShoreCliff37); // TEMPLATE_SHORECLIFF37
  2835. (void)new TemplateTypeClass(ShoreCliff38); // TEMPLATE_SHORECLIFF38
  2836. (void)new TemplateTypeClass(Boulder1); // TEMPLATE_BOULDER1
  2837. (void)new TemplateTypeClass(Boulder2); // TEMPLATE_BOULDER2
  2838. (void)new TemplateTypeClass(Boulder3); // TEMPLATE_BOULDER3
  2839. (void)new TemplateTypeClass(Boulder4); // TEMPLATE_BOULDER4
  2840. (void)new TemplateTypeClass(Boulder5); // TEMPLATE_BOULDER5
  2841. (void)new TemplateTypeClass(Boulder6); // TEMPLATE_BOULDER6
  2842. (void)new TemplateTypeClass(Patch01); // TEMPLATE_PATCH1
  2843. (void)new TemplateTypeClass(Patch02); // TEMPLATE_PATCH2
  2844. (void)new TemplateTypeClass(Patch03); // TEMPLATE_PATCH3
  2845. (void)new TemplateTypeClass(Patch04); // TEMPLATE_PATCH4
  2846. (void)new TemplateTypeClass(Patch07); // TEMPLATE_PATCH7
  2847. (void)new TemplateTypeClass(Patch08); // TEMPLATE_PATCH8
  2848. (void)new TemplateTypeClass(Patch13); // TEMPLATE_PATCH13
  2849. (void)new TemplateTypeClass(Patch14); // TEMPLATE_PATCH14
  2850. (void)new TemplateTypeClass(Patch15); // TEMPLATE_PATCH15
  2851. (void)new TemplateTypeClass(River01); // TEMPLATE_RIVER1
  2852. (void)new TemplateTypeClass(River02); // TEMPLATE_RIVER2
  2853. (void)new TemplateTypeClass(River03); // TEMPLATE_RIVER3
  2854. (void)new TemplateTypeClass(River04); // TEMPLATE_RIVER4
  2855. (void)new TemplateTypeClass(River05); // TEMPLATE_RIVER5
  2856. (void)new TemplateTypeClass(River06); // TEMPLATE_RIVER6
  2857. (void)new TemplateTypeClass(River07); // TEMPLATE_RIVER7
  2858. (void)new TemplateTypeClass(River08); // TEMPLATE_RIVER8
  2859. (void)new TemplateTypeClass(River09); // TEMPLATE_RIVER9
  2860. (void)new TemplateTypeClass(River10); // TEMPLATE_RIVER10
  2861. (void)new TemplateTypeClass(River11); // TEMPLATE_RIVER11
  2862. (void)new TemplateTypeClass(River12); // TEMPLATE_RIVER12
  2863. (void)new TemplateTypeClass(River13); // TEMPLATE_RIVER13
  2864. (void)new TemplateTypeClass(Falls1); // TEMPLATE_FALLS1
  2865. (void)new TemplateTypeClass(Falls1a); // TEMPLATE_FALLS1A
  2866. (void)new TemplateTypeClass(Falls2); // TEMPLATE_FALLS2
  2867. (void)new TemplateTypeClass(Falls2a); // TEMPLATE_FALLS2A
  2868. (void)new TemplateTypeClass(Ford1); // TEMPLATE_FORD1
  2869. (void)new TemplateTypeClass(Ford2); // TEMPLATE_FORD2
  2870. (void)new TemplateTypeClass(Bridge1); // TEMPLATE_BRIDGE1
  2871. (void)new TemplateTypeClass(Bridge1d); // TEMPLATE_BRIDGE1D
  2872. (void)new TemplateTypeClass(Bridge2); // TEMPLATE_BRIDGE2
  2873. (void)new TemplateTypeClass(Bridge2d); // TEMPLATE_BRIDGE2D
  2874. (void)new TemplateTypeClass(Slope01); // TEMPLATE_SLOPE1
  2875. (void)new TemplateTypeClass(Slope02); // TEMPLATE_SLOPE2
  2876. (void)new TemplateTypeClass(Slope03); // TEMPLATE_SLOPE3
  2877. (void)new TemplateTypeClass(Slope04); // TEMPLATE_SLOPE4
  2878. (void)new TemplateTypeClass(Slope05); // TEMPLATE_SLOPE5
  2879. (void)new TemplateTypeClass(Slope06); // TEMPLATE_SLOPE6
  2880. (void)new TemplateTypeClass(Slope07); // TEMPLATE_SLOPE7
  2881. (void)new TemplateTypeClass(Slope08); // TEMPLATE_SLOPE8
  2882. (void)new TemplateTypeClass(Slope09); // TEMPLATE_SLOPE9
  2883. (void)new TemplateTypeClass(Slope10); // TEMPLATE_SLOPE10
  2884. (void)new TemplateTypeClass(Slope11); // TEMPLATE_SLOPE11
  2885. (void)new TemplateTypeClass(Slope12); // TEMPLATE_SLOPE12
  2886. (void)new TemplateTypeClass(Slope13); // TEMPLATE_SLOPE13
  2887. (void)new TemplateTypeClass(Slope14); // TEMPLATE_SLOPE14
  2888. (void)new TemplateTypeClass(Slope15); // TEMPLATE_SLOPE15
  2889. (void)new TemplateTypeClass(Slope16); // TEMPLATE_SLOPE16
  2890. (void)new TemplateTypeClass(Slope17); // TEMPLATE_SLOPE17
  2891. (void)new TemplateTypeClass(Slope18); // TEMPLATE_SLOPE18
  2892. (void)new TemplateTypeClass(Slope19); // TEMPLATE_SLOPE19
  2893. (void)new TemplateTypeClass(Slope20); // TEMPLATE_SLOPE20
  2894. (void)new TemplateTypeClass(Slope21); // TEMPLATE_SLOPE21
  2895. (void)new TemplateTypeClass(Slope22); // TEMPLATE_SLOPE22
  2896. (void)new TemplateTypeClass(Slope23); // TEMPLATE_SLOPE23
  2897. (void)new TemplateTypeClass(Slope24); // TEMPLATE_SLOPE24
  2898. (void)new TemplateTypeClass(Slope25); // TEMPLATE_SLOPE25
  2899. (void)new TemplateTypeClass(Slope26); // TEMPLATE_SLOPE26
  2900. (void)new TemplateTypeClass(Slope27); // TEMPLATE_SLOPE27
  2901. (void)new TemplateTypeClass(Slope28); // TEMPLATE_SLOPE28
  2902. (void)new TemplateTypeClass(Slope29); // TEMPLATE_SLOPE29
  2903. (void)new TemplateTypeClass(Slope30); // TEMPLATE_SLOPE30
  2904. (void)new TemplateTypeClass(Slope31); // TEMPLATE_SLOPE31
  2905. (void)new TemplateTypeClass(Slope32); // TEMPLATE_SLOPE32
  2906. (void)new TemplateTypeClass(Slope33); // TEMPLATE_SLOPE33
  2907. (void)new TemplateTypeClass(Slope34); // TEMPLATE_SLOPE34
  2908. (void)new TemplateTypeClass(Slope35); // TEMPLATE_SLOPE35
  2909. (void)new TemplateTypeClass(Slope36); // TEMPLATE_SLOPE36
  2910. (void)new TemplateTypeClass(Slope37); // TEMPLATE_SLOPE37
  2911. (void)new TemplateTypeClass(Slope38); // TEMPLATE_SLOPE38
  2912. (void)new TemplateTypeClass(Road01); // TEMPLATE_ROAD1
  2913. (void)new TemplateTypeClass(Road02); // TEMPLATE_ROAD2
  2914. (void)new TemplateTypeClass(Road03); // TEMPLATE_ROAD3
  2915. (void)new TemplateTypeClass(Road04); // TEMPLATE_ROAD4
  2916. (void)new TemplateTypeClass(Road05); // TEMPLATE_ROAD5
  2917. (void)new TemplateTypeClass(Road06); // TEMPLATE_ROAD6
  2918. (void)new TemplateTypeClass(Road07); // TEMPLATE_ROAD7
  2919. (void)new TemplateTypeClass(Road08); // TEMPLATE_ROAD8
  2920. (void)new TemplateTypeClass(Road09); // TEMPLATE_ROAD9
  2921. (void)new TemplateTypeClass(Road10); // TEMPLATE_ROAD10
  2922. (void)new TemplateTypeClass(Road11); // TEMPLATE_ROAD11
  2923. (void)new TemplateTypeClass(Road12); // TEMPLATE_ROAD12
  2924. (void)new TemplateTypeClass(Road13); // TEMPLATE_ROAD13
  2925. (void)new TemplateTypeClass(Road14); // TEMPLATE_ROAD14
  2926. (void)new TemplateTypeClass(Road15); // TEMPLATE_ROAD15
  2927. (void)new TemplateTypeClass(Road16); // TEMPLATE_ROAD16
  2928. (void)new TemplateTypeClass(Road17); // TEMPLATE_ROAD17
  2929. (void)new TemplateTypeClass(Road18); // TEMPLATE_ROAD18
  2930. (void)new TemplateTypeClass(Road19); // TEMPLATE_ROAD19
  2931. (void)new TemplateTypeClass(Road20); // TEMPLATE_ROAD20
  2932. (void)new TemplateTypeClass(Road21); // TEMPLATE_ROAD21
  2933. (void)new TemplateTypeClass(Road22); // TEMPLATE_ROAD22
  2934. (void)new TemplateTypeClass(Road23); // TEMPLATE_ROAD23
  2935. (void)new TemplateTypeClass(Road24); // TEMPLATE_ROAD24
  2936. (void)new TemplateTypeClass(Road25); // TEMPLATE_ROAD25
  2937. (void)new TemplateTypeClass(Road26); // TEMPLATE_ROAD26
  2938. (void)new TemplateTypeClass(Road27); // TEMPLATE_ROAD27
  2939. (void)new TemplateTypeClass(Road28); // TEMPLATE_ROAD28
  2940. (void)new TemplateTypeClass(Road29); // TEMPLATE_ROAD29
  2941. (void)new TemplateTypeClass(Road30); // TEMPLATE_ROAD30
  2942. (void)new TemplateTypeClass(Road31); // TEMPLATE_ROAD31
  2943. (void)new TemplateTypeClass(Road32); // TEMPLATE_ROAD32
  2944. (void)new TemplateTypeClass(Road33); // TEMPLATE_ROAD33
  2945. (void)new TemplateTypeClass(Road34); // TEMPLATE_ROAD34
  2946. (void)new TemplateTypeClass(Road35); // TEMPLATE_ROAD35
  2947. (void)new TemplateTypeClass(Road36); // TEMPLATE_ROAD36
  2948. /*
  2949. ** Separate out the list of new operator calls. Watcom bombs
  2950. ** if they are kept together.
  2951. */
  2952. _Watcom_Ugh_Hack();
  2953. }
  2954. /***********************************************************************************************
  2955. * TemplateTypeClass::Land_Type -- Determines land type from template and icon number. *
  2956. * *
  2957. * This routine will convert the specified icon number into the appropriate land type. The *
  2958. * land type can be determined from the embedded colors in the "control template" section *
  2959. * of the original art file. This control information is encoded into the icon data file *
  2960. * to be retrieved and interpreted as the program sees fit. The engine only recognizes *
  2961. * the first 16 colors as control colors, so the control map color value serves as an *
  2962. * index into a simple lookup table. *
  2963. * *
  2964. * INPUT: icon -- The icon number within this template that is to be examined and used *
  2965. * to determine the land type. *
  2966. * *
  2967. * OUTPUT: Returns with the land type that corresponds to the icon number specified. *
  2968. * *
  2969. * WARNINGS: none *
  2970. * *
  2971. * HISTORY: *
  2972. * 12/12/1995 JLB : Created. *
  2973. *=============================================================================================*/
  2974. LandType TemplateTypeClass::Land_Type(int icon) const
  2975. {
  2976. IconsetClass const * icontrol = (IconsetClass const *)Get_Image_Data();
  2977. if (icontrol != NULL) {
  2978. unsigned char const * map = icontrol->Control_Map();
  2979. if (map != NULL) {
  2980. static LandType _land[16] = {
  2981. LAND_CLEAR,
  2982. LAND_CLEAR,
  2983. LAND_CLEAR,
  2984. LAND_CLEAR, // Clear
  2985. LAND_CLEAR,
  2986. LAND_CLEAR,
  2987. LAND_BEACH, // Beach
  2988. LAND_CLEAR,
  2989. LAND_ROCK, // Rock
  2990. LAND_ROAD, // Road
  2991. LAND_WATER, // Water
  2992. LAND_RIVER, // River
  2993. LAND_CLEAR,
  2994. LAND_CLEAR,
  2995. LAND_ROUGH, // Rough
  2996. LAND_CLEAR,
  2997. };
  2998. return(_land[map[icon % (icontrol->Map_Width() * icontrol->Map_Height())]]);
  2999. }
  3000. }
  3001. return(LAND_CLEAR);
  3002. }
  3003. /***********************************************************************************************
  3004. * TemplateTypeClass::From_Name -- Determine template from ASCII name. *
  3005. * *
  3006. * This routine is used to determine the template number given only *
  3007. * an ASCII representation. The scenario loader uses this routine *
  3008. * to construct the map from the INI control file. *
  3009. * *
  3010. * INPUT: name -- Pointer to the ASCII name of the template. *
  3011. * *
  3012. * OUTPUT: Returns with the template number. If the name had no match, *
  3013. * then returns with TEMPLATE_NONE. *
  3014. * *
  3015. * WARNINGS: none *
  3016. * *
  3017. * HISTORY: *
  3018. * 05/23/1994 JLB : Created. *
  3019. *=============================================================================================*/
  3020. TemplateType TemplateTypeClass::From_Name(char const * name)
  3021. {
  3022. if (name != NULL) {
  3023. for (TemplateType index = TEMPLATE_FIRST; index < TEMPLATE_COUNT; index++) {
  3024. if (stricmp(As_Reference(index).IniName, name) == 0) {
  3025. return(index);
  3026. }
  3027. }
  3028. }
  3029. return(TEMPLATE_NONE);
  3030. }
  3031. /***********************************************************************************************
  3032. * TemplateTypeClass::Occupy_List -- Determines occupation list. *
  3033. * *
  3034. * This routine is used to examine the template map and build an *
  3035. * occupation list. This list is used to render a template cursor as *
  3036. * well as placement of icon numbers. *
  3037. * *
  3038. * INPUT: placement -- Is this for placement legality checking only? The normal condition *
  3039. * is for marking occupation flags. *
  3040. * *
  3041. * OUTPUT: Returns with a pointer to the template occupation list. *
  3042. * *
  3043. * WARNINGS: The return pointer is valid only until the next time that *
  3044. * this routine is called. *
  3045. * *
  3046. * HISTORY: *
  3047. * 05/23/1994 JLB : Created. *
  3048. * 12/12/1995 JLB : Optimized for direct access to iconset data. *
  3049. *=============================================================================================*/
  3050. short const * TemplateTypeClass::Occupy_List(bool) const
  3051. {
  3052. static short _occupy[13*8+5];
  3053. short * ptr;
  3054. IconsetClass const * iconset = (IconsetClass const *)Get_Image_Data();
  3055. unsigned char const * map = iconset->Map_Data();
  3056. ptr = &_occupy[0];
  3057. for (int index = 0; index < Width * Height; index++) {
  3058. if (*map++ != 0xFF) {
  3059. *ptr++ = (index % Width) + ((index / Width)*MAP_CELL_W);
  3060. }
  3061. }
  3062. *ptr = REFRESH_EOL;
  3063. return((short const *)&_occupy[0]);
  3064. }
  3065. /***********************************************************************************************
  3066. * TemplateTypeClass::Init -- Loads graphic data for templates. *
  3067. * *
  3068. * This routine loads the template graphic data for all the template *
  3069. * type supported for the specified theater. This routine is called *
  3070. * whenever the theater for the scenario is first determined. *
  3071. * *
  3072. * INPUT: theater -- The theater that the template data is to be *
  3073. * loaded for. *
  3074. * *
  3075. * OUTPUT: none *
  3076. * *
  3077. * WARNINGS: This routine goes to disk! *
  3078. * *
  3079. * HISTORY: *
  3080. * 05/23/1994 JLB : Created. *
  3081. * 06/02/1994 JLB : Only handles iconset loading now (as it should). *
  3082. *=============================================================================================*/
  3083. void TemplateTypeClass::Init(TheaterType theater)
  3084. {
  3085. char fullname[_MAX_FNAME+_MAX_EXT]; // Fully constructed iconset name.
  3086. void const * ptr; // Working loaded iconset pointer.
  3087. for (TemplateType index = TEMPLATE_FIRST; index < TEMPLATE_COUNT; index++) {
  3088. TemplateTypeClass const & tplate = As_Reference(index);
  3089. ((void const *&)tplate.ImageData) = NULL;
  3090. if (tplate.Theater & (1<<theater)) {
  3091. _makepath(fullname, NULL, NULL, tplate.IniName, Theaters[theater].Suffix);
  3092. ptr = MFCD::Retrieve(fullname);
  3093. ((void const *&)tplate.ImageData) = ptr;
  3094. #ifdef WIN32
  3095. Register_Icon_Set((void*)ptr, TRUE); //Register icon set for video memory caching
  3096. #endif
  3097. ((unsigned char &)tplate.Width) = Get_IconSet_MapWidth(ptr);
  3098. ((unsigned char &)tplate.Height) = Get_IconSet_MapHeight(ptr);
  3099. }
  3100. }
  3101. }
  3102. #ifdef SCENARIO_EDITOR
  3103. /***********************************************************************************************
  3104. * TemplateTypeClass::Display -- Displays a generic representation of template. *
  3105. * *
  3106. * This routine is used to display a generic view of the template *
  3107. * object. This is necessary for selection in the scenario editor. *
  3108. * *
  3109. * INPUT: x,y -- The coordinates to center the display about. *
  3110. * *
  3111. * window-- The window to base the coordinates upon. *
  3112. * *
  3113. * OUTPUT: none *
  3114. * *
  3115. * WARNINGS: none *
  3116. * *
  3117. * HISTORY: *
  3118. * 05/23/1994 JLB : Created. *
  3119. *=============================================================================================*/
  3120. void TemplateTypeClass::Display(int x, int y, WindowNumberType window, HousesType ) const
  3121. {
  3122. int w,h;
  3123. int index;
  3124. bool scale; // Should the template be half sized?
  3125. w = Bound(Width, 1, 13);
  3126. h = Bound(Height, 1, 8);
  3127. scale = (w > 3 || h > 3);
  3128. if (scale) {
  3129. x -= (w * ICON_PIXEL_W) / 4;
  3130. y -= (h * ICON_PIXEL_H) / 4;
  3131. } else {
  3132. x -= (w * ICON_PIXEL_W) / 2;
  3133. y -= (h * ICON_PIXEL_H) / 2;
  3134. }
  3135. x += WindowList[window][WINDOWX];
  3136. y += WindowList[window][WINDOWY];
  3137. IconsetClass const * iconset = (IconsetClass const *)Get_Image_Data();
  3138. unsigned char const * map = iconset->Map_Data();
  3139. for (index = 0; index < w*h; index++) {
  3140. if (map[index] != 0xFF) {
  3141. HidPage.Draw_Stamp(iconset, index, 0, 0, NULL, WINDOW_MAIN);
  3142. if (scale) {
  3143. HidPage.Scale((*LogicPage), 0, 0,
  3144. x + ((index % w)*(ICON_PIXEL_W/2)),
  3145. y + ((index / w)*(ICON_PIXEL_H/2)),
  3146. ICON_PIXEL_W, ICON_PIXEL_H,
  3147. ICON_PIXEL_W/2, ICON_PIXEL_H/2, (char *)NULL);
  3148. } else {
  3149. HidPage.Blit((*LogicPage), 0, 0, x + ((index % w)*(ICON_PIXEL_W)),
  3150. y + ((index / w)*(ICON_PIXEL_H)), ICON_PIXEL_W, ICON_PIXEL_H);
  3151. }
  3152. }
  3153. }
  3154. }
  3155. /***********************************************************************************************
  3156. * TemplateTypeClass::Prep_For_Add -- Prepares to add template to scenario. *
  3157. * *
  3158. * This routine prepares a list of template objects so that the *
  3159. * scenario editor can use this list to display a dialog box. The *
  3160. * selection of a template object will allow its placement upon the *
  3161. * map. *
  3162. * *
  3163. * INPUT: none *
  3164. * *
  3165. * OUTPUT: none *
  3166. * *
  3167. * WARNINGS: none *
  3168. * *
  3169. * HISTORY: *
  3170. * 05/23/1994 JLB : Created. *
  3171. * 05/28/1994 JLB : Only handles real templates now. *
  3172. * 06/04/1994 JLB : Uses map editing interface functions. *
  3173. *=============================================================================================*/
  3174. void TemplateTypeClass::Prep_For_Add(void)
  3175. {
  3176. for (TemplateType index = TEMPLATE_CLEAR1; index < TEMPLATE_COUNT; index++) {
  3177. if (As_Reference(index).Get_Image_Data()) {
  3178. Map.Add_To_List(&As_Reference(index));
  3179. }
  3180. }
  3181. }
  3182. #endif
  3183. /***********************************************************************************************
  3184. * TemplateTypeClass::Create_And_Place -- Creates and places a template object on the map. *
  3185. * *
  3186. * This support routine is used by the scenario editor to add a template object to the map *
  3187. * and to the game. *
  3188. * *
  3189. * INPUT: cell -- The cell to place the template object. *
  3190. * *
  3191. * OUTPUT: bool; Was the template object placed successfully? *
  3192. * *
  3193. * WARNINGS: none *
  3194. * *
  3195. * HISTORY: *
  3196. * 05/28/1994 JLB : Created. *
  3197. *=============================================================================================*/
  3198. bool TemplateTypeClass::Create_And_Place(CELL cell, HousesType ) const
  3199. {
  3200. if (new TemplateClass(Type, cell)) {
  3201. return(true);
  3202. }
  3203. return(false);
  3204. }
  3205. /***********************************************************************************************
  3206. * TemplateTypeClass::Create_One_Of -- Creates an object of this template type. *
  3207. * *
  3208. * This routine will create an object of this type. For certain template objects, such *
  3209. * as walls, it is actually created as a building. The "building" wall is converted into *
  3210. * a template at the moment of placing down on the map. *
  3211. * *
  3212. * INPUT: none *
  3213. * *
  3214. * OUTPUT: Returns with a pointer to the appropriate object for this template type. *
  3215. * *
  3216. * WARNINGS: none *
  3217. * *
  3218. * HISTORY: *
  3219. * 06/18/1994 JLB : Created. *
  3220. *=============================================================================================*/
  3221. ObjectClass * TemplateTypeClass::Create_One_Of(HouseClass *) const
  3222. {
  3223. return(new TemplateClass(Type, -1));
  3224. }
  3225. /***********************************************************************************************
  3226. * TemplateTypeClass::One_Time -- Performs one-time initialization *
  3227. * *
  3228. * INPUT: none *
  3229. * *
  3230. * OUTPUT: none *
  3231. * *
  3232. * WARNINGS: none *
  3233. * *
  3234. * HISTORY: *
  3235. * 08/12/1994 JLB : Created. *
  3236. *=============================================================================================*/
  3237. void TemplateTypeClass::One_Time(void)
  3238. {
  3239. }
  3240. /***********************************************************************************************
  3241. * TemplateTypeClass::As_Reference -- Fetches a reference to the template specified. *
  3242. * *
  3243. * This will return a reference to the TemplateTypeClass requested. *
  3244. * *
  3245. * INPUT: type -- The template type to fetch a reference to. *
  3246. * *
  3247. * OUTPUT: Returns with a reference to the template type class specified. *
  3248. * *
  3249. * WARNINGS: Be sure to pass a valid type parameter. This routine doesn't check it for *
  3250. * legality. *
  3251. * *
  3252. * HISTORY: *
  3253. * 07/03/1996 JLB : Created. *
  3254. *=============================================================================================*/
  3255. TemplateTypeClass & TemplateTypeClass::As_Reference(TemplateType type)
  3256. {
  3257. return(*TemplateTypes.Ptr(type));
  3258. }
  3259. COORDINATE TemplateTypeClass::Coord_Fixup(COORDINATE coord) const
  3260. {
  3261. return Coord_Whole(coord);
  3262. }