CDATA.CPP 99 KB

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