//-------------------------------------------------------------------------
/*
Copyright (C) 2010 EDuke32 developers and contributors

This file is part of EDuke32.

EDuke32 is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/
//-------------------------------------------------------------------------

#define DYNTILEREMAP_ENABLE


#define SECTOREFFECTOR__STATIC 1
#define ACTIVATOR__STATIC 2
#define TOUCHPLATE__STATIC 3
#define ACTIVATORLOCKED__STATIC 4
#define MUSICANDSFX__STATIC 5
#define LOCATORS__STATIC 6
#define CYCLER__STATIC 7
#define MASTERSWITCH__STATIC 8
#define RESPAWN__STATIC 9
#define GPSPEED__STATIC 10
#define FOF__STATIC 13
#define ARROW__STATIC 20
#define FIRSTGUNSPRITE__STATIC 21
#define CHAINGUNSPRITE__STATIC 22
#define RPGSPRITE__STATIC 23
#define FREEZESPRITE__STATIC 24
#define SHRINKERSPRITE__STATIC 25
#define HEAVYHBOMB__STATIC 26
#define TRIPBOMBSPRITE__STATIC 27
#define SHOTGUNSPRITE__STATIC 28
#define DEVISTATORSPRITE__STATIC 29
#define HEALTHBOX__STATIC 30
#define AMMOBOX__STATIC 31
#define GROWSPRITEICON__STATIC 32
#define INVENTORYBOX__STATIC 33
#define FREEZEAMMO__STATIC 37
#define AMMO__STATIC 40
#define BATTERYAMMO__STATIC 41
#define DEVISTATORAMMO__STATIC 42
#define RPGAMMO__STATIC 44
#define GROWAMMO__STATIC 45
#define CRYSTALAMMO__STATIC 46
#define HBOMBAMMO__STATIC 47
#define AMMOLOTS__STATIC 48
#define SHOTGUNAMMO__STATIC 49
#define COLA__STATIC 51
#define SIXPAK__STATIC 52
#define FIRSTAID__STATIC 53
#define SHIELD__STATIC 54
#define STEROIDS__STATIC 55
#define AIRTANK__STATIC 56
#define JETPACK__STATIC 57
#define HEATSENSOR__STATIC 59
#define ACCESSCARD__STATIC 60
#define BOOTS__STATIC 61
#define MIRRORBROKE__STATIC 70
#define CLOUDYOCEAN__STATIC 78
#define CLOUDYSKIES__STATIC 79
#define MOONSKY1__STATIC 80
#define MOONSKY2__STATIC 81
#define MOONSKY3__STATIC 82
#define MOONSKY4__STATIC 83
#define BIGORBIT1__STATIC 84
#define BIGORBIT2__STATIC 85
#define BIGORBIT3__STATIC 86
#define BIGORBIT4__STATIC 87
#define BIGORBIT5__STATIC 88
#define LA__STATIC 89
#define REDSKY1__STATIC 98
#define REDSKY2__STATIC 99
#define ATOMICHEALTH__STATIC 100
#define TECHLIGHT2__STATIC 120
#define TECHLIGHTBUST2__STATIC 121
#define TECHLIGHT4__STATIC 122
#define TECHLIGHTBUST4__STATIC 123
#define WALLLIGHT4__STATIC 124
#define WALLLIGHTBUST4__STATIC 125
#define ACCESSSWITCH__STATIC 130
#define SLOTDOOR__STATIC 132
#define LIGHTSWITCH__STATIC 134
#define SPACEDOORSWITCH__STATIC 136
#define SPACELIGHTSWITCH__STATIC 138
#define FRANKENSTINESWITCH__STATIC 140
#define NUKEBUTTON__STATIC 142
#define MULTISWITCH__STATIC 146
#define DOORTILE5__STATIC 150
#define DOORTILE6__STATIC 151
#define DOORTILE1__STATIC 152
#define DOORTILE2__STATIC 153
#define DOORTILE3__STATIC 154
#define DOORTILE4__STATIC 155
#define DOORTILE7__STATIC 156
#define DOORTILE8__STATIC 157
#define DOORTILE9__STATIC 158
#define DOORTILE10__STATIC 159
#define DOORSHOCK__STATIC 160
#define DIPSWITCH__STATIC 162
#define DIPSWITCH2__STATIC 164
#define TECHSWITCH__STATIC 166
#define DIPSWITCH3__STATIC 168
#define ACCESSSWITCH2__STATIC 170
#define REFLECTWATERTILE__STATIC 180
#define FLOORSLIME__STATIC 200
#define BIGFORCE__STATIC 230
#define EPISODE__STATIC 247
#define MASKWALL9__STATIC 255
#define W_LIGHT__STATIC 260
#define SCREENBREAK1__STATIC 263
#define SCREENBREAK2__STATIC 264
#define SCREENBREAK3__STATIC 265
#define SCREENBREAK4__STATIC 266
#define SCREENBREAK5__STATIC 267
#define SCREENBREAK6__STATIC 268
#define SCREENBREAK7__STATIC 269
#define SCREENBREAK8__STATIC 270
#define SCREENBREAK9__STATIC 271
#define SCREENBREAK10__STATIC 272
#define SCREENBREAK11__STATIC 273
#define SCREENBREAK12__STATIC 274
#define SCREENBREAK13__STATIC 275
#define MASKWALL1__STATIC 285
#define W_TECHWALL1__STATIC 293
#define W_TECHWALL2__STATIC 297
#define W_TECHWALL15__STATIC 299
#define W_TECHWALL3__STATIC 301
#define W_TECHWALL4__STATIC 305
#define W_TECHWALL10__STATIC 306
#define W_TECHWALL16__STATIC 307
#define WATERTILE2__STATIC 336
#define BPANNEL1__STATIC 341
#define PANNEL1__STATIC 342
#define PANNEL2__STATIC 343
#define WATERTILE__STATIC 344
#define STATIC__STATIC 351
#define W_SCREENBREAK__STATIC 357
#define W_HITTECHWALL3__STATIC 360
#define W_HITTECHWALL4__STATIC 361
#define W_HITTECHWALL2__STATIC 362
#define W_HITTECHWALL1__STATIC 363
#define MASKWALL10__STATIC 387
#define MASKWALL11__STATIC 391
#define DOORTILE22__STATIC 395
#define FANSPRITE__STATIC 407
#define FANSPRITEBROKE__STATIC 411
#define FANSHADOW__STATIC 412
#define FANSHADOWBROKE__STATIC 416
#define DOORTILE18__STATIC 447
#define DOORTILE19__STATIC 448
#define DOORTILE20__STATIC 449
#define SATELLITE__STATIC 489
#define VIEWSCREEN2__STATIC 499
#define VIEWSCREENBROKE__STATIC 501
#define VIEWSCREEN__STATIC 502
#define GLASS__STATIC 503
#define GLASS2__STATIC 504
#define STAINGLASS1__STATIC 510
#define MASKWALL5__STATIC 514
#define SATELITE__STATIC 516
#define FUELPOD__STATIC 517
#define SLIMEPIPE__STATIC 538
#define CRACK1__STATIC 546
#define CRACK2__STATIC 547
#define CRACK3__STATIC 548
#define CRACK4__STATIC 549
#define FOOTPRINTS__STATIC 550
#define DOMELITE__STATIC 551
#define CAMERAPOLE__STATIC 554
#define CHAIR1__STATIC 556
#define CHAIR2__STATIC 557
#define BROKENCHAIR__STATIC 559
#define MIRROR__STATIC 560
#define WATERFOUNTAIN__STATIC 563
#define WATERFOUNTAINBROKE__STATIC 567
#define FEMMAG1__STATIC 568
#define TOILET__STATIC 569
#define STALL__STATIC 571
#define STALLBROKE__STATIC 573
#define FEMMAG2__STATIC 577
#define REACTOR2__STATIC 578
#define REACTOR2BURNT__STATIC 579
#define REACTOR2SPARK__STATIC 580
#define GRATE1__STATIC 595
#define BGRATE1__STATIC 596
#define SOLARPANNEL__STATIC 602
#define NAKED1__STATIC 603
#define ANTENNA__STATIC 607
#define MASKWALL12__STATIC 609
#define TOILETBROKE__STATIC 615
#define PIPE2__STATIC 616
#define PIPE1B__STATIC 617
#define PIPE3__STATIC 618
#define PIPE1__STATIC 619
#define CAMERA1__STATIC 621
#define BRICK__STATIC 626
#define SPLINTERWOOD__STATIC 630
#define PIPE2B__STATIC 633
#define BOLT1__STATIC 634
#define W_NUMBERS__STATIC 640
#define WATERDRIP__STATIC 660
#define WATERBUBBLE__STATIC 661
#define WATERBUBBLEMAKER__STATIC 662
#define W_FORCEFIELD__STATIC 663
#define VACUUM__STATIC 669
#define FOOTPRINTS2__STATIC 672
#define FOOTPRINTS3__STATIC 673
#define FOOTPRINTS4__STATIC 674
#define EGG__STATIC 675
#define SCALE__STATIC 678
#define CHAIR3__STATIC 680
#define CAMERALIGHT__STATIC 685
#define MOVIECAMERA__STATIC 686
#define IVUNIT__STATIC 689
#define POT1__STATIC 694
#define POT2__STATIC 695
#define POT3__STATIC 697
#define PIPE3B__STATIC 700
#define WALLLIGHT3__STATIC 701
#define WALLLIGHTBUST3__STATIC 702
#define WALLLIGHT1__STATIC 703
#define WALLLIGHTBUST1__STATIC 704
#define WALLLIGHT2__STATIC 705
#define WALLLIGHTBUST2__STATIC 706
#define LIGHTSWITCH2__STATIC 712
#define WAITTOBESEATED__STATIC 716
#define DOORTILE14__STATIC 717
#define STATUE__STATIC 753
#define MIKE__STATIC 762
#define VASE__STATIC 765
#define SUSHIPLATE1__STATIC 768
#define SUSHIPLATE2__STATIC 769
#define SUSHIPLATE3__STATIC 774
#define SUSHIPLATE4__STATIC 779
#define DOORTILE16__STATIC 781
#define SUSHIPLATE5__STATIC 792
#define OJ__STATIC 806
#define MASKWALL13__STATIC 830
#define HURTRAIL__STATIC 859
#define POWERSWITCH1__STATIC 860
#define LOCKSWITCH1__STATIC 862
#define POWERSWITCH2__STATIC 864
#define ATM__STATIC 867
#define STATUEFLASH__STATIC 869
#define ATMBROKE__STATIC 888
#define BIGHOLE2__STATIC 893
#define STRIPEBALL__STATIC 901
#define QUEBALL__STATIC 902
#define POCKET__STATIC 903
#define WOODENHORSE__STATIC 904
#define TREE1__STATIC 908
#define TREE2__STATIC 910
#define CACTUS__STATIC 911
#define MASKWALL2__STATIC 913
#define MASKWALL3__STATIC 914
#define MASKWALL4__STATIC 915
#define FIREEXT__STATIC 916
#define TOILETWATER__STATIC 921
#define NEON1__STATIC 925
#define NEON2__STATIC 926
#define CACTUSBROKE__STATIC 939
#define BOUNCEMINE__STATIC 940
#define BROKEFIREHYDRENT__STATIC 950
#define BOX__STATIC 951
#define BULLETHOLE__STATIC 952
#define BOTTLE1__STATIC 954
#define BOTTLE2__STATIC 955
#define BOTTLE3__STATIC 956
#define BOTTLE4__STATIC 957
#define FEMPIC5__STATIC 963
#define FEMPIC6__STATIC 964
#define FEMPIC7__STATIC 965
#define HYDROPLANT__STATIC 969
#define OCEANSPRITE1__STATIC 971
#define OCEANSPRITE2__STATIC 972
#define OCEANSPRITE3__STATIC 973
#define OCEANSPRITE4__STATIC 974
#define OCEANSPRITE5__STATIC 975
#define GENERICPOLE__STATIC 977
#define CONE__STATIC 978
#define HANGLIGHT__STATIC 979
#define HYDRENT__STATIC 981
#define MASKWALL14__STATIC 988
#define TIRE__STATIC 990
#define PIPE5__STATIC 994
#define PIPE6__STATIC 995
#define PIPE4__STATIC 996
#define PIPE4B__STATIC 997
#define BROKEHYDROPLANT__STATIC 1003
#define PIPE5B__STATIC 1005
#define NEON3__STATIC 1007
#define NEON4__STATIC 1008
#define NEON5__STATIC 1009
#define BOTTLE5__STATIC 1012
#define BOTTLE6__STATIC 1013
#define BOTTLE8__STATIC 1014
#define SPOTLITE__STATIC 1020
#define HANGOOZ__STATIC 1022
#define MASKWALL15__STATIC 1024
#define BOTTLE7__STATIC 1025
#define HORSEONSIDE__STATIC 1026
#define GLASSPIECES__STATIC 1031
#define HORSELITE__STATIC 1034
#define DONUTS__STATIC 1045
#define NEON6__STATIC 1046
#define MASKWALL6__STATIC 1059
#define CLOCK__STATIC 1060
#define RUBBERCAN__STATIC 1062
#define BROKENCLOCK__STATIC 1067
#define PLUG__STATIC 1069
#define OOZFILTER__STATIC 1079
#define FLOORPLASMA__STATIC 1082
#define REACTOR__STATIC 1088
#define REACTORSPARK__STATIC 1092
#define REACTORBURNT__STATIC 1096
#define DOORTILE15__STATIC 1102
#define HANDSWITCH__STATIC 1111
#define CIRCLEPANNEL__STATIC 1113
#define CIRCLEPANNELBROKE__STATIC 1114
#define PULLSWITCH__STATIC 1122
#define MASKWALL8__STATIC 1124
#define BIGHOLE__STATIC 1141
#define ALIENSWITCH__STATIC 1142
#define DOORTILE21__STATIC 1144
#define HANDPRINTSWITCH__STATIC 1155
#define BOTTLE10__STATIC 1157
#define BOTTLE11__STATIC 1158
#define BOTTLE12__STATIC 1159
#define BOTTLE13__STATIC 1160
#define BOTTLE14__STATIC 1161
#define BOTTLE15__STATIC 1162
#define BOTTLE16__STATIC 1163
#define BOTTLE17__STATIC 1164
#define BOTTLE18__STATIC 1165
#define BOTTLE19__STATIC 1166
#define DOORTILE17__STATIC 1169
#define MASKWALL7__STATIC 1174
#define JAILBARBREAK__STATIC 1175
#define DOORTILE11__STATIC 1178
#define DOORTILE12__STATIC 1179
#define VENDMACHINE__STATIC 1212
#define VENDMACHINEBROKE__STATIC 1214
#define COLAMACHINE__STATIC 1215
#define COLAMACHINEBROKE__STATIC 1217
#define CRANEPOLE__STATIC 1221
#define CRANE__STATIC 1222
#define BARBROKE__STATIC 1225
#define BLOODPOOL__STATIC 1226
#define NUKEBARREL__STATIC 1227
#define NUKEBARRELDENTED__STATIC 1228
#define NUKEBARRELLEAKED__STATIC 1229
#define CANWITHSOMETHING__STATIC 1232
#define MONEY__STATIC 1233
#define BANNER__STATIC 1236
#define EXPLODINGBARREL__STATIC 1238
#define EXPLODINGBARREL2__STATIC 1239
#define FIREBARREL__STATIC 1240
#define SEENINE__STATIC 1247
#define SEENINEDEAD__STATIC 1248
#define STEAM__STATIC 1250
#define CEILINGSTEAM__STATIC 1255
#define PIPE6B__STATIC 1260
#define TRANSPORTERBEAM__STATIC 1261
#define RAT__STATIC 1267
#define TRASH__STATIC 1272
#define FEMPIC1__STATIC 1280
#define FEMPIC2__STATIC 1289
#define BLANKSCREEN__STATIC 1293
#define PODFEM1__STATIC 1294
#define FEMPIC3__STATIC 1298
#define FEMPIC4__STATIC 1306
#define FEM1__STATIC 1312
#define FEM2__STATIC 1317
#define FEM3__STATIC 1321
#define FEM5__STATIC 1323
#define BLOODYPOLE__STATIC 1324
#define FEM4__STATIC 1325
#define FEM6__STATIC 1334
#define FEM6PAD__STATIC 1335
#define FEM8__STATIC 1336
#define HELECOPT__STATIC 1346
#define FETUSJIB__STATIC 1347
#define HOLODUKE__STATIC 1348
#define SPACEMARINE__STATIC 1353
#define INDY__STATIC 1355
#define FETUS__STATIC 1358
#define FETUSBROKE__STATIC 1359
#define MONK__STATIC 1352
#define LUKE__STATIC 1354
#define COOLEXPLOSION1__STATIC 1360
#define WATERSPLASH2__STATIC 1380
#define FIREVASE__STATIC 1390
#define SCRATCH__STATIC 1393
#define FEM7__STATIC 1395
#define APLAYERTOP__STATIC 1400
#define APLAYER__STATIC 1405
#define PLAYERONWATER__STATIC 1420
#define DUKELYINGDEAD__STATIC 1518
#define DUKETORSO__STATIC 1520
#define DUKEGUN__STATIC 1528
#define DUKELEG__STATIC 1536
#define SHARK__STATIC 1550
#define BLOOD__STATIC 1620
#define FIRELASER__STATIC 1625
#define TRANSPORTERSTAR__STATIC 1630
#define SPIT__STATIC 1636
#define LOOGIE__STATIC 1637
#define FIST__STATIC 1640
#define FREEZEBLAST__STATIC 1641
#define DEVISTATORBLAST__STATIC 1642
#define SHRINKSPARK__STATIC 1646
#define TONGUE__STATIC 1647
#define MORTER__STATIC 1650
#define SHRINKEREXPLOSION__STATIC 1656
#define RADIUSEXPLOSION__STATIC 1670
#define FORCERIPPLE__STATIC 1671
#define LIZTROOP__STATIC 1680
#define LIZTROOPRUNNING__STATIC 1681
#define LIZTROOPSTAYPUT__STATIC 1682
#define LIZTOP__STATIC 1705
#define LIZTROOPSHOOT__STATIC 1715
#define LIZTROOPJETPACK__STATIC 1725
#define LIZTROOPDSPRITE__STATIC 1734
#define LIZTROOPONTOILET__STATIC 1741
#define LIZTROOPJUSTSIT__STATIC 1742
#define LIZTROOPDUCKING__STATIC 1744
#define HEADJIB1__STATIC 1768
#define ARMJIB1__STATIC 1772
#define LEGJIB1__STATIC 1776
#define CANNONBALL__STATIC 1817
#define OCTABRAIN__STATIC 1820
#define OCTABRAINSTAYPUT__STATIC 1821
#define OCTATOP__STATIC 1845
#define OCTADEADSPRITE__STATIC 1855
#define INNERJAW__STATIC 1860
#define DRONE__STATIC 1880
#define EXPLOSION2__STATIC 1890
#define COMMANDER__STATIC 1920
#define COMMANDERSTAYPUT__STATIC 1921
#define RECON__STATIC 1960
#define TANK__STATIC 1975
#define PIGCOP__STATIC 2000
#define PIGCOPSTAYPUT__STATIC 2001
#define PIGCOPDIVE__STATIC 2045
#define PIGCOPDEADSPRITE__STATIC 2060
#define PIGTOP__STATIC 2061
#define LIZMAN__STATIC 2120
#define LIZMANSTAYPUT__STATIC 2121
#define LIZMANSPITTING__STATIC 2150
#define LIZMANFEEDING__STATIC 2160
#define LIZMANJUMP__STATIC 2165
#define LIZMANDEADSPRITE__STATIC 2185
#define FECES__STATIC 2200
#define LIZMANHEAD1__STATIC 2201
#define LIZMANARM1__STATIC 2205
#define LIZMANLEG1__STATIC 2209
#define EXPLOSION2BOT__STATIC 2219
#define USERWEAPON__STATIC 2235
#define HEADERBAR__STATIC 2242
#define JIBS1__STATIC 2245
#define JIBS2__STATIC 2250
#define JIBS3__STATIC 2255
#define JIBS4__STATIC 2260
#define JIBS5__STATIC 2265
#define BURNING__STATIC 2270
#define FIRE__STATIC 2271
#define JIBS6__STATIC 2286
#define BLOODSPLAT1__STATIC 2296
#define BLOODSPLAT3__STATIC 2297
#define BLOODSPLAT2__STATIC 2298
#define BLOODSPLAT4__STATIC 2299
#define OOZ__STATIC 2300
#define OOZ2__STATIC 2309
#define WALLBLOOD1__STATIC 2301
#define WALLBLOOD2__STATIC 2302
#define WALLBLOOD3__STATIC 2303
#define WALLBLOOD4__STATIC 2304
#define WALLBLOOD5__STATIC 2305
#define WALLBLOOD6__STATIC 2306
#define WALLBLOOD7__STATIC 2307
#define WALLBLOOD8__STATIC 2308
#define BURNING2__STATIC 2310
#define FIRE2__STATIC 2311
#define CRACKKNUCKLES__STATIC 2324
#define SMALLSMOKE__STATIC 2329
#define SMALLSMOKEMAKER__STATIC 2330
#define FLOORFLAME__STATIC 2333
#define ROTATEGUN__STATIC 2360
#define GREENSLIME__STATIC 2370
#define WATERDRIPSPLASH__STATIC 2380
#define SCRAP6__STATIC 2390
#define SCRAP1__STATIC 2400
#define SCRAP2__STATIC 2404
#define SCRAP3__STATIC 2408
#define SCRAP4__STATIC 2412
#define SCRAP5__STATIC 2416
#define ORGANTIC__STATIC 2420
#define BETAVERSION__STATIC 2440
#define PLAYERISHERE__STATIC 2442
#define PLAYERWASHERE__STATIC 2443
#define SELECTDIR__STATIC 2444
#define F1HELP__STATIC 2445
#define NOTCHON__STATIC 2446
#define NOTCHOFF__STATIC 2447
#define GROWSPARK__STATIC 2448
#define DUKEICON__STATIC 2452
#define BADGUYICON__STATIC 2453
#define FOODICON__STATIC 2454
#define GETICON__STATIC 2455
#define MENUSCREEN__STATIC 2456
#define MENUBAR__STATIC 2457
#define KILLSICON__STATIC 2458
#define FIRSTAID_ICON__STATIC 2460
#define HEAT_ICON__STATIC 2461
#define BOTTOMSTATUSBAR__STATIC 2462
#define BOOT_ICON__STATIC 2463
#define FRAGBAR__STATIC 2465
#define JETPACK_ICON__STATIC 2467
#define AIRTANK_ICON__STATIC 2468
#define STEROIDS_ICON__STATIC 2469
#define HOLODUKE_ICON__STATIC 2470
#define ACCESS_ICON__STATIC 2471
#define DIGITALNUM__STATIC 2472
#define DUKECAR__STATIC 2491
#define CAMCORNER__STATIC 2482
#define CAMLIGHT__STATIC 2484
#define LOGO__STATIC 2485
#define TITLE__STATIC 2486
#define NUKEWARNINGICON__STATIC 2487
#define MOUSECURSOR__STATIC 2488
#define SLIDEBAR__STATIC 2489
#define DREALMS__STATIC 2492
#define BETASCREEN__STATIC 2493
#define WINDOWBORDER1__STATIC 2494
#define TEXTBOX__STATIC 2495
#define WINDOWBORDER2__STATIC 2496
#define DUKENUKEM__STATIC 2497
#define THREEDEE__STATIC 2498
#define INGAMEDUKETHREEDEE__STATIC 2499
#define TENSCREEN__STATIC 2500
#define PLUTOPAKSPRITE__STATIC 2501
#define DEVISTATOR__STATIC 2510
#define KNEE__STATIC 2521
#define CROSSHAIR__STATIC 2523
#define FIRSTGUN__STATIC 2524
#define FIRSTGUNRELOAD__STATIC 2528
#define FALLINGCLIP__STATIC 2530
#define CLIPINHAND__STATIC 2531
#define HAND__STATIC 2532
#define SHELL__STATIC 2533
#define SHOTGUNSHELL__STATIC 2535
#define CHAINGUN__STATIC 2536
#define RPGGUN__STATIC 2544
#define RPGMUZZLEFLASH__STATIC 2545
#define FREEZE__STATIC 2548
#define CATLITE__STATIC 2552
#define SHRINKER__STATIC 2556
#define HANDHOLDINGLASER__STATIC 2563
#define TRIPBOMB__STATIC 2566
#define LASERLINE__STATIC 2567
#define HANDHOLDINGACCESS__STATIC 2568
#define HANDREMOTE__STATIC 2570
#define HANDTHROW__STATIC 2573
#define TIP__STATIC 2576
#define GLAIR__STATIC 2578
#define SCUBAMASK__STATIC 2581
#define SPACEMASK__STATIC 2584
#define FORCESPHERE__STATIC 2590
#define SHOTSPARK1__STATIC 2595
#define RPG__STATIC 2605
#define LASERSITE__STATIC 2612
#define SHOTGUN__STATIC 2613
#define BOSS1__STATIC 2630
#define BOSS1STAYPUT__STATIC 2631
#define BOSS1SHOOT__STATIC 2660
#define BOSS1LOB__STATIC 2670
#define BOSSTOP__STATIC 2696
#define BOSS2__STATIC 2710
#define BOSS3__STATIC 2760
#define SPINNINGNUKEICON__STATIC 2813
#define BIGFNTCURSOR__STATIC 2820
#define SMALLFNTCURSOR__STATIC 2821
#define STARTALPHANUM__STATIC 2822
#define ENDALPHANUM__STATIC 2915
#define BIGALPHANUM__STATIC 2940
#define BIGPERIOD__STATIC 3002
#define BIGCOMMA__STATIC 3003
#define BIGX__STATIC 3004
#define BIGQ__STATIC 3005
#define BIGSEMI__STATIC 3006
#define BIGCOLIN__STATIC 3007
#define THREEBYFIVE__STATIC 3010
#define BIGAPPOS__STATIC 3022
#define BLANK__STATIC 3026
#define MINIFONT__STATIC 3072
#define BUTTON1__STATIC 3164
#define GLASS3__STATIC 3187
#define RESPAWNMARKERRED__STATIC 3190
#define RESPAWNMARKERYELLOW__STATIC 3200
#define RESPAWNMARKERGREEN__STATIC 3210
#define BONUSSCREEN__STATIC 3240
#define VIEWBORDER__STATIC 3250
#define VICTORY1__STATIC 3260
#define ORDERING__STATIC 3270
#define TEXTSTORY__STATIC 3280
#define LOADSCREEN__STATIC 3281
#define BORNTOBEWILDSCREEN__STATIC 3370
#define BLIMP__STATIC 3400
#define FEM9__STATIC 3450
#define FOOTPRINT__STATIC 3701
#define FRAMEEFFECT1_13__STATIC 3999
#define POOP__STATIC 4094
#define FRAMEEFFECT1__STATIC 4095
#define PANNEL3__STATIC 4099
#define SCREENBREAK14__STATIC 4120
#define SCREENBREAK15__STATIC 4123
#define SCREENBREAK19__STATIC 4125
#define SCREENBREAK16__STATIC 4127
#define SCREENBREAK17__STATIC 4128
#define SCREENBREAK18__STATIC 4129
#define W_TECHWALL11__STATIC 4130
#define W_TECHWALL12__STATIC 4131
#define W_TECHWALL13__STATIC 4132
#define W_TECHWALL14__STATIC 4133
#define W_TECHWALL5__STATIC 4134
#define W_TECHWALL6__STATIC 4136
#define W_TECHWALL7__STATIC 4138
#define W_TECHWALL8__STATIC 4140
#define W_TECHWALL9__STATIC 4142
#define BPANNEL3__STATIC 4100
#define W_HITTECHWALL16__STATIC 4144
#define W_HITTECHWALL10__STATIC 4145
#define W_HITTECHWALL15__STATIC 4147
#define W_MILKSHELF__STATIC 4181
#define W_MILKSHELFBROKE__STATIC 4203
#define PURPLELAVA__STATIC 4240
#define LAVABUBBLE__STATIC 4340
#define DUKECUTOUT__STATIC 4352
#define TARGET__STATIC 4359
#define GUNPOWDERBARREL__STATIC 4360
#define DUCK__STATIC 4361
#define HATRACK__STATIC 4367
#define DESKLAMP__STATIC 4370
#define COFFEEMACHINE__STATIC 4372
#define CUPS__STATIC 4373
#define GAVALS__STATIC 4374
#define GAVALS2__STATIC 4375
#define POLICELIGHTPOLE__STATIC 4377
#define FLOORBASKET__STATIC 4388
#define PUKE__STATIC 4389
#define DOORTILE23__STATIC 4391
#define TOPSECRET__STATIC 4396
#define SPEAKER__STATIC 4397
#define TEDDYBEAR__STATIC 4400
#define ROBOTDOG__STATIC 4402
#define ROBOTPIRATE__STATIC 4404
#define ROBOTMOUSE__STATIC 4407
#define MAIL__STATIC 4410
#define MAILBAG__STATIC 4413
#define HOTMEAT__STATIC 4427
#define COFFEEMUG__STATIC 4438
#define DONUTS2__STATIC 4440
#define TRIPODCAMERA__STATIC 4444
#define METER__STATIC 4453
#define DESKPHONE__STATIC 4454
#define GUMBALLMACHINE__STATIC 4458
#define GUMBALLMACHINEBROKE__STATIC 4459
#define PAPER__STATIC 4460
#define MACE__STATIC 4464
#define GENERICPOLE2__STATIC 4465
#define XXXSTACY__STATIC 4470
#define WETFLOOR__STATIC 4495
#define BROOM__STATIC 4496
#define MOP__STATIC 4497
#define LETTER__STATIC 4502
#define PIRATE1A__STATIC 4510
#define PIRATE4A__STATIC 4511
#define PIRATE2A__STATIC 4512
#define PIRATE5A__STATIC 4513
#define PIRATE3A__STATIC 4514
#define PIRATE6A__STATIC 4515
#define PIRATEHALF__STATIC 4516
#define CHESTOFGOLD__STATIC 4520
#define SIDEBOLT1__STATIC 4525
#define FOODOBJECT1__STATIC 4530
#define FOODOBJECT2__STATIC 4531
#define FOODOBJECT3__STATIC 4532
#define FOODOBJECT4__STATIC 4533
#define FOODOBJECT5__STATIC 4534
#define FOODOBJECT6__STATIC 4535
#define FOODOBJECT7__STATIC 4536
#define FOODOBJECT8__STATIC 4537
#define FOODOBJECT9__STATIC 4538
#define FOODOBJECT10__STATIC 4539
#define FOODOBJECT11__STATIC 4540
#define FOODOBJECT12__STATIC 4541
#define FOODOBJECT13__STATIC 4542
#define FOODOBJECT14__STATIC 4543
#define FOODOBJECT15__STATIC 4544
#define FOODOBJECT16__STATIC 4545
#define FOODOBJECT17__STATIC 4546
#define FOODOBJECT18__STATIC 4547
#define FOODOBJECT19__STATIC 4548
#define FOODOBJECT20__STATIC 4549
#define HEADLAMP__STATIC 4550
#define TAMPON__STATIC 4557
#define SKINNEDCHICKEN__STATIC 4554
#define FEATHEREDCHICKEN__STATIC 4555
#define ROBOTDOG2__STATIC 4560
#define JOLLYMEAL__STATIC 4569
#define DUKEBURGER__STATIC 4570
#define SHOPPINGCART__STATIC 4576
#define CANWITHSOMETHING2__STATIC 4580
#define CANWITHSOMETHING3__STATIC 4581
#define CANWITHSOMETHING4__STATIC 4582
#define SNAKEP__STATIC 4590
#define DOLPHIN1__STATIC 4591
#define DOLPHIN2__STATIC 4592
#define NEWBEAST__STATIC 4610
#define NEWBEASTSTAYPUT__STATIC 4611
#define NEWBEASTJUMP__STATIC 4690
#define NEWBEASTHANG__STATIC 4670
#define NEWBEASTHANGDEAD__STATIC 4671
#define BOSS4__STATIC 4740
#define BOSS4STAYPUT__STATIC 4741
#define FEM10__STATIC 4864
#define TOUGHGAL__STATIC 4866
#define MAN__STATIC 4871
#define MAN2__STATIC 4872
#define WOMAN__STATIC 4874
#define PLEASEWAIT__STATIC 4887
#define NATURALLIGHTNING__STATIC 4890
#define WEATHERWARN__STATIC 4893
#define DUKETAG__STATIC 4900
#define SIGN1__STATIC 4909
#define SIGN2__STATIC 4912
#define JURYGUY__STATIC 4943
#define RESERVEDSLOT1__STATIC 6132
#define RESERVEDSLOT2__STATIC 6133
#define RESERVEDSLOT3__STATIC 6134
#define RESERVEDSLOT4__STATIC 6135
#define RESERVEDSLOT5__STATIC 6136
#define RESERVEDSLOT6__STATIC 6137
#define RESERVEDSLOT7__STATIC 6138
#define RESERVEDSLOT8__STATIC 6139
#define RESERVEDSLOT9__STATIC 6140
#define RESERVEDSLOT10__STATIC 6141
#define RESERVEDSLOT11__STATIC 6142
#define RESERVEDSLOT12__STATIC 6143

extern int16_t DynamicTileMap[MAXTILES];

void G_InitDynamicTiles(void);

#ifdef DYNTILEREMAP_ENABLE

void G_ProcessDynamicTileMapping(const char *szLabel, int32_t lValue);

#if !defined LUNATIC
void inithashnames(void);
void freehashnames(void);
#endif

extern int32_t SECTOREFFECTOR;
extern int32_t ACTIVATOR;
extern int32_t TOUCHPLATE;
extern int32_t ACTIVATORLOCKED;
extern int32_t MUSICANDSFX;
extern int32_t LOCATORS;
extern int32_t CYCLER;
extern int32_t MASTERSWITCH;
extern int32_t RESPAWN;
extern int32_t GPSPEED;
extern int32_t FOF;
extern int32_t ARROW;
extern int32_t FIRSTGUNSPRITE;
extern int32_t CHAINGUNSPRITE;
extern int32_t RPGSPRITE;
extern int32_t FREEZESPRITE;
extern int32_t SHRINKERSPRITE;
extern int32_t HEAVYHBOMB;
extern int32_t TRIPBOMBSPRITE;
extern int32_t SHOTGUNSPRITE;
extern int32_t DEVISTATORSPRITE;
extern int32_t HEALTHBOX;
extern int32_t AMMOBOX;
extern int32_t GROWSPRITEICON;
extern int32_t INVENTORYBOX;
extern int32_t FREEZEAMMO;
extern int32_t AMMO;
extern int32_t BATTERYAMMO;
extern int32_t DEVISTATORAMMO;
extern int32_t RPGAMMO;
extern int32_t GROWAMMO;
extern int32_t CRYSTALAMMO;
extern int32_t HBOMBAMMO;
extern int32_t AMMOLOTS;
extern int32_t SHOTGUNAMMO;
extern int32_t COLA;
extern int32_t SIXPAK;
extern int32_t FIRSTAID;
extern int32_t SHIELD;
extern int32_t STEROIDS;
extern int32_t AIRTANK;
extern int32_t JETPACK;
extern int32_t HEATSENSOR;
extern int32_t ACCESSCARD;
extern int32_t BOOTS;
extern int32_t MIRRORBROKE;
extern int32_t CLOUDYOCEAN;
extern int32_t CLOUDYSKIES;
extern int32_t MOONSKY1;
extern int32_t MOONSKY2;
extern int32_t MOONSKY3;
extern int32_t MOONSKY4;
extern int32_t BIGORBIT1;
extern int32_t BIGORBIT2;
extern int32_t BIGORBIT3;
extern int32_t BIGORBIT4;
extern int32_t BIGORBIT5;
extern int32_t LA;
extern int32_t REDSKY1;
extern int32_t REDSKY2;
extern int32_t ATOMICHEALTH;
extern int32_t TECHLIGHT2;
extern int32_t TECHLIGHTBUST2;
extern int32_t TECHLIGHT4;
extern int32_t TECHLIGHTBUST4;
extern int32_t WALLLIGHT4;
extern int32_t WALLLIGHTBUST4;
extern int32_t ACCESSSWITCH;
extern int32_t SLOTDOOR;
extern int32_t LIGHTSWITCH;
extern int32_t SPACEDOORSWITCH;
extern int32_t SPACELIGHTSWITCH;
extern int32_t FRANKENSTINESWITCH;
extern int32_t NUKEBUTTON;
extern int32_t MULTISWITCH;
extern int32_t DOORTILE5;
extern int32_t DOORTILE6;
extern int32_t DOORTILE1;
extern int32_t DOORTILE2;
extern int32_t DOORTILE3;
extern int32_t DOORTILE4;
extern int32_t DOORTILE7;
extern int32_t DOORTILE8;
extern int32_t DOORTILE9;
extern int32_t DOORTILE10;
extern int32_t DOORSHOCK;
extern int32_t DIPSWITCH;
extern int32_t DIPSWITCH2;
extern int32_t TECHSWITCH;
extern int32_t DIPSWITCH3;
extern int32_t ACCESSSWITCH2;
extern int32_t REFLECTWATERTILE;
extern int32_t FLOORSLIME;
extern int32_t BIGFORCE;
extern int32_t EPISODE;
extern int32_t MASKWALL9;
extern int32_t W_LIGHT;
extern int32_t SCREENBREAK1;
extern int32_t SCREENBREAK2;
extern int32_t SCREENBREAK3;
extern int32_t SCREENBREAK4;
extern int32_t SCREENBREAK5;
extern int32_t SCREENBREAK6;
extern int32_t SCREENBREAK7;
extern int32_t SCREENBREAK8;
extern int32_t SCREENBREAK9;
extern int32_t SCREENBREAK10;
extern int32_t SCREENBREAK11;
extern int32_t SCREENBREAK12;
extern int32_t SCREENBREAK13;
extern int32_t MASKWALL1;
extern int32_t W_TECHWALL1;
extern int32_t W_TECHWALL2;
extern int32_t W_TECHWALL15;
extern int32_t W_TECHWALL3;
extern int32_t W_TECHWALL4;
extern int32_t W_TECHWALL10;
extern int32_t W_TECHWALL16;
extern int32_t WATERTILE2;
extern int32_t BPANNEL1;
extern int32_t PANNEL1;
extern int32_t PANNEL2;
extern int32_t WATERTILE;
extern int32_t STATIC;
extern int32_t W_SCREENBREAK;
extern int32_t W_HITTECHWALL3;
extern int32_t W_HITTECHWALL4;
extern int32_t W_HITTECHWALL2;
extern int32_t W_HITTECHWALL1;
extern int32_t MASKWALL10;
extern int32_t MASKWALL11;
extern int32_t DOORTILE22;
extern int32_t FANSPRITE;
extern int32_t FANSPRITEBROKE;
extern int32_t FANSHADOW;
extern int32_t FANSHADOWBROKE;
extern int32_t DOORTILE18;
extern int32_t DOORTILE19;
extern int32_t DOORTILE20;
extern int32_t SATELLITE;
extern int32_t VIEWSCREEN2;
extern int32_t VIEWSCREENBROKE;
extern int32_t VIEWSCREEN;
extern int32_t GLASS;
extern int32_t GLASS2;
extern int32_t STAINGLASS1;
extern int32_t MASKWALL5;
extern int32_t SATELITE;
extern int32_t FUELPOD;
extern int32_t SLIMEPIPE;
extern int32_t CRACK1;
extern int32_t CRACK2;
extern int32_t CRACK3;
extern int32_t CRACK4;
extern int32_t FOOTPRINTS;
extern int32_t DOMELITE;
extern int32_t CAMERAPOLE;
extern int32_t CHAIR1;
extern int32_t CHAIR2;
extern int32_t BROKENCHAIR;
extern int32_t MIRROR;
extern int32_t WATERFOUNTAIN;
extern int32_t WATERFOUNTAINBROKE;
extern int32_t FEMMAG1;
extern int32_t TOILET;
extern int32_t STALL;
extern int32_t STALLBROKE;
extern int32_t FEMMAG2;
extern int32_t REACTOR2;
extern int32_t REACTOR2BURNT;
extern int32_t REACTOR2SPARK;
extern int32_t GRATE1;
extern int32_t BGRATE1;
extern int32_t SOLARPANNEL;
extern int32_t NAKED1;
extern int32_t ANTENNA;
extern int32_t MASKWALL12;
extern int32_t TOILETBROKE;
extern int32_t PIPE2;
extern int32_t PIPE1B;
extern int32_t PIPE3;
extern int32_t PIPE1;
extern int32_t CAMERA1;
extern int32_t BRICK;
extern int32_t SPLINTERWOOD;
extern int32_t PIPE2B;
extern int32_t BOLT1;
extern int32_t W_NUMBERS;
extern int32_t WATERDRIP;
extern int32_t WATERBUBBLE;
extern int32_t WATERBUBBLEMAKER;
extern int32_t W_FORCEFIELD;
extern int32_t VACUUM;
extern int32_t FOOTPRINTS2;
extern int32_t FOOTPRINTS3;
extern int32_t FOOTPRINTS4;
extern int32_t EGG;
extern int32_t SCALE;
extern int32_t CHAIR3;
extern int32_t CAMERALIGHT;
extern int32_t MOVIECAMERA;
extern int32_t IVUNIT;
extern int32_t POT1;
extern int32_t POT2;
extern int32_t POT3;
extern int32_t PIPE3B;
extern int32_t WALLLIGHT3;
extern int32_t WALLLIGHTBUST3;
extern int32_t WALLLIGHT1;
extern int32_t WALLLIGHTBUST1;
extern int32_t WALLLIGHT2;
extern int32_t WALLLIGHTBUST2;
extern int32_t LIGHTSWITCH2;
extern int32_t WAITTOBESEATED;
extern int32_t DOORTILE14;
extern int32_t STATUE;
extern int32_t MIKE;
extern int32_t VASE;
extern int32_t SUSHIPLATE1;
extern int32_t SUSHIPLATE2;
extern int32_t SUSHIPLATE3;
extern int32_t SUSHIPLATE4;
extern int32_t DOORTILE16;
extern int32_t SUSHIPLATE5;
extern int32_t OJ;
extern int32_t MASKWALL13;
extern int32_t HURTRAIL;
extern int32_t POWERSWITCH1;
extern int32_t LOCKSWITCH1;
extern int32_t POWERSWITCH2;
extern int32_t ATM;
extern int32_t STATUEFLASH;
extern int32_t ATMBROKE;
extern int32_t BIGHOLE2;
extern int32_t STRIPEBALL;
extern int32_t QUEBALL;
extern int32_t POCKET;
extern int32_t WOODENHORSE;
extern int32_t TREE1;
extern int32_t TREE2;
extern int32_t CACTUS;
extern int32_t MASKWALL2;
extern int32_t MASKWALL3;
extern int32_t MASKWALL4;
extern int32_t FIREEXT;
extern int32_t TOILETWATER;
extern int32_t NEON1;
extern int32_t NEON2;
extern int32_t CACTUSBROKE;
extern int32_t BOUNCEMINE;
extern int32_t BROKEFIREHYDRENT;
extern int32_t BOX;
extern int32_t BULLETHOLE;
extern int32_t BOTTLE1;
extern int32_t BOTTLE2;
extern int32_t BOTTLE3;
extern int32_t BOTTLE4;
extern int32_t FEMPIC5;
extern int32_t FEMPIC6;
extern int32_t FEMPIC7;
extern int32_t HYDROPLANT;
extern int32_t OCEANSPRITE1;
extern int32_t OCEANSPRITE2;
extern int32_t OCEANSPRITE3;
extern int32_t OCEANSPRITE4;
extern int32_t OCEANSPRITE5;
extern int32_t GENERICPOLE;
extern int32_t CONE;
extern int32_t HANGLIGHT;
extern int32_t HYDRENT;
extern int32_t MASKWALL14;
extern int32_t TIRE;
extern int32_t PIPE5;
extern int32_t PIPE6;
extern int32_t PIPE4;
extern int32_t PIPE4B;
extern int32_t BROKEHYDROPLANT;
extern int32_t PIPE5B;
extern int32_t NEON3;
extern int32_t NEON4;
extern int32_t NEON5;
extern int32_t BOTTLE5;
extern int32_t BOTTLE6;
extern int32_t BOTTLE8;
extern int32_t SPOTLITE;
extern int32_t HANGOOZ;
extern int32_t MASKWALL15;
extern int32_t BOTTLE7;
extern int32_t HORSEONSIDE;
extern int32_t GLASSPIECES;
extern int32_t HORSELITE;
extern int32_t DONUTS;
extern int32_t NEON6;
extern int32_t MASKWALL6;
extern int32_t CLOCK;
extern int32_t RUBBERCAN;
extern int32_t BROKENCLOCK;
extern int32_t PLUG;
extern int32_t OOZFILTER;
extern int32_t FLOORPLASMA;
extern int32_t REACTOR;
extern int32_t REACTORSPARK;
extern int32_t REACTORBURNT;
extern int32_t DOORTILE15;
extern int32_t HANDSWITCH;
extern int32_t CIRCLEPANNEL;
extern int32_t CIRCLEPANNELBROKE;
extern int32_t PULLSWITCH;
extern int32_t MASKWALL8;
extern int32_t BIGHOLE;
extern int32_t ALIENSWITCH;
extern int32_t DOORTILE21;
extern int32_t HANDPRINTSWITCH;
extern int32_t BOTTLE10;
extern int32_t BOTTLE11;
extern int32_t BOTTLE12;
extern int32_t BOTTLE13;
extern int32_t BOTTLE14;
extern int32_t BOTTLE15;
extern int32_t BOTTLE16;
extern int32_t BOTTLE17;
extern int32_t BOTTLE18;
extern int32_t BOTTLE19;
extern int32_t DOORTILE17;
extern int32_t MASKWALL7;
extern int32_t JAILBARBREAK;
extern int32_t DOORTILE11;
extern int32_t DOORTILE12;
extern int32_t VENDMACHINE;
extern int32_t VENDMACHINEBROKE;
extern int32_t COLAMACHINE;
extern int32_t COLAMACHINEBROKE;
extern int32_t CRANEPOLE;
extern int32_t CRANE;
extern int32_t BARBROKE;
extern int32_t BLOODPOOL;
extern int32_t NUKEBARREL;
extern int32_t NUKEBARRELDENTED;
extern int32_t NUKEBARRELLEAKED;
extern int32_t CANWITHSOMETHING;
extern int32_t MONEY;
extern int32_t BANNER;
extern int32_t EXPLODINGBARREL;
extern int32_t EXPLODINGBARREL2;
extern int32_t FIREBARREL;
extern int32_t SEENINE;
extern int32_t SEENINEDEAD;
extern int32_t STEAM;
extern int32_t CEILINGSTEAM;
extern int32_t PIPE6B;
extern int32_t TRANSPORTERBEAM;
extern int32_t RAT;
extern int32_t TRASH;
extern int32_t FEMPIC1;
extern int32_t FEMPIC2;
extern int32_t BLANKSCREEN;
extern int32_t PODFEM1;
extern int32_t FEMPIC3;
extern int32_t FEMPIC4;
extern int32_t FEM1;
extern int32_t FEM2;
extern int32_t FEM3;
extern int32_t FEM5;
extern int32_t BLOODYPOLE;
extern int32_t FEM4;
extern int32_t FEM6;
extern int32_t FEM6PAD;
extern int32_t FEM8;
extern int32_t HELECOPT;
extern int32_t FETUSJIB;
extern int32_t HOLODUKE;
extern int32_t SPACEMARINE;
extern int32_t INDY;
extern int32_t FETUS;
extern int32_t FETUSBROKE;
extern int32_t MONK;
extern int32_t LUKE;
extern int32_t COOLEXPLOSION1;
extern int32_t WATERSPLASH2;
extern int32_t FIREVASE;
extern int32_t SCRATCH;
extern int32_t FEM7;
extern int32_t APLAYERTOP;
extern int32_t APLAYER;
extern int32_t PLAYERONWATER;
extern int32_t DUKELYINGDEAD;
extern int32_t DUKETORSO;
extern int32_t DUKEGUN;
extern int32_t DUKELEG;
extern int32_t SHARK;
extern int32_t BLOOD;
extern int32_t FIRELASER;
extern int32_t TRANSPORTERSTAR;
extern int32_t SPIT;
extern int32_t LOOGIE;
extern int32_t FIST;
extern int32_t FREEZEBLAST;
extern int32_t DEVISTATORBLAST;
extern int32_t SHRINKSPARK;
extern int32_t TONGUE;
extern int32_t MORTER;
extern int32_t SHRINKEREXPLOSION;
extern int32_t RADIUSEXPLOSION;
extern int32_t FORCERIPPLE;
extern int32_t LIZTROOP;
extern int32_t LIZTROOPRUNNING;
extern int32_t LIZTROOPSTAYPUT;
extern int32_t LIZTOP;
extern int32_t LIZTROOPSHOOT;
extern int32_t LIZTROOPJETPACK;
extern int32_t LIZTROOPDSPRITE;
extern int32_t LIZTROOPONTOILET;
extern int32_t LIZTROOPJUSTSIT;
extern int32_t LIZTROOPDUCKING;
extern int32_t HEADJIB1;
extern int32_t ARMJIB1;
extern int32_t LEGJIB1;
extern int32_t CANNONBALL;
extern int32_t OCTABRAIN;
extern int32_t OCTABRAINSTAYPUT;
extern int32_t OCTATOP;
extern int32_t OCTADEADSPRITE;
extern int32_t INNERJAW;
extern int32_t DRONE;
extern int32_t EXPLOSION2;
extern int32_t COMMANDER;
extern int32_t COMMANDERSTAYPUT;
extern int32_t RECON;
extern int32_t TANK;
extern int32_t PIGCOP;
extern int32_t PIGCOPSTAYPUT;
extern int32_t PIGCOPDIVE;
extern int32_t PIGCOPDEADSPRITE;
extern int32_t PIGTOP;
extern int32_t LIZMAN;
extern int32_t LIZMANSTAYPUT;
extern int32_t LIZMANSPITTING;
extern int32_t LIZMANFEEDING;
extern int32_t LIZMANJUMP;
extern int32_t LIZMANDEADSPRITE;
extern int32_t FECES;
extern int32_t LIZMANHEAD1;
extern int32_t LIZMANARM1;
extern int32_t LIZMANLEG1;
extern int32_t EXPLOSION2BOT;
extern int32_t USERWEAPON;
extern int32_t HEADERBAR;
extern int32_t JIBS1;
extern int32_t JIBS2;
extern int32_t JIBS3;
extern int32_t JIBS4;
extern int32_t JIBS5;
extern int32_t BURNING;
extern int32_t FIRE;
extern int32_t JIBS6;
extern int32_t BLOODSPLAT1;
extern int32_t BLOODSPLAT3;
extern int32_t BLOODSPLAT2;
extern int32_t BLOODSPLAT4;
extern int32_t OOZ;
extern int32_t OOZ2;
extern int32_t WALLBLOOD1;
extern int32_t WALLBLOOD2;
extern int32_t WALLBLOOD3;
extern int32_t WALLBLOOD4;
extern int32_t WALLBLOOD5;
extern int32_t WALLBLOOD6;
extern int32_t WALLBLOOD7;
extern int32_t WALLBLOOD8;
extern int32_t BURNING2;
extern int32_t FIRE2;
extern int32_t CRACKKNUCKLES;
extern int32_t SMALLSMOKE;
extern int32_t SMALLSMOKEMAKER;
extern int32_t FLOORFLAME;
extern int32_t ROTATEGUN;
extern int32_t GREENSLIME;
extern int32_t WATERDRIPSPLASH;
extern int32_t SCRAP6;
extern int32_t SCRAP1;
extern int32_t SCRAP2;
extern int32_t SCRAP3;
extern int32_t SCRAP4;
extern int32_t SCRAP5;
extern int32_t ORGANTIC;
extern int32_t BETAVERSION;
extern int32_t PLAYERISHERE;
extern int32_t PLAYERWASHERE;
extern int32_t SELECTDIR;
extern int32_t F1HELP;
extern int32_t NOTCHON;
extern int32_t NOTCHOFF;
extern int32_t GROWSPARK;
extern int32_t DUKEICON;
extern int32_t BADGUYICON;
extern int32_t FOODICON;
extern int32_t GETICON;
extern int32_t MENUSCREEN;
extern int32_t MENUBAR;
extern int32_t KILLSICON;
extern int32_t FIRSTAID_ICON;
extern int32_t HEAT_ICON;
extern int32_t BOTTOMSTATUSBAR;
extern int32_t BOOT_ICON;
extern int32_t FRAGBAR;
extern int32_t JETPACK_ICON;
extern int32_t AIRTANK_ICON;
extern int32_t STEROIDS_ICON;
extern int32_t HOLODUKE_ICON;
extern int32_t ACCESS_ICON;
extern int32_t DIGITALNUM;
extern int32_t DUKECAR;
extern int32_t CAMCORNER;
extern int32_t CAMLIGHT;
extern int32_t LOGO;
extern int32_t TITLE;
extern int32_t NUKEWARNINGICON;
extern int32_t MOUSECURSOR;
extern int32_t SLIDEBAR;
extern int32_t DREALMS;
extern int32_t BETASCREEN;
extern int32_t WINDOWBORDER1;
extern int32_t TEXTBOX;
extern int32_t WINDOWBORDER2;
extern int32_t DUKENUKEM;
extern int32_t THREEDEE;
extern int32_t INGAMEDUKETHREEDEE;
extern int32_t TENSCREEN;
extern int32_t PLUTOPAKSPRITE;
extern int32_t DEVISTATOR;
extern int32_t KNEE;
extern int32_t CROSSHAIR;
extern int32_t FIRSTGUN;
extern int32_t FIRSTGUNRELOAD;
extern int32_t FALLINGCLIP;
extern int32_t CLIPINHAND;
extern int32_t HAND;
extern int32_t SHELL;
extern int32_t SHOTGUNSHELL;
extern int32_t CHAINGUN;
extern int32_t RPGGUN;
extern int32_t RPGMUZZLEFLASH;
extern int32_t FREEZE;
extern int32_t CATLITE;
extern int32_t SHRINKER;
extern int32_t HANDHOLDINGLASER;
extern int32_t TRIPBOMB;
extern int32_t LASERLINE;
extern int32_t HANDHOLDINGACCESS;
extern int32_t HANDREMOTE;
extern int32_t HANDTHROW;
extern int32_t TIP;
extern int32_t GLAIR;
extern int32_t SCUBAMASK;
extern int32_t SPACEMASK;
extern int32_t FORCESPHERE;
extern int32_t SHOTSPARK1;
extern int32_t RPG;
extern int32_t LASERSITE;
extern int32_t SHOTGUN;
extern int32_t BOSS1;
extern int32_t BOSS1STAYPUT;
extern int32_t BOSS1SHOOT;
extern int32_t BOSS1LOB;
extern int32_t BOSSTOP;
extern int32_t BOSS2;
extern int32_t BOSS3;
extern int32_t SPINNINGNUKEICON;
extern int32_t BIGFNTCURSOR;
extern int32_t SMALLFNTCURSOR;
extern int32_t STARTALPHANUM;
extern int32_t ENDALPHANUM;
extern int32_t BIGALPHANUM;
extern int32_t BIGPERIOD;
extern int32_t BIGCOMMA;
extern int32_t BIGX_;
extern int32_t BIGQ;
extern int32_t BIGSEMI;
extern int32_t BIGCOLIN;
extern int32_t THREEBYFIVE;
extern int32_t BIGAPPOS;
extern int32_t BLANK;
extern int32_t MINIFONT;
extern int32_t BUTTON1;
extern int32_t GLASS3;
extern int32_t RESPAWNMARKERRED;
extern int32_t RESPAWNMARKERYELLOW;
extern int32_t RESPAWNMARKERGREEN;
extern int32_t BONUSSCREEN;
extern int32_t VIEWBORDER;
extern int32_t VICTORY1;
extern int32_t ORDERING;
extern int32_t TEXTSTORY;
extern int32_t LOADSCREEN;
extern int32_t BORNTOBEWILDSCREEN;
extern int32_t BLIMP;
extern int32_t FEM9;
extern int32_t FOOTPRINT;
extern int32_t FRAMEEFFECT1_13;
extern int32_t POOP;
extern int32_t FRAMEEFFECT1;
extern int32_t PANNEL3;
extern int32_t SCREENBREAK14;
extern int32_t SCREENBREAK15;
extern int32_t SCREENBREAK19;
extern int32_t SCREENBREAK16;
extern int32_t SCREENBREAK17;
extern int32_t SCREENBREAK18;
extern int32_t W_TECHWALL11;
extern int32_t W_TECHWALL12;
extern int32_t W_TECHWALL13;
extern int32_t W_TECHWALL14;
extern int32_t W_TECHWALL5;
extern int32_t W_TECHWALL6;
extern int32_t W_TECHWALL7;
extern int32_t W_TECHWALL8;
extern int32_t W_TECHWALL9;
extern int32_t BPANNEL3;
extern int32_t W_HITTECHWALL16;
extern int32_t W_HITTECHWALL10;
extern int32_t W_HITTECHWALL15;
extern int32_t W_MILKSHELF;
extern int32_t W_MILKSHELFBROKE;
extern int32_t PURPLELAVA;
extern int32_t LAVABUBBLE;
extern int32_t DUKECUTOUT;
extern int32_t TARGET;
extern int32_t GUNPOWDERBARREL;
extern int32_t DUCK;
extern int32_t HATRACK;
extern int32_t DESKLAMP;
extern int32_t COFFEEMACHINE;
extern int32_t CUPS;
extern int32_t GAVALS;
extern int32_t GAVALS2;
extern int32_t POLICELIGHTPOLE;
extern int32_t FLOORBASKET;
extern int32_t PUKE;
extern int32_t DOORTILE23;
extern int32_t TOPSECRET;
extern int32_t SPEAKER;
extern int32_t TEDDYBEAR;
extern int32_t ROBOTDOG;
extern int32_t ROBOTPIRATE;
extern int32_t ROBOTMOUSE;
extern int32_t MAIL;
extern int32_t MAILBAG;
extern int32_t HOTMEAT;
extern int32_t COFFEEMUG;
extern int32_t DONUTS2;
extern int32_t TRIPODCAMERA;
extern int32_t METER;
extern int32_t DESKPHONE;
extern int32_t GUMBALLMACHINE;
extern int32_t GUMBALLMACHINEBROKE;
extern int32_t PAPER;
extern int32_t MACE;
extern int32_t GENERICPOLE2;
extern int32_t XXXSTACY;
extern int32_t WETFLOOR;
extern int32_t BROOM;
extern int32_t MOP;
extern int32_t LETTER;
extern int32_t PIRATE1A;
extern int32_t PIRATE4A;
extern int32_t PIRATE2A;
extern int32_t PIRATE5A;
extern int32_t PIRATE3A;
extern int32_t PIRATE6A;
extern int32_t PIRATEHALF;
extern int32_t CHESTOFGOLD;
extern int32_t SIDEBOLT1;
extern int32_t FOODOBJECT1;
extern int32_t FOODOBJECT2;
extern int32_t FOODOBJECT3;
extern int32_t FOODOBJECT4;
extern int32_t FOODOBJECT5;
extern int32_t FOODOBJECT6;
extern int32_t FOODOBJECT7;
extern int32_t FOODOBJECT8;
extern int32_t FOODOBJECT9;
extern int32_t FOODOBJECT10;
extern int32_t FOODOBJECT11;
extern int32_t FOODOBJECT12;
extern int32_t FOODOBJECT13;
extern int32_t FOODOBJECT14;
extern int32_t FOODOBJECT15;
extern int32_t FOODOBJECT16;
extern int32_t FOODOBJECT17;
extern int32_t FOODOBJECT18;
extern int32_t FOODOBJECT19;
extern int32_t FOODOBJECT20;
extern int32_t HEADLAMP;
extern int32_t TAMPON;
extern int32_t SKINNEDCHICKEN;
extern int32_t FEATHEREDCHICKEN;
extern int32_t ROBOTDOG2;
extern int32_t JOLLYMEAL;
extern int32_t DUKEBURGER;
extern int32_t SHOPPINGCART;
extern int32_t CANWITHSOMETHING2;
extern int32_t CANWITHSOMETHING3;
extern int32_t CANWITHSOMETHING4;
extern int32_t SNAKEP;
extern int32_t DOLPHIN1;
extern int32_t DOLPHIN2;
extern int32_t NEWBEAST;
extern int32_t NEWBEASTSTAYPUT;
extern int32_t NEWBEASTJUMP;
extern int32_t NEWBEASTHANG;
extern int32_t NEWBEASTHANGDEAD;
extern int32_t BOSS4;
extern int32_t BOSS4STAYPUT;
extern int32_t FEM10;
extern int32_t TOUGHGAL;
extern int32_t MAN;
extern int32_t MAN2;
extern int32_t WOMAN;
extern int32_t PLEASEWAIT;
extern int32_t NATURALLIGHTNING;
extern int32_t WEATHERWARN;
extern int32_t DUKETAG;
extern int32_t SIGN1;
extern int32_t SIGN2;
extern int32_t JURYGUY;
extern int32_t RESERVEDSLOT1;
extern int32_t RESERVEDSLOT2;
extern int32_t RESERVEDSLOT3;
extern int32_t RESERVEDSLOT4;
extern int32_t RESERVEDSLOT5;
extern int32_t RESERVEDSLOT6;
extern int32_t RESERVEDSLOT7;
extern int32_t RESERVEDSLOT8;
extern int32_t RESERVEDSLOT9;
extern int32_t RESERVEDSLOT10;
extern int32_t RESERVEDSLOT11;
extern int32_t RESERVEDSLOT12;

#define DYNAMICTILEMAP(Tilenum) (DynamicTileMap[Tilenum])

#else  /* if !defined DYNTILEREMAP_ENABLE */

#define G_ProcessDynamicTileMapping(x, y) ((void)(0))

#define inithashnames() ((void)0)
#define freehashnames() ((void)0)

#include "names.h"
#undef SPACESHUTTLE
#undef CANNON
#undef CANNONBALLS

#define DYNAMICTILEMAP(Tilenum) (Tilenum)

#endif
