From 517c392a3c6fbb57ccf376607816813a833df8ea Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 6 Feb 2008 21:02:11 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@612 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/polymost.c | 30 +- polymer/eduke32/source/actors.c | 84 +- polymer/eduke32/source/funct.h | 14 +- polymer/eduke32/source/game.c | 2 +- polymer/eduke32/source/gameexec.c | 6 +- polymer/eduke32/source/namesdyn.c | 1479 +++++++++++++++-------------- polymer/eduke32/source/namesdyn.h | 1476 ++++++++++++++-------------- polymer/eduke32/source/sector.c | 6 +- 8 files changed, 1531 insertions(+), 1566 deletions(-) diff --git a/polymer/build/src/polymost.c b/polymer/build/src/polymost.c index 7e85c863b..cd2f86c37 100644 --- a/polymer/build/src/polymost.c +++ b/polymer/build/src/polymost.c @@ -171,18 +171,16 @@ int r_animsmoothing = 1; static float fogresult, ofogresult, fogcol[4]; -static void fogcalc(signed char shade, char vis, char pal) -{ - if (vis < 240) fogresult = (float)gvisibility*(vis+16+(shade<0?(-(shade)*(shade))/8.f:((shade)*(shade))/8.f)); - else fogresult = (float)gvisibility*((vis-240+(shade<0?(-(shade)*(shade))/8.f:((shade)*(shade))/8.f))/(klabs(vis-256))); - - if (fogresult < 0.010) fogresult = 0.010; - else if (fogresult > 10.000) fogresult = 10.000; - - fogcol[0] = (float)palookupfog[pal].r / 63.f; - fogcol[1] = (float)palookupfog[pal].g / 63.f; - fogcol[2] = (float)palookupfog[pal].b / 63.f; - fogcol[3] = 0; +// making this a macro should speed things up at the expense of code size +#define fogcalc(shade, vis, pal) \ +{ \ + fogresult = (float)gvisibility*(vis+16+(shade<0?(-(shade)*(shade))*0.125f:((shade)*(shade))*0.125f)); \ + if (vis > 239) fogresult = (float)gvisibility*((vis-240+(shade<0?(-(shade)*(shade))*0.125f:((shade)*(shade))*0.125f))/(klabs(vis-256))); \ + fogresult = min(max(fogresult, 0.01f),10.f); \ + fogcol[0] = (float)palookupfog[pal].r / 63.f; \ + fogcol[1] = (float)palookupfog[pal].g / 63.f; \ + fogcol[2] = (float)palookupfog[pal].b / 63.f; \ + fogcol[3] = 0; \ } #endif @@ -1779,10 +1777,10 @@ void drawpoly(double *dpx, double *dpy, int n, int method) float hackscx, hackscy; int pal1; - if(usehightile) - for (pal1=SPECPAL;pal1<=REDPAL;pal1++) - if (hicfindsubst(globalpicnum, pal1, 0)) - gltexcache(globalpicnum, pal1, method&(~3)); + if (usehightile) + for (pal1=SPECPAL;pal1<=REDPAL;pal1++) + if (hicfindsubst(globalpicnum, pal1, 0)) + gltexcache(globalpicnum, pal1, method&(~3)); if (skyclamphack) method |= 4; pth = gltexcache(globalpicnum,globalpal,method&(~3)); diff --git a/polymer/eduke32/source/actors.c b/polymer/eduke32/source/actors.c index 1e68ffc83..ee494c74a 100644 --- a/polymer/eduke32/source/actors.c +++ b/polymer/eduke32/source/actors.c @@ -27,19 +27,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern int numenvsnds; extern int actor_tog; -void updateinterpolations() //Stick at beginning of domovethings +inline void updateinterpolations(void) //Stick at beginning of domovethings { int i=numinterpolations-1; - for (;i>=0;i--) oldipos[i] = *curipos[i]; } void setinterpolation(int *posptr) { - int i; + int i=numinterpolations-1; if (numinterpolations >= MAXINTERPOLATIONS) return; - for (i=numinterpolations-1;i>=0;i--) + for (;i>=0;i--) if (curipos[i] == posptr) return; curipos[numinterpolations] = posptr; oldipos[numinterpolations] = *posptr; @@ -48,9 +47,9 @@ void setinterpolation(int *posptr) void stopinterpolation(int *posptr) { - int i; + int i=numinterpolations-1; - for (i=numinterpolations-1;i>=startofdynamicinterpolations;i--) + for (;i>=startofdynamicinterpolations;i--) if (curipos[i] == posptr) { numinterpolations--; @@ -74,27 +73,20 @@ void dointerpolations(int smoothratio) //Stick at beginning of drawscreen } } -void restoreinterpolations() //Stick at end of drawscreen +inline void restoreinterpolations(void) //Stick at end of drawscreen { int i=numinterpolations-1; - for (;i>=0;i--) *curipos[i] = bakipos[i]; } -int ceilingspace(int sectnum) +inline int ceilingspace(int sectnum) { - if ((sector[sectnum].ceilingstat&1) && sector[sectnum].ceilingpal == 0 && (sector[sectnum].ceilingpicnum==MOONSKY1 || sector[sectnum].ceilingpicnum==BIGORBIT1)) - return 1; - return 0; + return ((sector[sectnum].ceilingstat&1) && sector[sectnum].ceilingpal == 0 && (sector[sectnum].ceilingpicnum==MOONSKY1 || sector[sectnum].ceilingpicnum==BIGORBIT1)?1:0); } -int floorspace(int sectnum) +inline int floorspace(int sectnum) { - if ((sector[sectnum].floorstat&1) && sector[sectnum].ceilingpal == 0) - { - if ((sector[sectnum].floorpicnum==MOONSKY1)||(sector[sectnum].floorpicnum==BIGORBIT1)) return 1; - } - return 0; + return ((sector[sectnum].floorstat&1) && sector[sectnum].ceilingpal == 0 && ((sector[sectnum].floorpicnum==MOONSKY1)||(sector[sectnum].floorpicnum==BIGORBIT1))?1:0); } void addammo(int weapon,player_struct *p,int amount) @@ -541,15 +533,12 @@ int movesprite(int spritenum, int xchange, int ychange, int zchange, unsigned in return(retval); } -int ssp(int i,unsigned int cliptype) //The set sprite function +inline int ssp(int i,unsigned int cliptype) //The set sprite function { - spritetype *s= &sprite[i]; - int movetype = movesprite(i, - (s->xvel*(sintable[(s->ang+512)&2047]))>>14, - (s->xvel*(sintable[s->ang&2047]))>>14,s->zvel, - cliptype); - - return (movetype==0); + return (movesprite(i, + (sprite[i].xvel*(sintable[(sprite[i].ang+512)&2047]))>>14, + (sprite[i].xvel*(sintable[sprite[i].ang&2047]))>>14,sprite[i].zvel, + cliptype)==0); } #undef deletesprite @@ -570,49 +559,26 @@ void deletespriteEVENT(int s) void insertspriteq(int i) { - if (spriteqamount > 0) + if (spriteqamount == 0) { - if (spriteq[spriteqloc] >= 0) - sprite[spriteq[spriteqloc]].xrepeat = 0; - spriteq[spriteqloc] = i; - spriteqloc = (spriteqloc+1)%spriteqamount; + deletesprite(i); + return; } - // else sprite[i].xrepeat = sprite[i].yrepeat = 0; - else deletesprite(i); + + if (spriteq[spriteqloc] >= 0) + sprite[spriteq[spriteqloc]].xrepeat = 0; + spriteq[spriteqloc] = i; + spriteqloc = (spriteqloc+1)%spriteqamount; } -void lotsofmoney(int sp, int n) +void lotsofmoneymailpaper(int sp, int n, int pic) { int i=n ,j; spritetype *s = &sprite[sp]; for (;i>0;i--) { - j = EGS(s->sectnum,s->x,s->y,s->z-(TRAND%(47<<8)),MONEY,-32,8,8,TRAND&2047,0,0,sp,5); - sprite[j].cstat = TRAND&12; - } -} - -void lotsofmail(int sp, int n) -{ - int i=n ,j; - spritetype *s = &sprite[sp]; - - for (;i>0;i--) - { - j = EGS(s->sectnum,s->x,s->y,s->z-(TRAND%(47<<8)),MAIL,-32,8,8,TRAND&2047,0,0,sp,5); - sprite[j].cstat = TRAND&12; - } -} - -void lotsofpaper(int sp, int n) -{ - int i=n ,j; - spritetype *s = &sprite[sp]; - - for (;i>0;i--) - { - j = EGS(s->sectnum,s->x,s->y,s->z-(TRAND%(47<<8)),PAPER,-32,8,8,TRAND&2047,0,0,sp,5); + j = EGS(s->sectnum,s->x,s->y,s->z-(TRAND%(47<<8)),pic,-32,8,8,TRAND&2047,0,0,sp,5); sprite[j].cstat = TRAND&12; } } diff --git a/polymer/eduke32/source/funct.h b/polymer/eduke32/source/funct.h index 821c432bc..ebf595053 100644 --- a/polymer/eduke32/source/funct.h +++ b/polymer/eduke32/source/funct.h @@ -161,13 +161,13 @@ extern void CONFIG_ReadKeys(void); extern void readsavenames(void); extern int32 CONFIG_ReadSetup(void); extern void CONFIG_WriteSetup(void); -extern void updateinterpolations(void); +extern inline void updateinterpolations(void); extern void setinterpolation(int *posptr); extern void stopinterpolation(int *posptr); extern void dointerpolations(int smoothratio); -extern void restoreinterpolations(void); -extern int ceilingspace(int sectnum); -extern int floorspace(int sectnum); +extern inline void restoreinterpolations(void); +extern inline int ceilingspace(int sectnum); +extern inline int floorspace(int sectnum); extern void addammo(int weapon,player_struct *p,int amount); extern void addweaponnoswitch(player_struct *p,int weapon); extern void addweapon(player_struct *p,int weapon); @@ -175,11 +175,9 @@ extern void checkavailinven(player_struct *p); extern void checkavailweapon(player_struct *p); extern void hitradius(int i,int r,int hp1,int hp2,int hp3,int hp4); extern int movesprite(int spritenum,int xchange,int ychange,int zchange,unsigned int cliptype); -extern int ssp(int i,unsigned int cliptype); +extern inline int ssp(int i,unsigned int cliptype); extern void insertspriteq(int i); -extern void lotsofmoney(int sp,int n); -extern void lotsofmail(int sp, int n); -extern void lotsofpaper(int sp, int n); +extern void lotsofmoneymailpaper(int sp,int n,int pic); extern void guts(int sp,int gtype,int n,int p); extern void setsectinterpolate(int i); extern void clearsectinterpolate(int i); diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 2fb2c39df..f92bfd98f 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -3675,7 +3675,7 @@ static void view(player_struct *pp, int *vx, int *vy,int *vz,short *vsectnum, in //REPLACE FULLY void drawbackground(void) { - short dapicnum; + int dapicnum; int x,y,x1,y1,x2,y2,rx; flushperms(); diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 15aaec760..589a66ec4 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -4015,12 +4015,12 @@ static int parse(void) case CON_MONEY: insptr++; - lotsofmoney(g_i,*insptr++); + lotsofmoneymailpaper(g_i,*insptr++,MONEY); break; case CON_MAIL: insptr++; - lotsofmail(g_i,*insptr++); + lotsofmoneymailpaper(g_i,*insptr++,MAIL); break; case CON_SLEEPTIME: @@ -4030,7 +4030,7 @@ static int parse(void) case CON_PAPER: insptr++; - lotsofpaper(g_i,*insptr++); + lotsofmoneymailpaper(g_i,*insptr++,PAPER); break; case CON_ADDKILLS: diff --git a/polymer/eduke32/source/namesdyn.c b/polymer/eduke32/source/namesdyn.c index 4ecc9d775..4002d512a 100644 --- a/polymer/eduke32/source/namesdyn.c +++ b/polymer/eduke32/source/namesdyn.c @@ -28,748 +28,751 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "duke3d.h" #include "compat.h" -unsigned short SECTOREFFECTOR = 1; -unsigned short ACTIVATOR = 2; -unsigned short TOUCHPLATE = 3; -unsigned short ACTIVATORLOCKED = 4; -unsigned short MUSICANDSFX = 5; -unsigned short LOCATORS = 6; -unsigned short CYCLER = 7; -unsigned short MASTERSWITCH = 8; -unsigned short RESPAWN = 9; -unsigned short GPSPEED = 10; -unsigned short FOF = 13; -unsigned short ARROW = 20; -unsigned short FIRSTGUNSPRITE = 21; -unsigned short CHAINGUNSPRITE = 22; -unsigned short RPGSPRITE = 23; -unsigned short FREEZESPRITE = 24; -unsigned short SHRINKERSPRITE = 25; -unsigned short HEAVYHBOMB = 26; -unsigned short TRIPBOMBSPRITE = 27; -unsigned short SHOTGUNSPRITE = 28; -unsigned short DEVISTATORSPRITE = 29; -unsigned short HEALTHBOX = 30; -unsigned short AMMOBOX = 31; -unsigned short GROWSPRITEICON = 32; -unsigned short INVENTORYBOX = 33; -unsigned short FREEZEAMMO = 37; -unsigned short AMMO = 40; -unsigned short BATTERYAMMO = 41; -unsigned short DEVISTATORAMMO = 42; -unsigned short RPGAMMO = 44; -unsigned short GROWAMMO = 45; -unsigned short CRYSTALAMMO = 46; -unsigned short HBOMBAMMO = 47; -unsigned short AMMOLOTS = 48; -unsigned short SHOTGUNAMMO = 49; -unsigned short COLA = 51; -unsigned short SIXPAK = 52; -unsigned short FIRSTAID = 53; -unsigned short SHIELD = 54; -unsigned short STEROIDS = 55; -unsigned short AIRTANK = 56; -unsigned short JETPACK = 57; -unsigned short HEATSENSOR = 59; -unsigned short ACCESSCARD = 60; -unsigned short BOOTS = 61; -unsigned short MIRRORBROKE = 70; -unsigned short CLOUDYOCEAN = 78; -unsigned short CLOUDYSKIES = 79; -unsigned short MOONSKY1 = 80; -unsigned short MOONSKY2 = 81; -unsigned short MOONSKY3 = 82; -unsigned short MOONSKY4 = 83; -unsigned short BIGORBIT1 = 84; -unsigned short BIGORBIT2 = 85; -unsigned short BIGORBIT3 = 86; -unsigned short BIGORBIT4 = 87; -unsigned short BIGORBIT5 = 88; -unsigned short LA = 89; -unsigned short REDSKY1 = 98; -unsigned short REDSKY2 = 99; -unsigned short ATOMICHEALTH = 100; -unsigned short TECHLIGHT2 = 120; -unsigned short TECHLIGHTBUST2 = 121; -unsigned short TECHLIGHT4 = 122; -unsigned short TECHLIGHTBUST4 = 123; -unsigned short WALLLIGHT4 = 124; -unsigned short WALLLIGHTBUST4 = 125; -unsigned short ACCESSSWITCH = 130; -unsigned short SLOTDOOR = 132; -unsigned short LIGHTSWITCH = 134; -unsigned short SPACEDOORSWITCH = 136; -unsigned short SPACELIGHTSWITCH = 138; -unsigned short FRANKENSTINESWITCH = 140; -unsigned short NUKEBUTTON = 142; -unsigned short MULTISWITCH = 146; -unsigned short DOORTILE5 = 150; -unsigned short DOORTILE6 = 151; -unsigned short DOORTILE1 = 152; -unsigned short DOORTILE2 = 153; -unsigned short DOORTILE3 = 154; -unsigned short DOORTILE4 = 155; -unsigned short DOORTILE7 = 156; -unsigned short DOORTILE8 = 157; -unsigned short DOORTILE9 = 158; -unsigned short DOORTILE10 = 159; -unsigned short DOORSHOCK = 160; -unsigned short DIPSWITCH = 162; -unsigned short DIPSWITCH2 = 164; -unsigned short TECHSWITCH = 166; -unsigned short DIPSWITCH3 = 168; -unsigned short ACCESSSWITCH2 = 170; -unsigned short REFLECTWATERTILE = 180; -unsigned short FLOORSLIME = 200; -unsigned short BIGFORCE = 230; -unsigned short EPISODE = 247; -unsigned short MASKWALL9 = 255; -unsigned short W_LIGHT = 260; -unsigned short SCREENBREAK1 = 263; -unsigned short SCREENBREAK2 = 264; -unsigned short SCREENBREAK3 = 265; -unsigned short SCREENBREAK4 = 266; -unsigned short SCREENBREAK5 = 267; -unsigned short SCREENBREAK6 = 268; -unsigned short SCREENBREAK7 = 269; -unsigned short SCREENBREAK8 = 270; -unsigned short SCREENBREAK9 = 271; -unsigned short SCREENBREAK10 = 272; -unsigned short SCREENBREAK11 = 273; -unsigned short SCREENBREAK12 = 274; -unsigned short SCREENBREAK13 = 275; -unsigned short MASKWALL1 = 285; -unsigned short W_TECHWALL1 = 293; -unsigned short W_TECHWALL2 = 297; -unsigned short W_TECHWALL15 = 299; -unsigned short W_TECHWALL3 = 301; -unsigned short W_TECHWALL4 = 305; -unsigned short W_TECHWALL10 = 306; -unsigned short W_TECHWALL16 = 307; -unsigned short WATERTILE2 = 336; -unsigned short BPANNEL1 = 341; -unsigned short PANNEL1 = 342; -unsigned short PANNEL2 = 343; -unsigned short WATERTILE = 344; -unsigned short STATIC = 351; -unsigned short W_SCREENBREAK = 357; -unsigned short W_HITTECHWALL3 = 360; -unsigned short W_HITTECHWALL4 = 361; -unsigned short W_HITTECHWALL2 = 362; -unsigned short W_HITTECHWALL1 = 363; -unsigned short MASKWALL10 = 387; -unsigned short MASKWALL11 = 391; -unsigned short DOORTILE22 = 395; -unsigned short FANSPRITE = 407; -unsigned short FANSPRITEBROKE = 411; -unsigned short FANSHADOW = 412; -unsigned short FANSHADOWBROKE = 416; -unsigned short DOORTILE18 = 447; -unsigned short DOORTILE19 = 448; -unsigned short DOORTILE20 = 449; -unsigned short SATELLITE = 489; -unsigned short VIEWSCREEN2 = 499; -unsigned short VIEWSCREENBROKE = 501; -unsigned short VIEWSCREEN = 502; -unsigned short GLASS = 503; -unsigned short GLASS2 = 504; -unsigned short STAINGLASS1 = 510; -unsigned short MASKWALL5 = 514; -unsigned short SATELITE = 516; -unsigned short FUELPOD = 517; -unsigned short SLIMEPIPE = 538; -unsigned short CRACK1 = 546; -unsigned short CRACK2 = 547; -unsigned short CRACK3 = 548; -unsigned short CRACK4 = 549; -unsigned short FOOTPRINTS = 550; -unsigned short DOMELITE = 551; -unsigned short CAMERAPOLE = 554; -unsigned short CHAIR1 = 556; -unsigned short CHAIR2 = 557; -unsigned short BROKENCHAIR = 559; -unsigned short MIRROR = 560; -unsigned short WATERFOUNTAIN = 563; -unsigned short WATERFOUNTAINBROKE = 567; -unsigned short FEMMAG1 = 568; -unsigned short TOILET = 569; -unsigned short STALL = 571; -unsigned short STALLBROKE = 573; -unsigned short FEMMAG2 = 577; -unsigned short REACTOR2 = 578; -unsigned short REACTOR2BURNT = 579; -unsigned short REACTOR2SPARK = 580; -unsigned short GRATE1 = 595; -unsigned short BGRATE1 = 596; -unsigned short SOLARPANNEL = 602; -unsigned short NAKED1 = 603; -unsigned short ANTENNA = 607; -unsigned short MASKWALL12 = 609; -unsigned short TOILETBROKE = 615; -unsigned short PIPE2 = 616; -unsigned short PIPE1B = 617; -unsigned short PIPE3 = 618; -unsigned short PIPE1 = 619; -unsigned short CAMERA1 = 621; -unsigned short BRICK = 626; -unsigned short SPLINTERWOOD = 630; -unsigned short PIPE2B = 633; -unsigned short BOLT1 = 634; -unsigned short W_NUMBERS = 640; -unsigned short WATERDRIP = 660; -unsigned short WATERBUBBLE = 661; -unsigned short WATERBUBBLEMAKER = 662; -unsigned short W_FORCEFIELD = 663; -unsigned short VACUUM = 669; -unsigned short FOOTPRINTS2 = 672; -unsigned short FOOTPRINTS3 = 673; -unsigned short FOOTPRINTS4 = 674; -unsigned short EGG = 675; -unsigned short SCALE = 678; -unsigned short CHAIR3 = 680; -unsigned short CAMERALIGHT = 685; -unsigned short MOVIECAMERA = 686; -unsigned short IVUNIT = 689; -unsigned short POT1 = 694; -unsigned short POT2 = 695; -unsigned short POT3 = 697; -unsigned short PIPE3B = 700; -unsigned short WALLLIGHT3 = 701; -unsigned short WALLLIGHTBUST3 = 702; -unsigned short WALLLIGHT1 = 703; -unsigned short WALLLIGHTBUST1 = 704; -unsigned short WALLLIGHT2 = 705; -unsigned short WALLLIGHTBUST2 = 706; -unsigned short LIGHTSWITCH2 = 712; -unsigned short WAITTOBESEATED = 716; -unsigned short DOORTILE14 = 717; -unsigned short STATUE = 753; -unsigned short MIKE = 762; -unsigned short VASE = 765; -unsigned short SUSHIPLATE1 = 768; -unsigned short SUSHIPLATE2 = 769; -unsigned short SUSHIPLATE3 = 774; -unsigned short SUSHIPLATE4 = 779; -unsigned short DOORTILE16 = 781; -unsigned short SUSHIPLATE5 = 792; -unsigned short OJ = 806; -unsigned short MASKWALL13 = 830; -unsigned short HURTRAIL = 859; -unsigned short POWERSWITCH1 = 860; -unsigned short LOCKSWITCH1 = 862; -unsigned short POWERSWITCH2 = 864; -unsigned short ATM = 867; -unsigned short STATUEFLASH = 869; -unsigned short ATMBROKE = 888; -unsigned short BIGHOLE2 = 893; -unsigned short STRIPEBALL = 901; -unsigned short QUEBALL = 902; -unsigned short POCKET = 903; -unsigned short WOODENHORSE = 904; -unsigned short TREE1 = 908; -unsigned short TREE2 = 910; -unsigned short CACTUS = 911; -unsigned short MASKWALL2 = 913; -unsigned short MASKWALL3 = 914; -unsigned short MASKWALL4 = 915; -unsigned short FIREEXT = 916; -unsigned short TOILETWATER = 921; -unsigned short NEON1 = 925; -unsigned short NEON2 = 926; -unsigned short CACTUSBROKE = 939; -unsigned short BOUNCEMINE = 940; -unsigned short BROKEFIREHYDRENT = 950; -unsigned short BOX = 951; -unsigned short BULLETHOLE = 952; -unsigned short BOTTLE1 = 954; -unsigned short BOTTLE2 = 955; -unsigned short BOTTLE3 = 956; -unsigned short BOTTLE4 = 957; -unsigned short FEMPIC5 = 963; -unsigned short FEMPIC6 = 964; -unsigned short FEMPIC7 = 965; -unsigned short HYDROPLANT = 969; -unsigned short OCEANSPRITE1 = 971; -unsigned short OCEANSPRITE2 = 972; -unsigned short OCEANSPRITE3 = 973; -unsigned short OCEANSPRITE4 = 974; -unsigned short OCEANSPRITE5 = 975; -unsigned short GENERICPOLE = 977; -unsigned short CONE = 978; -unsigned short HANGLIGHT = 979; -unsigned short HYDRENT = 981; -unsigned short MASKWALL14 = 988; -unsigned short TIRE = 990; -unsigned short PIPE5 = 994; -unsigned short PIPE6 = 995; -unsigned short PIPE4 = 996; -unsigned short PIPE4B = 997; -unsigned short BROKEHYDROPLANT = 1003; -unsigned short PIPE5B = 1005; -unsigned short NEON3 = 1007; -unsigned short NEON4 = 1008; -unsigned short NEON5 = 1009; -unsigned short BOTTLE5 = 1012; -unsigned short BOTTLE6 = 1013; -unsigned short BOTTLE8 = 1014; -unsigned short SPOTLITE = 1020; -unsigned short HANGOOZ = 1022; -unsigned short MASKWALL15 = 1024; -unsigned short BOTTLE7 = 1025; -unsigned short HORSEONSIDE = 1026; -unsigned short GLASSPIECES = 1031; -unsigned short HORSELITE = 1034; -unsigned short DONUTS = 1045; -unsigned short NEON6 = 1046; -unsigned short MASKWALL6 = 1059; -unsigned short CLOCK = 1060; -unsigned short RUBBERCAN = 1062; -unsigned short BROKENCLOCK = 1067; -unsigned short PLUG = 1069; -unsigned short OOZFILTER = 1079; -unsigned short FLOORPLASMA = 1082; -unsigned short REACTOR = 1088; -unsigned short REACTORSPARK = 1092; -unsigned short REACTORBURNT = 1096; -unsigned short DOORTILE15 = 1102; -unsigned short HANDSWITCH = 1111; -unsigned short CIRCLEPANNEL = 1113; -unsigned short CIRCLEPANNELBROKE = 1114; -unsigned short PULLSWITCH = 1122; -unsigned short MASKWALL8 = 1124; -unsigned short BIGHOLE = 1141; -unsigned short ALIENSWITCH = 1142; -unsigned short DOORTILE21 = 1144; -unsigned short HANDPRINTSWITCH = 1155; -unsigned short BOTTLE10 = 1157; -unsigned short BOTTLE11 = 1158; -unsigned short BOTTLE12 = 1159; -unsigned short BOTTLE13 = 1160; -unsigned short BOTTLE14 = 1161; -unsigned short BOTTLE15 = 1162; -unsigned short BOTTLE16 = 1163; -unsigned short BOTTLE17 = 1164; -unsigned short BOTTLE18 = 1165; -unsigned short BOTTLE19 = 1166; -unsigned short DOORTILE17 = 1169; -unsigned short MASKWALL7 = 1174; -unsigned short JAILBARBREAK = 1175; -unsigned short DOORTILE11 = 1178; -unsigned short DOORTILE12 = 1179; -unsigned short VENDMACHINE = 1212; -unsigned short VENDMACHINEBROKE = 1214; -unsigned short COLAMACHINE = 1215; -unsigned short COLAMACHINEBROKE = 1217; -unsigned short CRANEPOLE = 1221; -unsigned short CRANE = 1222; -unsigned short BARBROKE = 1225; -unsigned short BLOODPOOL = 1226; -unsigned short NUKEBARREL = 1227; -unsigned short NUKEBARRELDENTED = 1228; -unsigned short NUKEBARRELLEAKED = 1229; -unsigned short CANWITHSOMETHING = 1232; -unsigned short MONEY = 1233; -unsigned short BANNER = 1236; -unsigned short EXPLODINGBARREL = 1238; -unsigned short EXPLODINGBARREL2 = 1239; -unsigned short FIREBARREL = 1240; -unsigned short SEENINE = 1247; -unsigned short SEENINEDEAD = 1248; -unsigned short STEAM = 1250; -unsigned short CEILINGSTEAM = 1255; -unsigned short PIPE6B = 1260; -unsigned short TRANSPORTERBEAM = 1261; -unsigned short RAT = 1267; -unsigned short TRASH = 1272; -unsigned short FEMPIC1 = 1280; -unsigned short FEMPIC2 = 1289; -unsigned short BLANKSCREEN = 1293; -unsigned short PODFEM1 = 1294; -unsigned short FEMPIC3 = 1298; -unsigned short FEMPIC4 = 1306; -unsigned short FEM1 = 1312; -unsigned short FEM2 = 1317; -unsigned short FEM3 = 1321; -unsigned short FEM5 = 1323; -unsigned short BLOODYPOLE = 1324; -unsigned short FEM4 = 1325; -unsigned short FEM6 = 1334; -unsigned short FEM6PAD = 1335; -unsigned short FEM8 = 1336; -unsigned short HELECOPT = 1346; -unsigned short FETUSJIB = 1347; -unsigned short HOLODUKE = 1348; -unsigned short SPACEMARINE = 1353; -unsigned short INDY = 1355; -unsigned short FETUS = 1358; -unsigned short FETUSBROKE = 1359; -unsigned short MONK = 1352; -unsigned short LUKE = 1354; -unsigned short COOLEXPLOSION1 = 1360; -unsigned short WATERSPLASH2 = 1380; -unsigned short FIREVASE = 1390; -unsigned short SCRATCH = 1393; -unsigned short FEM7 = 1395; -unsigned short APLAYERTOP = 1400; -unsigned short APLAYER = 1405; -unsigned short PLAYERONWATER = 1420; -unsigned short DUKELYINGDEAD = 1518; -unsigned short DUKETORSO = 1520; -unsigned short DUKEGUN = 1528; -unsigned short DUKELEG = 1536; -unsigned short SHARK = 1550; -unsigned short BLOOD = 1620; -unsigned short FIRELASER = 1625; -unsigned short TRANSPORTERSTAR = 1630; -unsigned short SPIT = 1636; -unsigned short LOOGIE = 1637; -unsigned short FIST = 1640; -unsigned short FREEZEBLAST = 1641; -unsigned short DEVISTATORBLAST = 1642; -unsigned short SHRINKSPARK = 1646; -unsigned short TONGUE = 1647; -unsigned short MORTER = 1650; -unsigned short SHRINKEREXPLOSION = 1656; -unsigned short RADIUSEXPLOSION = 1670; -unsigned short FORCERIPPLE = 1671; -unsigned short LIZTROOP = 1680; -unsigned short LIZTROOPRUNNING = 1681; -unsigned short LIZTROOPSTAYPUT = 1682; -unsigned short LIZTOP = 1705; -unsigned short LIZTROOPSHOOT = 1715; -unsigned short LIZTROOPJETPACK = 1725; -unsigned short LIZTROOPDSPRITE = 1734; -unsigned short LIZTROOPONTOILET = 1741; -unsigned short LIZTROOPJUSTSIT = 1742; -unsigned short LIZTROOPDUCKING = 1744; -unsigned short HEADJIB1 = 1768; -unsigned short ARMJIB1 = 1772; -unsigned short LEGJIB1 = 1776; -unsigned short CANNONBALL = 1817; -unsigned short OCTABRAIN = 1820; -unsigned short OCTABRAINSTAYPUT = 1821; -unsigned short OCTATOP = 1845; -unsigned short OCTADEADSPRITE = 1855; -unsigned short INNERJAW = 1860; -unsigned short DRONE = 1880; -unsigned short EXPLOSION2 = 1890; -unsigned short COMMANDER = 1920; -unsigned short COMMANDERSTAYPUT = 1921; -unsigned short RECON = 1960; -unsigned short TANK = 1975; -unsigned short PIGCOP = 2000; -unsigned short PIGCOPSTAYPUT = 2001; -unsigned short PIGCOPDIVE = 2045; -unsigned short PIGCOPDEADSPRITE = 2060; -unsigned short PIGTOP = 2061; -unsigned short LIZMAN = 2120; -unsigned short LIZMANSTAYPUT = 2121; -unsigned short LIZMANSPITTING = 2150; -unsigned short LIZMANFEEDING = 2160; -unsigned short LIZMANJUMP = 2165; -unsigned short LIZMANDEADSPRITE = 2185; -unsigned short FECES = 2200; -unsigned short LIZMANHEAD1 = 2201; -unsigned short LIZMANARM1 = 2205; -unsigned short LIZMANLEG1 = 2209; -unsigned short EXPLOSION2BOT = 2219; -unsigned short USERWEAPON = 2235; -unsigned short HEADERBAR = 2242; -unsigned short JIBS1 = 2245; -unsigned short JIBS2 = 2250; -unsigned short JIBS3 = 2255; -unsigned short JIBS4 = 2260; -unsigned short JIBS5 = 2265; -unsigned short BURNING = 2270; -unsigned short FIRE = 2271; -unsigned short JIBS6 = 2286; -unsigned short BLOODSPLAT1 = 2296; -unsigned short BLOODSPLAT3 = 2297; -unsigned short BLOODSPLAT2 = 2298; -unsigned short BLOODSPLAT4 = 2299; -unsigned short OOZ = 2300; -unsigned short OOZ2 = 2309; -unsigned short WALLBLOOD1 = 2301; -unsigned short WALLBLOOD2 = 2302; -unsigned short WALLBLOOD3 = 2303; -unsigned short WALLBLOOD4 = 2304; -unsigned short WALLBLOOD5 = 2305; -unsigned short WALLBLOOD6 = 2306; -unsigned short WALLBLOOD7 = 2307; -unsigned short WALLBLOOD8 = 2308; -unsigned short BURNING2 = 2310; -unsigned short FIRE2 = 2311; -unsigned short CRACKKNUCKLES = 2324; -unsigned short SMALLSMOKE = 2329; -unsigned short SMALLSMOKEMAKER = 2330; -unsigned short FLOORFLAME = 2333; -unsigned short ROTATEGUN = 2360; -unsigned short GREENSLIME = 2370; -unsigned short WATERDRIPSPLASH = 2380; -unsigned short SCRAP6 = 2390; -unsigned short SCRAP1 = 2400; -unsigned short SCRAP2 = 2404; -unsigned short SCRAP3 = 2408; -unsigned short SCRAP4 = 2412; -unsigned short SCRAP5 = 2416; -unsigned short ORGANTIC = 2420; -unsigned short BETAVERSION = 2440; -unsigned short PLAYERISHERE = 2442; -unsigned short PLAYERWASHERE = 2443; -unsigned short SELECTDIR = 2444; -unsigned short F1HELP = 2445; -unsigned short NOTCHON = 2446; -unsigned short NOTCHOFF = 2447; -unsigned short GROWSPARK = 2448; -unsigned short DUKEICON = 2452; -unsigned short BADGUYICON = 2453; -unsigned short FOODICON = 2454; -unsigned short GETICON = 2455; -unsigned short MENUSCREEN = 2456; -unsigned short MENUBAR = 2457; -unsigned short KILLSICON = 2458; -unsigned short FIRSTAID_ICON = 2460; -unsigned short HEAT_ICON = 2461; -unsigned short BOTTOMSTATUSBAR = 2462; -unsigned short BOOT_ICON = 2463; -unsigned short FRAGBAR = 2465; -unsigned short JETPACK_ICON = 2467; -unsigned short AIRTANK_ICON = 2468; -unsigned short STEROIDS_ICON = 2469; -unsigned short HOLODUKE_ICON = 2470; -unsigned short ACCESS_ICON = 2471; -unsigned short DIGITALNUM = 2472; -unsigned short DUKECAR = 2491; -unsigned short CAMCORNER = 2482; -unsigned short CAMLIGHT = 2484; -unsigned short LOGO = 2485; -unsigned short TITLE = 2486; -unsigned short NUKEWARNINGICON = 2487; -unsigned short MOUSECURSOR = 2488; -unsigned short SLIDEBAR = 2489; -unsigned short DREALMS = 2492; -unsigned short BETASCREEN = 2493; -unsigned short WINDOWBORDER1 = 2494; -unsigned short TEXTBOX = 2495; -unsigned short WINDOWBORDER2 = 2496; -unsigned short DUKENUKEM = 2497; -unsigned short THREEDEE = 2498; -unsigned short INGAMEDUKETHREEDEE = 2499; -unsigned short TENSCREEN = 2500; -unsigned short PLUTOPAKSPRITE = 2501; -unsigned short DEVISTATOR = 2510; -unsigned short KNEE = 2521; -unsigned short CROSSHAIR = 2523; -unsigned short FIRSTGUN = 2524; -unsigned short FIRSTGUNRELOAD = 2528; -unsigned short FALLINGCLIP = 2530; -unsigned short CLIPINHAND = 2531; -unsigned short HAND = 2532; -unsigned short SHELL = 2533; -unsigned short SHOTGUNSHELL = 2535; -unsigned short CHAINGUN = 2536; -unsigned short RPGGUN = 2544; -unsigned short RPGMUZZLEFLASH = 2545; -unsigned short FREEZE = 2548; -unsigned short CATLITE = 2552; -unsigned short SHRINKER = 2556; -unsigned short HANDHOLDINGLASER = 2563; -unsigned short TRIPBOMB = 2566; -unsigned short LASERLINE = 2567; -unsigned short HANDHOLDINGACCESS = 2568; -unsigned short HANDREMOTE = 2570; -unsigned short HANDTHROW = 2573; -unsigned short TIP = 2576; -unsigned short GLAIR = 2578; -unsigned short SCUBAMASK = 2581; -unsigned short SPACEMASK = 2584; -unsigned short FORCESPHERE = 2590; -unsigned short SHOTSPARK1 = 2595; -unsigned short RPG = 2605; -unsigned short LASERSITE = 2612; -unsigned short SHOTGUN = 2613; -unsigned short BOSS1 = 2630; -unsigned short BOSS1STAYPUT = 2631; -unsigned short BOSS1SHOOT = 2660; -unsigned short BOSS1LOB = 2670; -unsigned short BOSSTOP = 2696; -unsigned short BOSS2 = 2710; -unsigned short BOSS3 = 2760; -unsigned short SPINNINGNUKEICON = 2813; -unsigned short BIGFNTCURSOR = 2820; -unsigned short SMALLFNTCURSOR = 2821; -unsigned short STARTALPHANUM = 2822; -unsigned short ENDALPHANUM = 2915; -unsigned short BIGALPHANUM = 2940; -unsigned short BIGPERIOD = 3002; -unsigned short BIGCOMMA = 3003; -unsigned short BIGX = 3004; -unsigned short BIGQ = 3005; -unsigned short BIGSEMI = 3006; -unsigned short BIGCOLIN = 3007; -unsigned short THREEBYFIVE = 3010; -unsigned short BIGAPPOS = 3022; -unsigned short BLANK = 3026; -unsigned short MINIFONT = 3072; -unsigned short BUTTON1 = 3164; -unsigned short GLASS3 = 3187; -unsigned short RESPAWNMARKERRED = 3190; -unsigned short RESPAWNMARKERYELLOW = 3200; -unsigned short RESPAWNMARKERGREEN = 3210; -unsigned short BONUSSCREEN = 3240; -unsigned short VIEWBORDER = 3250; -unsigned short VICTORY1 = 3260; -unsigned short ORDERING = 3270; -unsigned short TEXTSTORY = 3280; -unsigned short LOADSCREEN = 3281; -unsigned short BORNTOBEWILDSCREEN = 3370; -unsigned short BLIMP = 3400; -unsigned short FEM9 = 3450; -unsigned short FOOTPRINT = 3701; -unsigned short FRAMEEFFECT1_13 = 3999; -unsigned short POOP = 4094; -unsigned short FRAMEEFFECT1 = 4095; -unsigned short PANNEL3 = 4099; -unsigned short SCREENBREAK14 = 4120; -unsigned short SCREENBREAK15 = 4123; -unsigned short SCREENBREAK19 = 4125; -unsigned short SCREENBREAK16 = 4127; -unsigned short SCREENBREAK17 = 4128; -unsigned short SCREENBREAK18 = 4129; -unsigned short W_TECHWALL11 = 4130; -unsigned short W_TECHWALL12 = 4131; -unsigned short W_TECHWALL13 = 4132; -unsigned short W_TECHWALL14 = 4133; -unsigned short W_TECHWALL5 = 4134; -unsigned short W_TECHWALL6 = 4136; -unsigned short W_TECHWALL7 = 4138; -unsigned short W_TECHWALL8 = 4140; -unsigned short W_TECHWALL9 = 4142; -unsigned short BPANNEL3 = 4100; -unsigned short W_HITTECHWALL16 = 4144; -unsigned short W_HITTECHWALL10 = 4145; -unsigned short W_HITTECHWALL15 = 4147; -unsigned short W_MILKSHELF = 4181; -unsigned short W_MILKSHELFBROKE = 4203; -unsigned short PURPLELAVA = 4240; -unsigned short LAVABUBBLE = 4340; -unsigned short DUKECUTOUT = 4352; -unsigned short TARGET = 4359; -unsigned short GUNPOWDERBARREL = 4360; -unsigned short DUCK = 4361; -unsigned short HATRACK = 4367; -unsigned short DESKLAMP = 4370; -unsigned short COFFEEMACHINE = 4372; -unsigned short CUPS = 4373; -unsigned short GAVALS = 4374; -unsigned short GAVALS2 = 4375; -unsigned short POLICELIGHTPOLE = 4377; -unsigned short FLOORBASKET = 4388; -unsigned short PUKE = 4389; -unsigned short DOORTILE23 = 4391; -unsigned short TOPSECRET = 4396; -unsigned short SPEAKER = 4397; -unsigned short TEDDYBEAR = 4400; -unsigned short ROBOTDOG = 4402; -unsigned short ROBOTPIRATE = 4404; -unsigned short ROBOTMOUSE = 4407; -unsigned short MAIL = 4410; -unsigned short MAILBAG = 4413; -unsigned short HOTMEAT = 4427; -unsigned short COFFEEMUG = 4438; -unsigned short DONUTS2 = 4440; -unsigned short TRIPODCAMERA = 4444; -unsigned short METER = 4453; -unsigned short DESKPHONE = 4454; -unsigned short GUMBALLMACHINE = 4458; -unsigned short GUMBALLMACHINEBROKE = 4459; -unsigned short PAPER = 4460; -unsigned short MACE = 4464; -unsigned short GENERICPOLE2 = 4465; -unsigned short XXXSTACY = 4470; -unsigned short WETFLOOR = 4495; -unsigned short BROOM = 4496; -unsigned short MOP = 4497; -unsigned short LETTER = 4502; -unsigned short PIRATE1A = 4510; -unsigned short PIRATE4A = 4511; -unsigned short PIRATE2A = 4512; -unsigned short PIRATE5A = 4513; -unsigned short PIRATE3A = 4514; -unsigned short PIRATE6A = 4515; -unsigned short PIRATEHALF = 4516; -unsigned short CHESTOFGOLD = 4520; -unsigned short SIDEBOLT1 = 4525; -unsigned short FOODOBJECT1 = 4530; -unsigned short FOODOBJECT2 = 4531; -unsigned short FOODOBJECT3 = 4532; -unsigned short FOODOBJECT4 = 4533; -unsigned short FOODOBJECT5 = 4534; -unsigned short FOODOBJECT6 = 4535; -unsigned short FOODOBJECT7 = 4536; -unsigned short FOODOBJECT8 = 4537; -unsigned short FOODOBJECT9 = 4538; -unsigned short FOODOBJECT10 = 4539; -unsigned short FOODOBJECT11 = 4540; -unsigned short FOODOBJECT12 = 4541; -unsigned short FOODOBJECT13 = 4542; -unsigned short FOODOBJECT14 = 4543; -unsigned short FOODOBJECT15 = 4544; -unsigned short FOODOBJECT16 = 4545; -unsigned short FOODOBJECT17 = 4546; -unsigned short FOODOBJECT18 = 4547; -unsigned short FOODOBJECT19 = 4548; -unsigned short FOODOBJECT20 = 4549; -unsigned short HEADLAMP = 4550; -unsigned short TAMPON = 4557; -unsigned short SKINNEDCHICKEN = 4554; -unsigned short FEATHEREDCHICKEN = 4555; -unsigned short ROBOTDOG2 = 4560; -unsigned short JOLLYMEAL = 4569; -unsigned short DUKEBURGER = 4570; -unsigned short SHOPPINGCART = 4576; -unsigned short CANWITHSOMETHING2 = 4580; -unsigned short CANWITHSOMETHING3 = 4581; -unsigned short CANWITHSOMETHING4 = 4582; -unsigned short SNAKEP = 4590; -unsigned short DOLPHIN1 = 4591; -unsigned short DOLPHIN2 = 4592; -unsigned short NEWBEAST = 4610; -unsigned short NEWBEASTSTAYPUT = 4611; -unsigned short NEWBEASTJUMP = 4690; -unsigned short NEWBEASTHANG = 4670; -unsigned short NEWBEASTHANGDEAD = 4671; -unsigned short BOSS4 = 4740; -unsigned short BOSS4STAYPUT = 4741; -unsigned short FEM10 = 4864; -unsigned short TOUGHGAL = 4866; -unsigned short MAN = 4871; -unsigned short MAN2 = 4872; -unsigned short WOMAN = 4874; -unsigned short PLEASEWAIT = 4887; -unsigned short NATURALLIGHTNING = 4890; -unsigned short WEATHERWARN = 4893; -unsigned short DUKETAG = 4900; -unsigned short SIGN1 = 4909; -unsigned short SIGN2 = 4912; -unsigned short JURYGUY = 4943; -unsigned short RESERVEDSLOT1 = 6132; -unsigned short RESERVEDSLOT2 = 6133; -unsigned short RESERVEDSLOT3 = 6134; -unsigned short RESERVEDSLOT4 = 6135; -unsigned short RESERVEDSLOT5 = 6136; -unsigned short RESERVEDSLOT6 = 6137; -unsigned short RESERVEDSLOT7 = 6138; -unsigned short RESERVEDSLOT8 = 6139; -unsigned short RESERVEDSLOT9 = 6140; -unsigned short RESERVEDSLOT10 = 6141; -unsigned short RESERVEDSLOT11 = 6142; -unsigned short RESERVEDSLOT12 = 6143; +int SECTOREFFECTOR = 1; +int ACTIVATOR = 2; +int TOUCHPLATE = 3; +int ACTIVATORLOCKED = 4; +int MUSICANDSFX = 5; +int LOCATORS = 6; +int CYCLER = 7; +int MASTERSWITCH = 8; +int RESPAWN = 9; +int GPSPEED = 10; +int FOF = 13; +int ARROW = 20; +int FIRSTGUNSPRITE = 21; +int CHAINGUNSPRITE = 22; +int RPGSPRITE = 23; +int FREEZESPRITE = 24; +int SHRINKERSPRITE = 25; +int HEAVYHBOMB = 26; +int TRIPBOMBSPRITE = 27; +int SHOTGUNSPRITE = 28; +int DEVISTATORSPRITE = 29; +int HEALTHBOX = 30; +int AMMOBOX = 31; +int GROWSPRITEICON = 32; +int INVENTORYBOX = 33; +int FREEZEAMMO = 37; +int AMMO = 40; +int BATTERYAMMO = 41; +int DEVISTATORAMMO = 42; +int RPGAMMO = 44; +int GROWAMMO = 45; +int CRYSTALAMMO = 46; +int HBOMBAMMO = 47; +int AMMOLOTS = 48; +int SHOTGUNAMMO = 49; +int COLA = 51; +int SIXPAK = 52; +int FIRSTAID = 53; +int SHIELD = 54; +int STEROIDS = 55; +int AIRTANK = 56; +int JETPACK = 57; +int HEATSENSOR = 59; +int ACCESSCARD = 60; +int BOOTS = 61; +int MIRRORBROKE = 70; +int CLOUDYOCEAN = 78; +int CLOUDYSKIES = 79; +int MOONSKY1 = 80; +int MOONSKY2 = 81; +int MOONSKY3 = 82; +int MOONSKY4 = 83; +int BIGORBIT1 = 84; +int BIGORBIT2 = 85; +int BIGORBIT3 = 86; +int BIGORBIT4 = 87; +int BIGORBIT5 = 88; +int LA = 89; +int REDSKY1 = 98; +int REDSKY2 = 99; +int ATOMICHEALTH = 100; +int TECHLIGHT2 = 120; +int TECHLIGHTBUST2 = 121; +int TECHLIGHT4 = 122; +int TECHLIGHTBUST4 = 123; +int WALLLIGHT4 = 124; +int WALLLIGHTBUST4 = 125; +int ACCESSSWITCH = 130; +int SLOTDOOR = 132; +int LIGHTSWITCH = 134; +int SPACEDOORSWITCH = 136; +int SPACELIGHTSWITCH = 138; +int FRANKENSTINESWITCH = 140; +int NUKEBUTTON = 142; +int MULTISWITCH = 146; +int DOORTILE5 = 150; +int DOORTILE6 = 151; +int DOORTILE1 = 152; +int DOORTILE2 = 153; +int DOORTILE3 = 154; +int DOORTILE4 = 155; +int DOORTILE7 = 156; +int DOORTILE8 = 157; +int DOORTILE9 = 158; +int DOORTILE10 = 159; +int DOORSHOCK = 160; +int DIPSWITCH = 162; +int DIPSWITCH2 = 164; +int TECHSWITCH = 166; +int DIPSWITCH3 = 168; +int ACCESSSWITCH2 = 170; +int REFLECTWATERTILE = 180; +int FLOORSLIME = 200; +int BIGFORCE = 230; +int EPISODE = 247; +int MASKWALL9 = 255; +int W_LIGHT = 260; +int SCREENBREAK1 = 263; +int SCREENBREAK2 = 264; +int SCREENBREAK3 = 265; +int SCREENBREAK4 = 266; +int SCREENBREAK5 = 267; +int SCREENBREAK6 = 268; +int SCREENBREAK7 = 269; +int SCREENBREAK8 = 270; +int SCREENBREAK9 = 271; +int SCREENBREAK10 = 272; +int SCREENBREAK11 = 273; +int SCREENBREAK12 = 274; +int SCREENBREAK13 = 275; +int MASKWALL1 = 285; +int W_TECHWALL1 = 293; +int W_TECHWALL2 = 297; +int W_TECHWALL15 = 299; +int W_TECHWALL3 = 301; +int W_TECHWALL4 = 305; +int W_TECHWALL10 = 306; +int W_TECHWALL16 = 307; +int WATERTILE2 = 336; +int BPANNEL1 = 341; +int PANNEL1 = 342; +int PANNEL2 = 343; +int WATERTILE = 344; +int STATIC = 351; +int W_SCREENBREAK = 357; +int W_HITTECHWALL3 = 360; +int W_HITTECHWALL4 = 361; +int W_HITTECHWALL2 = 362; +int W_HITTECHWALL1 = 363; +int MASKWALL10 = 387; +int MASKWALL11 = 391; +int DOORTILE22 = 395; +int FANSPRITE = 407; +int FANSPRITEBROKE = 411; +int FANSHADOW = 412; +int FANSHADOWBROKE = 416; +int DOORTILE18 = 447; +int DOORTILE19 = 448; +int DOORTILE20 = 449; +int SATELLITE = 489; +int VIEWSCREEN2 = 499; +int VIEWSCREENBROKE = 501; +int VIEWSCREEN = 502; +int GLASS = 503; +int GLASS2 = 504; +int STAINGLASS1 = 510; +int MASKWALL5 = 514; +int SATELITE = 516; +int FUELPOD = 517; +int SLIMEPIPE = 538; +int CRACK1 = 546; +int CRACK2 = 547; +int CRACK3 = 548; +int CRACK4 = 549; +int FOOTPRINTS = 550; +int DOMELITE = 551; +int CAMERAPOLE = 554; +int CHAIR1 = 556; +int CHAIR2 = 557; +int BROKENCHAIR = 559; +int MIRROR = 560; +int WATERFOUNTAIN = 563; +int WATERFOUNTAINBROKE = 567; +int FEMMAG1 = 568; +int TOILET = 569; +int STALL = 571; +int STALLBROKE = 573; +int FEMMAG2 = 577; +int REACTOR2 = 578; +int REACTOR2BURNT = 579; +int REACTOR2SPARK = 580; +int GRATE1 = 595; +int BGRATE1 = 596; +int SOLARPANNEL = 602; +int NAKED1 = 603; +int ANTENNA = 607; +int MASKWALL12 = 609; +int TOILETBROKE = 615; +int PIPE2 = 616; +int PIPE1B = 617; +int PIPE3 = 618; +int PIPE1 = 619; +int CAMERA1 = 621; +int BRICK = 626; +int SPLINTERWOOD = 630; +int PIPE2B = 633; +int BOLT1 = 634; +int W_NUMBERS = 640; +int WATERDRIP = 660; +int WATERBUBBLE = 661; +int WATERBUBBLEMAKER = 662; +int W_FORCEFIELD = 663; +int VACUUM = 669; +int FOOTPRINTS2 = 672; +int FOOTPRINTS3 = 673; +int FOOTPRINTS4 = 674; +int EGG = 675; +int SCALE = 678; +int CHAIR3 = 680; +int CAMERALIGHT = 685; +int MOVIECAMERA = 686; +int IVUNIT = 689; +int POT1 = 694; +int POT2 = 695; +int POT3 = 697; +int PIPE3B = 700; +int WALLLIGHT3 = 701; +int WALLLIGHTBUST3 = 702; +int WALLLIGHT1 = 703; +int WALLLIGHTBUST1 = 704; +int WALLLIGHT2 = 705; +int WALLLIGHTBUST2 = 706; +int LIGHTSWITCH2 = 712; +int WAITTOBESEATED = 716; +int DOORTILE14 = 717; +int STATUE = 753; +int MIKE = 762; +int VASE = 765; +int SUSHIPLATE1 = 768; +int SUSHIPLATE2 = 769; +int SUSHIPLATE3 = 774; +int SUSHIPLATE4 = 779; +int DOORTILE16 = 781; +int SUSHIPLATE5 = 792; +int OJ = 806; +int MASKWALL13 = 830; +int HURTRAIL = 859; +int POWERSWITCH1 = 860; +int LOCKSWITCH1 = 862; +int POWERSWITCH2 = 864; +int ATM = 867; +int STATUEFLASH = 869; +int ATMBROKE = 888; +int BIGHOLE2 = 893; +int STRIPEBALL = 901; +int QUEBALL = 902; +int POCKET = 903; +int WOODENHORSE = 904; +int TREE1 = 908; +int TREE2 = 910; +int CACTUS = 911; +int MASKWALL2 = 913; +int MASKWALL3 = 914; +int MASKWALL4 = 915; +int FIREEXT = 916; +int TOILETWATER = 921; +int NEON1 = 925; +int NEON2 = 926; +int CACTUSBROKE = 939; +int BOUNCEMINE = 940; +int BROKEFIREHYDRENT = 950; +int BOX = 951; +int BULLETHOLE = 952; +int BOTTLE1 = 954; +int BOTTLE2 = 955; +int BOTTLE3 = 956; +int BOTTLE4 = 957; +int FEMPIC5 = 963; +int FEMPIC6 = 964; +int FEMPIC7 = 965; +int HYDROPLANT = 969; +int OCEANSPRITE1 = 971; +int OCEANSPRITE2 = 972; +int OCEANSPRITE3 = 973; +int OCEANSPRITE4 = 974; +int OCEANSPRITE5 = 975; +int GENERICPOLE = 977; +int CONE = 978; +int HANGLIGHT = 979; +int HYDRENT = 981; +int MASKWALL14 = 988; +int TIRE = 990; +int PIPE5 = 994; +int PIPE6 = 995; +int PIPE4 = 996; +int PIPE4B = 997; +int BROKEHYDROPLANT = 1003; +int PIPE5B = 1005; +int NEON3 = 1007; +int NEON4 = 1008; +int NEON5 = 1009; +int BOTTLE5 = 1012; +int BOTTLE6 = 1013; +int BOTTLE8 = 1014; +int SPOTLITE = 1020; +int HANGOOZ = 1022; +int MASKWALL15 = 1024; +int BOTTLE7 = 1025; +int HORSEONSIDE = 1026; +int GLASSPIECES = 1031; +int HORSELITE = 1034; +int DONUTS = 1045; +int NEON6 = 1046; +int MASKWALL6 = 1059; +int CLOCK = 1060; +int RUBBERCAN = 1062; +int BROKENCLOCK = 1067; +int PLUG = 1069; +int OOZFILTER = 1079; +int FLOORPLASMA = 1082; +int REACTOR = 1088; +int REACTORSPARK = 1092; +int REACTORBURNT = 1096; +int DOORTILE15 = 1102; +int HANDSWITCH = 1111; +int CIRCLEPANNEL = 1113; +int CIRCLEPANNELBROKE = 1114; +int PULLSWITCH = 1122; +int MASKWALL8 = 1124; +int BIGHOLE = 1141; +int ALIENSWITCH = 1142; +int DOORTILE21 = 1144; +int HANDPRINTSWITCH = 1155; +int BOTTLE10 = 1157; +int BOTTLE11 = 1158; +int BOTTLE12 = 1159; +int BOTTLE13 = 1160; +int BOTTLE14 = 1161; +int BOTTLE15 = 1162; +int BOTTLE16 = 1163; +int BOTTLE17 = 1164; +int BOTTLE18 = 1165; +int BOTTLE19 = 1166; +int DOORTILE17 = 1169; +int MASKWALL7 = 1174; +int JAILBARBREAK = 1175; +int DOORTILE11 = 1178; +int DOORTILE12 = 1179; +int VENDMACHINE = 1212; +int VENDMACHINEBROKE = 1214; +int COLAMACHINE = 1215; +int COLAMACHINEBROKE = 1217; +int CRANEPOLE = 1221; +int CRANE = 1222; +int BARBROKE = 1225; +int BLOODPOOL = 1226; +int NUKEBARREL = 1227; +int NUKEBARRELDENTED = 1228; +int NUKEBARRELLEAKED = 1229; +int CANWITHSOMETHING = 1232; +int MONEY = 1233; +int BANNER = 1236; +int EXPLODINGBARREL = 1238; +int EXPLODINGBARREL2 = 1239; +int FIREBARREL = 1240; +int SEENINE = 1247; +int SEENINEDEAD = 1248; +int STEAM = 1250; +int CEILINGSTEAM = 1255; +int PIPE6B = 1260; +int TRANSPORTERBEAM = 1261; +int RAT = 1267; +int TRASH = 1272; +int FEMPIC1 = 1280; +int FEMPIC2 = 1289; +int BLANKSCREEN = 1293; +int PODFEM1 = 1294; +int FEMPIC3 = 1298; +int FEMPIC4 = 1306; +int FEM1 = 1312; +int FEM2 = 1317; +int FEM3 = 1321; +int FEM5 = 1323; +int BLOODYPOLE = 1324; +int FEM4 = 1325; +int FEM6 = 1334; +int FEM6PAD = 1335; +int FEM8 = 1336; +int HELECOPT = 1346; +int FETUSJIB = 1347; +int HOLODUKE = 1348; +int SPACEMARINE = 1353; +int INDY = 1355; +int FETUS = 1358; +int FETUSBROKE = 1359; +int MONK = 1352; +int LUKE = 1354; +int COOLEXPLOSION1 = 1360; +int WATERSPLASH2 = 1380; +int FIREVASE = 1390; +int SCRATCH = 1393; +int FEM7 = 1395; +int APLAYERTOP = 1400; +int APLAYER = 1405; +int PLAYERONWATER = 1420; +int DUKELYINGDEAD = 1518; +int DUKETORSO = 1520; +int DUKEGUN = 1528; +int DUKELEG = 1536; +int SHARK = 1550; +int BLOOD = 1620; +int FIRELASER = 1625; +int TRANSPORTERSTAR = 1630; +int SPIT = 1636; +int LOOGIE = 1637; +int FIST = 1640; +int FREEZEBLAST = 1641; +int DEVISTATORBLAST = 1642; +int SHRINKSPARK = 1646; +int TONGUE = 1647; +int MORTER = 1650; +int SHRINKEREXPLOSION = 1656; +int RADIUSEXPLOSION = 1670; +int FORCERIPPLE = 1671; +int LIZTROOP = 1680; +int LIZTROOPRUNNING = 1681; +int LIZTROOPSTAYPUT = 1682; +int LIZTOP = 1705; +int LIZTROOPSHOOT = 1715; +int LIZTROOPJETPACK = 1725; +int LIZTROOPDSPRITE = 1734; +int LIZTROOPONTOILET = 1741; +int LIZTROOPJUSTSIT = 1742; +int LIZTROOPDUCKING = 1744; +int HEADJIB1 = 1768; +int ARMJIB1 = 1772; +int LEGJIB1 = 1776; +int CANNONBALL = 1817; +int OCTABRAIN = 1820; +int OCTABRAINSTAYPUT = 1821; +int OCTATOP = 1845; +int OCTADEADSPRITE = 1855; +int INNERJAW = 1860; +int DRONE = 1880; +int EXPLOSION2 = 1890; +int COMMANDER = 1920; +int COMMANDERSTAYPUT = 1921; +int RECON = 1960; +int TANK = 1975; +int PIGCOP = 2000; +int PIGCOPSTAYPUT = 2001; +int PIGCOPDIVE = 2045; +int PIGCOPDEADSPRITE = 2060; +int PIGTOP = 2061; +int LIZMAN = 2120; +int LIZMANSTAYPUT = 2121; +int LIZMANSPITTING = 2150; +int LIZMANFEEDING = 2160; +int LIZMANJUMP = 2165; +int LIZMANDEADSPRITE = 2185; +int FECES = 2200; +int LIZMANHEAD1 = 2201; +int LIZMANARM1 = 2205; +int LIZMANLEG1 = 2209; +int EXPLOSION2BOT = 2219; +int USERWEAPON = 2235; +int HEADERBAR = 2242; +int JIBS1 = 2245; +int JIBS2 = 2250; +int JIBS3 = 2255; +int JIBS4 = 2260; +int JIBS5 = 2265; +int BURNING = 2270; +int FIRE = 2271; +int JIBS6 = 2286; +int BLOODSPLAT1 = 2296; +int BLOODSPLAT3 = 2297; +int BLOODSPLAT2 = 2298; +int BLOODSPLAT4 = 2299; +int OOZ = 2300; +int OOZ2 = 2309; +int WALLBLOOD1 = 2301; +int WALLBLOOD2 = 2302; +int WALLBLOOD3 = 2303; +int WALLBLOOD4 = 2304; +int WALLBLOOD5 = 2305; +int WALLBLOOD6 = 2306; +int WALLBLOOD7 = 2307; +int WALLBLOOD8 = 2308; +int BURNING2 = 2310; +int FIRE2 = 2311; +int CRACKKNUCKLES = 2324; +int SMALLSMOKE = 2329; +int SMALLSMOKEMAKER = 2330; +int FLOORFLAME = 2333; +int ROTATEGUN = 2360; +int GREENSLIME = 2370; +int WATERDRIPSPLASH = 2380; +int SCRAP6 = 2390; +int SCRAP1 = 2400; +int SCRAP2 = 2404; +int SCRAP3 = 2408; +int SCRAP4 = 2412; +int SCRAP5 = 2416; +int ORGANTIC = 2420; +int BETAVERSION = 2440; +int PLAYERISHERE = 2442; +int PLAYERWASHERE = 2443; +int SELECTDIR = 2444; +int F1HELP = 2445; +int NOTCHON = 2446; +int NOTCHOFF = 2447; +int GROWSPARK = 2448; +int DUKEICON = 2452; +int BADGUYICON = 2453; +int FOODICON = 2454; +int GETICON = 2455; +int MENUSCREEN = 2456; +int MENUBAR = 2457; +int KILLSICON = 2458; +int FIRSTAID_ICON = 2460; +int HEAT_ICON = 2461; +int BOTTOMSTATUSBAR = 2462; +int BOOT_ICON = 2463; +int FRAGBAR = 2465; +int JETPACK_ICON = 2467; +int AIRTANK_ICON = 2468; +int STEROIDS_ICON = 2469; +int HOLODUKE_ICON = 2470; +int ACCESS_ICON = 2471; +int DIGITALNUM = 2472; +int DUKECAR = 2491; +int CAMCORNER = 2482; +int CAMLIGHT = 2484; +int LOGO = 2485; +int TITLE = 2486; +int NUKEWARNINGICON = 2487; +int MOUSECURSOR = 2488; +int SLIDEBAR = 2489; +int DREALMS = 2492; +int BETASCREEN = 2493; +int WINDOWBORDER1 = 2494; +int TEXTBOX = 2495; +int WINDOWBORDER2 = 2496; +int DUKENUKEM = 2497; +int THREEDEE = 2498; +int INGAMEDUKETHREEDEE = 2499; +int TENSCREEN = 2500; +int PLUTOPAKSPRITE = 2501; +int DEVISTATOR = 2510; +int KNEE = 2521; +int CROSSHAIR = 2523; +int FIRSTGUN = 2524; +int FIRSTGUNRELOAD = 2528; +int FALLINGCLIP = 2530; +int CLIPINHAND = 2531; +int HAND = 2532; +int SHELL = 2533; +int SHOTGUNSHELL = 2535; +int CHAINGUN = 2536; +int RPGGUN = 2544; +int RPGMUZZLEFLASH = 2545; +int FREEZE = 2548; +int CATLITE = 2552; +int SHRINKER = 2556; +int HANDHOLDINGLASER = 2563; +int TRIPBOMB = 2566; +int LASERLINE = 2567; +int HANDHOLDINGACCESS = 2568; +int HANDREMOTE = 2570; +int HANDTHROW = 2573; +int TIP = 2576; +int GLAIR = 2578; +int SCUBAMASK = 2581; +int SPACEMASK = 2584; +int FORCESPHERE = 2590; +int SHOTSPARK1 = 2595; +int RPG = 2605; +int LASERSITE = 2612; +int SHOTGUN = 2613; +int BOSS1 = 2630; +int BOSS1STAYPUT = 2631; +int BOSS1SHOOT = 2660; +int BOSS1LOB = 2670; +int BOSSTOP = 2696; +int BOSS2 = 2710; +int BOSS3 = 2760; +int SPINNINGNUKEICON = 2813; +int BIGFNTCURSOR = 2820; +int SMALLFNTCURSOR = 2821; +int STARTALPHANUM = 2822; +int ENDALPHANUM = 2915; +int BIGALPHANUM = 2940; +int BIGPERIOD = 3002; +int BIGCOMMA = 3003; +int BIGX = 3004; +int BIGQ = 3005; +int BIGSEMI = 3006; +int BIGCOLIN = 3007; +int THREEBYFIVE = 3010; +int BIGAPPOS = 3022; +int BLANK = 3026; +int MINIFONT = 3072; +int BUTTON1 = 3164; +int GLASS3 = 3187; +int RESPAWNMARKERRED = 3190; +int RESPAWNMARKERYELLOW = 3200; +int RESPAWNMARKERGREEN = 3210; +int BONUSSCREEN = 3240; +int VIEWBORDER = 3250; +int VICTORY1 = 3260; +int ORDERING = 3270; +int TEXTSTORY = 3280; +int LOADSCREEN = 3281; +int BORNTOBEWILDSCREEN = 3370; +int BLIMP = 3400; +int FEM9 = 3450; +int FOOTPRINT = 3701; +int FRAMEEFFECT1_13 = 3999; +int POOP = 4094; +int FRAMEEFFECT1 = 4095; +int PANNEL3 = 4099; +int SCREENBREAK14 = 4120; +int SCREENBREAK15 = 4123; +int SCREENBREAK19 = 4125; +int SCREENBREAK16 = 4127; +int SCREENBREAK17 = 4128; +int SCREENBREAK18 = 4129; +int W_TECHWALL11 = 4130; +int W_TECHWALL12 = 4131; +int W_TECHWALL13 = 4132; +int W_TECHWALL14 = 4133; +int W_TECHWALL5 = 4134; +int W_TECHWALL6 = 4136; +int W_TECHWALL7 = 4138; +int W_TECHWALL8 = 4140; +int W_TECHWALL9 = 4142; +int BPANNEL3 = 4100; +int W_HITTECHWALL16 = 4144; +int W_HITTECHWALL10 = 4145; +int W_HITTECHWALL15 = 4147; +int W_MILKSHELF = 4181; +int W_MILKSHELFBROKE = 4203; +int PURPLELAVA = 4240; +int LAVABUBBLE = 4340; +int DUKECUTOUT = 4352; +int TARGET = 4359; +int GUNPOWDERBARREL = 4360; +int DUCK = 4361; +int HATRACK = 4367; +int DESKLAMP = 4370; +int COFFEEMACHINE = 4372; +int CUPS = 4373; +int GAVALS = 4374; +int GAVALS2 = 4375; +int POLICELIGHTPOLE = 4377; +int FLOORBASKET = 4388; +int PUKE = 4389; +int DOORTILE23 = 4391; +int TOPSECRET = 4396; +int SPEAKER = 4397; +int TEDDYBEAR = 4400; +int ROBOTDOG = 4402; +int ROBOTPIRATE = 4404; +int ROBOTMOUSE = 4407; +int MAIL = 4410; +int MAILBAG = 4413; +int HOTMEAT = 4427; +int COFFEEMUG = 4438; +int DONUTS2 = 4440; +int TRIPODCAMERA = 4444; +int METER = 4453; +int DESKPHONE = 4454; +int GUMBALLMACHINE = 4458; +int GUMBALLMACHINEBROKE = 4459; +int PAPER = 4460; +int MACE = 4464; +int GENERICPOLE2 = 4465; +int XXXSTACY = 4470; +int WETFLOOR = 4495; +int BROOM = 4496; +int MOP = 4497; +int LETTER = 4502; +int PIRATE1A = 4510; +int PIRATE4A = 4511; +int PIRATE2A = 4512; +int PIRATE5A = 4513; +int PIRATE3A = 4514; +int PIRATE6A = 4515; +int PIRATEHALF = 4516; +int CHESTOFGOLD = 4520; +int SIDEBOLT1 = 4525; +int FOODOBJECT1 = 4530; +int FOODOBJECT2 = 4531; +int FOODOBJECT3 = 4532; +int FOODOBJECT4 = 4533; +int FOODOBJECT5 = 4534; +int FOODOBJECT6 = 4535; +int FOODOBJECT7 = 4536; +int FOODOBJECT8 = 4537; +int FOODOBJECT9 = 4538; +int FOODOBJECT10 = 4539; +int FOODOBJECT11 = 4540; +int FOODOBJECT12 = 4541; +int FOODOBJECT13 = 4542; +int FOODOBJECT14 = 4543; +int FOODOBJECT15 = 4544; +int FOODOBJECT16 = 4545; +int FOODOBJECT17 = 4546; +int FOODOBJECT18 = 4547; +int FOODOBJECT19 = 4548; +int FOODOBJECT20 = 4549; +int HEADLAMP = 4550; +int TAMPON = 4557; +int SKINNEDCHICKEN = 4554; +int FEATHEREDCHICKEN = 4555; +int ROBOTDOG2 = 4560; +int JOLLYMEAL = 4569; +int DUKEBURGER = 4570; +int SHOPPINGCART = 4576; +int CANWITHSOMETHING2 = 4580; +int CANWITHSOMETHING3 = 4581; +int CANWITHSOMETHING4 = 4582; +int SNAKEP = 4590; +int DOLPHIN1 = 4591; +int DOLPHIN2 = 4592; +int NEWBEAST = 4610; +int NEWBEASTSTAYPUT = 4611; +int NEWBEASTJUMP = 4690; +int NEWBEASTHANG = 4670; +int NEWBEASTHANGDEAD = 4671; +int BOSS4 = 4740; +int BOSS4STAYPUT = 4741; +int FEM10 = 4864; +int TOUGHGAL = 4866; +int MAN = 4871; +int MAN2 = 4872; +int WOMAN = 4874; +int PLEASEWAIT = 4887; +int NATURALLIGHTNING = 4890; +int WEATHERWARN = 4893; +int DUKETAG = 4900; +int SIGN1 = 4909; +int SIGN2 = 4912; +int JURYGUY = 4943; +int RESERVEDSLOT1 = 6132; +int RESERVEDSLOT2 = 6133; +int RESERVEDSLOT3 = 6134; +int RESERVEDSLOT4 = 6135; +int RESERVEDSLOT5 = 6136; +int RESERVEDSLOT6 = 6137; +int RESERVEDSLOT7 = 6138; +int RESERVEDSLOT8 = 6139; +int RESERVEDSLOT9 = 6140; +int RESERVEDSLOT10 = 6141; +int RESERVEDSLOT11 = 6142; +int RESERVEDSLOT12 = 6143; -unsigned short dynamictostatic[MAXTILES]; +int dynamictostatic[MAXTILES]; void processnames(const char *szLabel, int lValue) { + if (lValue >= MAXTILES || !szLabel) + return; + switch (szLabel[0]) { case 'A': diff --git a/polymer/eduke32/source/namesdyn.h b/polymer/eduke32/source/namesdyn.h index d523efabe..b3cd5f854 100644 --- a/polymer/eduke32/source/namesdyn.h +++ b/polymer/eduke32/source/namesdyn.h @@ -22,1478 +22,1478 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //------------------------------------------------------------------------- -extern unsigned short SECTOREFFECTOR; +extern int SECTOREFFECTOR; #define SECTOREFFECTOR__STATIC 1 -extern unsigned short ACTIVATOR; +extern int ACTIVATOR; #define ACTIVATOR__STATIC 2 -extern unsigned short TOUCHPLATE; +extern int TOUCHPLATE; #define TOUCHPLATE__STATIC 3 -extern unsigned short ACTIVATORLOCKED; +extern int ACTIVATORLOCKED; #define ACTIVATORLOCKED__STATIC 4 -extern unsigned short MUSICANDSFX; +extern int MUSICANDSFX; #define MUSICANDSFX__STATIC 5 -extern unsigned short LOCATORS; +extern int LOCATORS; #define LOCATORS__STATIC 6 -extern unsigned short CYCLER; +extern int CYCLER; #define CYCLER__STATIC 7 -extern unsigned short MASTERSWITCH; +extern int MASTERSWITCH; #define MASTERSWITCH__STATIC 8 -extern unsigned short RESPAWN; +extern int RESPAWN; #define RESPAWN__STATIC 9 -extern unsigned short GPSPEED; +extern int GPSPEED; #define GPSPEED__STATIC 10 -extern unsigned short FOF; +extern int FOF; #define FOF__STATIC 13 -extern unsigned short ARROW; +extern int ARROW; #define ARROW__STATIC 20 -extern unsigned short FIRSTGUNSPRITE; +extern int FIRSTGUNSPRITE; #define FIRSTGUNSPRITE__STATIC 21 -extern unsigned short CHAINGUNSPRITE; +extern int CHAINGUNSPRITE; #define CHAINGUNSPRITE__STATIC 22 -extern unsigned short RPGSPRITE; +extern int RPGSPRITE; #define RPGSPRITE__STATIC 23 -extern unsigned short FREEZESPRITE; +extern int FREEZESPRITE; #define FREEZESPRITE__STATIC 24 -extern unsigned short SHRINKERSPRITE; +extern int SHRINKERSPRITE; #define SHRINKERSPRITE__STATIC 25 -extern unsigned short HEAVYHBOMB; +extern int HEAVYHBOMB; #define HEAVYHBOMB__STATIC 26 -extern unsigned short TRIPBOMBSPRITE; +extern int TRIPBOMBSPRITE; #define TRIPBOMBSPRITE__STATIC 27 -extern unsigned short SHOTGUNSPRITE; +extern int SHOTGUNSPRITE; #define SHOTGUNSPRITE__STATIC 28 -extern unsigned short DEVISTATORSPRITE; +extern int DEVISTATORSPRITE; #define DEVISTATORSPRITE__STATIC 29 -extern unsigned short HEALTHBOX; +extern int HEALTHBOX; #define HEALTHBOX__STATIC 30 -extern unsigned short AMMOBOX; +extern int AMMOBOX; #define AMMOBOX__STATIC 31 -extern unsigned short GROWSPRITEICON; +extern int GROWSPRITEICON; #define GROWSPRITEICON__STATIC 32 -extern unsigned short INVENTORYBOX; +extern int INVENTORYBOX; #define INVENTORYBOX__STATIC 33 -extern unsigned short FREEZEAMMO; +extern int FREEZEAMMO; #define FREEZEAMMO__STATIC 37 -extern unsigned short AMMO; +extern int AMMO; #define AMMO__STATIC 40 -extern unsigned short BATTERYAMMO; +extern int BATTERYAMMO; #define BATTERYAMMO__STATIC 41 -extern unsigned short DEVISTATORAMMO; +extern int DEVISTATORAMMO; #define DEVISTATORAMMO__STATIC 42 -extern unsigned short RPGAMMO; +extern int RPGAMMO; #define RPGAMMO__STATIC 44 -extern unsigned short GROWAMMO; +extern int GROWAMMO; #define GROWAMMO__STATIC 45 -extern unsigned short CRYSTALAMMO; +extern int CRYSTALAMMO; #define CRYSTALAMMO__STATIC 46 -extern unsigned short HBOMBAMMO; +extern int HBOMBAMMO; #define HBOMBAMMO__STATIC 47 -extern unsigned short AMMOLOTS; +extern int AMMOLOTS; #define AMMOLOTS__STATIC 48 -extern unsigned short SHOTGUNAMMO; +extern int SHOTGUNAMMO; #define SHOTGUNAMMO__STATIC 49 -extern unsigned short COLA; +extern int COLA; #define COLA__STATIC 51 -extern unsigned short SIXPAK; +extern int SIXPAK; #define SIXPAK__STATIC 52 -extern unsigned short FIRSTAID; +extern int FIRSTAID; #define FIRSTAID__STATIC 53 -extern unsigned short SHIELD; +extern int SHIELD; #define SHIELD__STATIC 54 -extern unsigned short STEROIDS; +extern int STEROIDS; #define STEROIDS__STATIC 55 -extern unsigned short AIRTANK; +extern int AIRTANK; #define AIRTANK__STATIC 56 -extern unsigned short JETPACK; +extern int JETPACK; #define JETPACK__STATIC 57 -extern unsigned short HEATSENSOR; +extern int HEATSENSOR; #define HEATSENSOR__STATIC 59 -extern unsigned short ACCESSCARD; +extern int ACCESSCARD; #define ACCESSCARD__STATIC 60 -extern unsigned short BOOTS; +extern int BOOTS; #define BOOTS__STATIC 61 -extern unsigned short MIRRORBROKE; +extern int MIRRORBROKE; #define MIRRORBROKE__STATIC 70 -extern unsigned short CLOUDYOCEAN; +extern int CLOUDYOCEAN; #define CLOUDYOCEAN__STATIC 78 -extern unsigned short CLOUDYSKIES; +extern int CLOUDYSKIES; #define CLOUDYSKIES__STATIC 79 -extern unsigned short MOONSKY1; +extern int MOONSKY1; #define MOONSKY1__STATIC 80 -extern unsigned short MOONSKY2; +extern int MOONSKY2; #define MOONSKY2__STATIC 81 -extern unsigned short MOONSKY3; +extern int MOONSKY3; #define MOONSKY3__STATIC 82 -extern unsigned short MOONSKY4; +extern int MOONSKY4; #define MOONSKY4__STATIC 83 -extern unsigned short BIGORBIT1; +extern int BIGORBIT1; #define BIGORBIT1__STATIC 84 -extern unsigned short BIGORBIT2; +extern int BIGORBIT2; #define BIGORBIT2__STATIC 85 -extern unsigned short BIGORBIT3; +extern int BIGORBIT3; #define BIGORBIT3__STATIC 86 -extern unsigned short BIGORBIT4; +extern int BIGORBIT4; #define BIGORBIT4__STATIC 87 -extern unsigned short BIGORBIT5; +extern int BIGORBIT5; #define BIGORBIT5__STATIC 88 -extern unsigned short LA; +extern int LA; #define LA__STATIC 89 -extern unsigned short REDSKY1; +extern int REDSKY1; #define REDSKY1__STATIC 98 -extern unsigned short REDSKY2; +extern int REDSKY2; #define REDSKY2__STATIC 99 -extern unsigned short ATOMICHEALTH; +extern int ATOMICHEALTH; #define ATOMICHEALTH__STATIC 100 -extern unsigned short TECHLIGHT2; +extern int TECHLIGHT2; #define TECHLIGHT2__STATIC 120 -extern unsigned short TECHLIGHTBUST2; +extern int TECHLIGHTBUST2; #define TECHLIGHTBUST2__STATIC 121 -extern unsigned short TECHLIGHT4; +extern int TECHLIGHT4; #define TECHLIGHT4__STATIC 122 -extern unsigned short TECHLIGHTBUST4; +extern int TECHLIGHTBUST4; #define TECHLIGHTBUST4__STATIC 123 -extern unsigned short WALLLIGHT4; +extern int WALLLIGHT4; #define WALLLIGHT4__STATIC 124 -extern unsigned short WALLLIGHTBUST4; +extern int WALLLIGHTBUST4; #define WALLLIGHTBUST4__STATIC 125 -extern unsigned short ACCESSSWITCH; +extern int ACCESSSWITCH; #define ACCESSSWITCH__STATIC 130 -extern unsigned short SLOTDOOR; +extern int SLOTDOOR; #define SLOTDOOR__STATIC 132 -extern unsigned short LIGHTSWITCH; +extern int LIGHTSWITCH; #define LIGHTSWITCH__STATIC 134 -extern unsigned short SPACEDOORSWITCH; +extern int SPACEDOORSWITCH; #define SPACEDOORSWITCH__STATIC 136 -extern unsigned short SPACELIGHTSWITCH; +extern int SPACELIGHTSWITCH; #define SPACELIGHTSWITCH__STATIC 138 -extern unsigned short FRANKENSTINESWITCH; +extern int FRANKENSTINESWITCH; #define FRANKENSTINESWITCH__STATIC 140 -extern unsigned short NUKEBUTTON; +extern int NUKEBUTTON; #define NUKEBUTTON__STATIC 142 -extern unsigned short MULTISWITCH; +extern int MULTISWITCH; #define MULTISWITCH__STATIC 146 -extern unsigned short DOORTILE5; +extern int DOORTILE5; #define DOORTILE5__STATIC 150 -extern unsigned short DOORTILE6; +extern int DOORTILE6; #define DOORTILE6__STATIC 151 -extern unsigned short DOORTILE1; +extern int DOORTILE1; #define DOORTILE1__STATIC 152 -extern unsigned short DOORTILE2; +extern int DOORTILE2; #define DOORTILE2__STATIC 153 -extern unsigned short DOORTILE3; +extern int DOORTILE3; #define DOORTILE3__STATIC 154 -extern unsigned short DOORTILE4; +extern int DOORTILE4; #define DOORTILE4__STATIC 155 -extern unsigned short DOORTILE7; +extern int DOORTILE7; #define DOORTILE7__STATIC 156 -extern unsigned short DOORTILE8; +extern int DOORTILE8; #define DOORTILE8__STATIC 157 -extern unsigned short DOORTILE9; +extern int DOORTILE9; #define DOORTILE9__STATIC 158 -extern unsigned short DOORTILE10; +extern int DOORTILE10; #define DOORTILE10__STATIC 159 -extern unsigned short DOORSHOCK; +extern int DOORSHOCK; #define DOORSHOCK__STATIC 160 -extern unsigned short DIPSWITCH; +extern int DIPSWITCH; #define DIPSWITCH__STATIC 162 -extern unsigned short DIPSWITCH2; +extern int DIPSWITCH2; #define DIPSWITCH2__STATIC 164 -extern unsigned short TECHSWITCH; +extern int TECHSWITCH; #define TECHSWITCH__STATIC 166 -extern unsigned short DIPSWITCH3; +extern int DIPSWITCH3; #define DIPSWITCH3__STATIC 168 -extern unsigned short ACCESSSWITCH2; +extern int ACCESSSWITCH2; #define ACCESSSWITCH2__STATIC 170 -extern unsigned short REFLECTWATERTILE; +extern int REFLECTWATERTILE; #define REFLECTWATERTILE__STATIC 180 -extern unsigned short FLOORSLIME; +extern int FLOORSLIME; #define FLOORSLIME__STATIC 200 -extern unsigned short BIGFORCE; +extern int BIGFORCE; #define BIGFORCE__STATIC 230 -extern unsigned short EPISODE; +extern int EPISODE; #define EPISODE__STATIC 247 -extern unsigned short MASKWALL9; +extern int MASKWALL9; #define MASKWALL9__STATIC 255 -extern unsigned short W_LIGHT; +extern int W_LIGHT; #define W_LIGHT__STATIC 260 -extern unsigned short SCREENBREAK1; +extern int SCREENBREAK1; #define SCREENBREAK1__STATIC 263 -extern unsigned short SCREENBREAK2; +extern int SCREENBREAK2; #define SCREENBREAK2__STATIC 264 -extern unsigned short SCREENBREAK3; +extern int SCREENBREAK3; #define SCREENBREAK3__STATIC 265 -extern unsigned short SCREENBREAK4; +extern int SCREENBREAK4; #define SCREENBREAK4__STATIC 266 -extern unsigned short SCREENBREAK5; +extern int SCREENBREAK5; #define SCREENBREAK5__STATIC 267 -extern unsigned short SCREENBREAK6; +extern int SCREENBREAK6; #define SCREENBREAK6__STATIC 268 -extern unsigned short SCREENBREAK7; +extern int SCREENBREAK7; #define SCREENBREAK7__STATIC 269 -extern unsigned short SCREENBREAK8; +extern int SCREENBREAK8; #define SCREENBREAK8__STATIC 270 -extern unsigned short SCREENBREAK9; +extern int SCREENBREAK9; #define SCREENBREAK9__STATIC 271 -extern unsigned short SCREENBREAK10; +extern int SCREENBREAK10; #define SCREENBREAK10__STATIC 272 -extern unsigned short SCREENBREAK11; +extern int SCREENBREAK11; #define SCREENBREAK11__STATIC 273 -extern unsigned short SCREENBREAK12; +extern int SCREENBREAK12; #define SCREENBREAK12__STATIC 274 -extern unsigned short SCREENBREAK13; +extern int SCREENBREAK13; #define SCREENBREAK13__STATIC 275 -extern unsigned short MASKWALL1; +extern int MASKWALL1; #define MASKWALL1__STATIC 285 -extern unsigned short W_TECHWALL1; +extern int W_TECHWALL1; #define W_TECHWALL1__STATIC 293 -extern unsigned short W_TECHWALL2; +extern int W_TECHWALL2; #define W_TECHWALL2__STATIC 297 -extern unsigned short W_TECHWALL15; +extern int W_TECHWALL15; #define W_TECHWALL15__STATIC 299 -extern unsigned short W_TECHWALL3; +extern int W_TECHWALL3; #define W_TECHWALL3__STATIC 301 -extern unsigned short W_TECHWALL4; +extern int W_TECHWALL4; #define W_TECHWALL4__STATIC 305 -extern unsigned short W_TECHWALL10; +extern int W_TECHWALL10; #define W_TECHWALL10__STATIC 306 -extern unsigned short W_TECHWALL16; +extern int W_TECHWALL16; #define W_TECHWALL16__STATIC 307 -extern unsigned short WATERTILE2; +extern int WATERTILE2; #define WATERTILE2__STATIC 336 -extern unsigned short BPANNEL1; +extern int BPANNEL1; #define BPANNEL1__STATIC 341 -extern unsigned short PANNEL1; +extern int PANNEL1; #define PANNEL1__STATIC 342 -extern unsigned short PANNEL2; +extern int PANNEL2; #define PANNEL2__STATIC 343 -extern unsigned short WATERTILE; +extern int WATERTILE; #define WATERTILE__STATIC 344 -extern unsigned short STATIC; +extern int STATIC; #define STATIC__STATIC 351 -extern unsigned short W_SCREENBREAK; +extern int W_SCREENBREAK; #define W_SCREENBREAK__STATIC 357 -extern unsigned short W_HITTECHWALL3; +extern int W_HITTECHWALL3; #define W_HITTECHWALL3__STATIC 360 -extern unsigned short W_HITTECHWALL4; +extern int W_HITTECHWALL4; #define W_HITTECHWALL4__STATIC 361 -extern unsigned short W_HITTECHWALL2; +extern int W_HITTECHWALL2; #define W_HITTECHWALL2__STATIC 362 -extern unsigned short W_HITTECHWALL1; +extern int W_HITTECHWALL1; #define W_HITTECHWALL1__STATIC 363 -extern unsigned short MASKWALL10; +extern int MASKWALL10; #define MASKWALL10__STATIC 387 -extern unsigned short MASKWALL11; +extern int MASKWALL11; #define MASKWALL11__STATIC 391 -extern unsigned short DOORTILE22; +extern int DOORTILE22; #define DOORTILE22__STATIC 395 -extern unsigned short FANSPRITE; +extern int FANSPRITE; #define FANSPRITE__STATIC 407 -extern unsigned short FANSPRITEBROKE; +extern int FANSPRITEBROKE; #define FANSPRITEBROKE__STATIC 411 -extern unsigned short FANSHADOW; +extern int FANSHADOW; #define FANSHADOW__STATIC 412 -extern unsigned short FANSHADOWBROKE; +extern int FANSHADOWBROKE; #define FANSHADOWBROKE__STATIC 416 -extern unsigned short DOORTILE18; +extern int DOORTILE18; #define DOORTILE18__STATIC 447 -extern unsigned short DOORTILE19; +extern int DOORTILE19; #define DOORTILE19__STATIC 448 -extern unsigned short DOORTILE20; +extern int DOORTILE20; #define DOORTILE20__STATIC 449 -extern unsigned short SATELLITE; +extern int SATELLITE; #define SATELLITE__STATIC 489 -extern unsigned short VIEWSCREEN2; +extern int VIEWSCREEN2; #define VIEWSCREEN2__STATIC 499 -extern unsigned short VIEWSCREENBROKE; +extern int VIEWSCREENBROKE; #define VIEWSCREENBROKE__STATIC 501 -extern unsigned short VIEWSCREEN; +extern int VIEWSCREEN; #define VIEWSCREEN__STATIC 502 -extern unsigned short GLASS; +extern int GLASS; #define GLASS__STATIC 503 -extern unsigned short GLASS2; +extern int GLASS2; #define GLASS2__STATIC 504 -extern unsigned short STAINGLASS1; +extern int STAINGLASS1; #define STAINGLASS1__STATIC 510 -extern unsigned short MASKWALL5; +extern int MASKWALL5; #define MASKWALL5__STATIC 514 -extern unsigned short SATELITE; +extern int SATELITE; #define SATELITE__STATIC 516 -extern unsigned short FUELPOD; +extern int FUELPOD; #define FUELPOD__STATIC 517 -extern unsigned short SLIMEPIPE; +extern int SLIMEPIPE; #define SLIMEPIPE__STATIC 538 -extern unsigned short CRACK1; +extern int CRACK1; #define CRACK1__STATIC 546 -extern unsigned short CRACK2; +extern int CRACK2; #define CRACK2__STATIC 547 -extern unsigned short CRACK3; +extern int CRACK3; #define CRACK3__STATIC 548 -extern unsigned short CRACK4; +extern int CRACK4; #define CRACK4__STATIC 549 -extern unsigned short FOOTPRINTS; +extern int FOOTPRINTS; #define FOOTPRINTS__STATIC 550 -extern unsigned short DOMELITE; +extern int DOMELITE; #define DOMELITE__STATIC 551 -extern unsigned short CAMERAPOLE; +extern int CAMERAPOLE; #define CAMERAPOLE__STATIC 554 -extern unsigned short CHAIR1; +extern int CHAIR1; #define CHAIR1__STATIC 556 -extern unsigned short CHAIR2; +extern int CHAIR2; #define CHAIR2__STATIC 557 -extern unsigned short BROKENCHAIR; +extern int BROKENCHAIR; #define BROKENCHAIR__STATIC 559 -extern unsigned short MIRROR; +extern int MIRROR; #define MIRROR__STATIC 560 -extern unsigned short WATERFOUNTAIN; +extern int WATERFOUNTAIN; #define WATERFOUNTAIN__STATIC 563 -extern unsigned short WATERFOUNTAINBROKE; +extern int WATERFOUNTAINBROKE; #define WATERFOUNTAINBROKE__STATIC 567 -extern unsigned short FEMMAG1; +extern int FEMMAG1; #define FEMMAG1__STATIC 568 -extern unsigned short TOILET; +extern int TOILET; #define TOILET__STATIC 569 -extern unsigned short STALL; +extern int STALL; #define STALL__STATIC 571 -extern unsigned short STALLBROKE; +extern int STALLBROKE; #define STALLBROKE__STATIC 573 -extern unsigned short FEMMAG2; +extern int FEMMAG2; #define FEMMAG2__STATIC 577 -extern unsigned short REACTOR2; +extern int REACTOR2; #define REACTOR2__STATIC 578 -extern unsigned short REACTOR2BURNT; +extern int REACTOR2BURNT; #define REACTOR2BURNT__STATIC 579 -extern unsigned short REACTOR2SPARK; +extern int REACTOR2SPARK; #define REACTOR2SPARK__STATIC 580 -extern unsigned short GRATE1; +extern int GRATE1; #define GRATE1__STATIC 595 -extern unsigned short BGRATE1; +extern int BGRATE1; #define BGRATE1__STATIC 596 -extern unsigned short SOLARPANNEL; +extern int SOLARPANNEL; #define SOLARPANNEL__STATIC 602 -extern unsigned short NAKED1; +extern int NAKED1; #define NAKED1__STATIC 603 -extern unsigned short ANTENNA; +extern int ANTENNA; #define ANTENNA__STATIC 607 -extern unsigned short MASKWALL12; +extern int MASKWALL12; #define MASKWALL12__STATIC 609 -extern unsigned short TOILETBROKE; +extern int TOILETBROKE; #define TOILETBROKE__STATIC 615 -extern unsigned short PIPE2; +extern int PIPE2; #define PIPE2__STATIC 616 -extern unsigned short PIPE1B; +extern int PIPE1B; #define PIPE1B__STATIC 617 -extern unsigned short PIPE3; +extern int PIPE3; #define PIPE3__STATIC 618 -extern unsigned short PIPE1; +extern int PIPE1; #define PIPE1__STATIC 619 -extern unsigned short CAMERA1; +extern int CAMERA1; #define CAMERA1__STATIC 621 -extern unsigned short BRICK; +extern int BRICK; #define BRICK__STATIC 626 -extern unsigned short SPLINTERWOOD; +extern int SPLINTERWOOD; #define SPLINTERWOOD__STATIC 630 -extern unsigned short PIPE2B; +extern int PIPE2B; #define PIPE2B__STATIC 633 -extern unsigned short BOLT1; +extern int BOLT1; #define BOLT1__STATIC 634 -extern unsigned short W_NUMBERS; +extern int W_NUMBERS; #define W_NUMBERS__STATIC 640 -extern unsigned short WATERDRIP; +extern int WATERDRIP; #define WATERDRIP__STATIC 660 -extern unsigned short WATERBUBBLE; +extern int WATERBUBBLE; #define WATERBUBBLE__STATIC 661 -extern unsigned short WATERBUBBLEMAKER; +extern int WATERBUBBLEMAKER; #define WATERBUBBLEMAKER__STATIC 662 -extern unsigned short W_FORCEFIELD; +extern int W_FORCEFIELD; #define W_FORCEFIELD__STATIC 663 -extern unsigned short VACUUM; +extern int VACUUM; #define VACUUM__STATIC 669 -extern unsigned short FOOTPRINTS2; +extern int FOOTPRINTS2; #define FOOTPRINTS2__STATIC 672 -extern unsigned short FOOTPRINTS3; +extern int FOOTPRINTS3; #define FOOTPRINTS3__STATIC 673 -extern unsigned short FOOTPRINTS4; +extern int FOOTPRINTS4; #define FOOTPRINTS4__STATIC 674 -extern unsigned short EGG; +extern int EGG; #define EGG__STATIC 675 -extern unsigned short SCALE; +extern int SCALE; #define SCALE__STATIC 678 -extern unsigned short CHAIR3; +extern int CHAIR3; #define CHAIR3__STATIC 680 -extern unsigned short CAMERALIGHT; +extern int CAMERALIGHT; #define CAMERALIGHT__STATIC 685 -extern unsigned short MOVIECAMERA; +extern int MOVIECAMERA; #define MOVIECAMERA__STATIC 686 -extern unsigned short IVUNIT; +extern int IVUNIT; #define IVUNIT__STATIC 689 -extern unsigned short POT1; +extern int POT1; #define POT1__STATIC 694 -extern unsigned short POT2; +extern int POT2; #define POT2__STATIC 695 -extern unsigned short POT3; +extern int POT3; #define POT3__STATIC 697 -extern unsigned short PIPE3B; +extern int PIPE3B; #define PIPE3B__STATIC 700 -extern unsigned short WALLLIGHT3; +extern int WALLLIGHT3; #define WALLLIGHT3__STATIC 701 -extern unsigned short WALLLIGHTBUST3; +extern int WALLLIGHTBUST3; #define WALLLIGHTBUST3__STATIC 702 -extern unsigned short WALLLIGHT1; +extern int WALLLIGHT1; #define WALLLIGHT1__STATIC 703 -extern unsigned short WALLLIGHTBUST1; +extern int WALLLIGHTBUST1; #define WALLLIGHTBUST1__STATIC 704 -extern unsigned short WALLLIGHT2; +extern int WALLLIGHT2; #define WALLLIGHT2__STATIC 705 -extern unsigned short WALLLIGHTBUST2; +extern int WALLLIGHTBUST2; #define WALLLIGHTBUST2__STATIC 706 -extern unsigned short LIGHTSWITCH2; +extern int LIGHTSWITCH2; #define LIGHTSWITCH2__STATIC 712 -extern unsigned short WAITTOBESEATED; +extern int WAITTOBESEATED; #define WAITTOBESEATED__STATIC 716 -extern unsigned short DOORTILE14; +extern int DOORTILE14; #define DOORTILE14__STATIC 717 -extern unsigned short STATUE; +extern int STATUE; #define STATUE__STATIC 753 -extern unsigned short MIKE; +extern int MIKE; #define MIKE__STATIC 762 -extern unsigned short VASE; +extern int VASE; #define VASE__STATIC 765 -extern unsigned short SUSHIPLATE1; +extern int SUSHIPLATE1; #define SUSHIPLATE1__STATIC 768 -extern unsigned short SUSHIPLATE2; +extern int SUSHIPLATE2; #define SUSHIPLATE2__STATIC 769 -extern unsigned short SUSHIPLATE3; +extern int SUSHIPLATE3; #define SUSHIPLATE3__STATIC 774 -extern unsigned short SUSHIPLATE4; +extern int SUSHIPLATE4; #define SUSHIPLATE4__STATIC 779 -extern unsigned short DOORTILE16; +extern int DOORTILE16; #define DOORTILE16__STATIC 781 -extern unsigned short SUSHIPLATE5; +extern int SUSHIPLATE5; #define SUSHIPLATE5__STATIC 792 -extern unsigned short OJ; +extern int OJ; #define OJ__STATIC 806 -extern unsigned short MASKWALL13; +extern int MASKWALL13; #define MASKWALL13__STATIC 830 -extern unsigned short HURTRAIL; +extern int HURTRAIL; #define HURTRAIL__STATIC 859 -extern unsigned short POWERSWITCH1; +extern int POWERSWITCH1; #define POWERSWITCH1__STATIC 860 -extern unsigned short LOCKSWITCH1; +extern int LOCKSWITCH1; #define LOCKSWITCH1__STATIC 862 -extern unsigned short POWERSWITCH2; +extern int POWERSWITCH2; #define POWERSWITCH2__STATIC 864 -extern unsigned short ATM; +extern int ATM; #define ATM__STATIC 867 -extern unsigned short STATUEFLASH; +extern int STATUEFLASH; #define STATUEFLASH__STATIC 869 -extern unsigned short ATMBROKE; +extern int ATMBROKE; #define ATMBROKE__STATIC 888 -extern unsigned short BIGHOLE2; +extern int BIGHOLE2; #define BIGHOLE2__STATIC 893 -extern unsigned short STRIPEBALL; +extern int STRIPEBALL; #define STRIPEBALL__STATIC 901 -extern unsigned short QUEBALL; +extern int QUEBALL; #define QUEBALL__STATIC 902 -extern unsigned short POCKET; +extern int POCKET; #define POCKET__STATIC 903 -extern unsigned short WOODENHORSE; +extern int WOODENHORSE; #define WOODENHORSE__STATIC 904 -extern unsigned short TREE1; +extern int TREE1; #define TREE1__STATIC 908 -extern unsigned short TREE2; +extern int TREE2; #define TREE2__STATIC 910 -extern unsigned short CACTUS; +extern int CACTUS; #define CACTUS__STATIC 911 -extern unsigned short MASKWALL2; +extern int MASKWALL2; #define MASKWALL2__STATIC 913 -extern unsigned short MASKWALL3; +extern int MASKWALL3; #define MASKWALL3__STATIC 914 -extern unsigned short MASKWALL4; +extern int MASKWALL4; #define MASKWALL4__STATIC 915 -extern unsigned short FIREEXT; +extern int FIREEXT; #define FIREEXT__STATIC 916 -extern unsigned short TOILETWATER; +extern int TOILETWATER; #define TOILETWATER__STATIC 921 -extern unsigned short NEON1; +extern int NEON1; #define NEON1__STATIC 925 -extern unsigned short NEON2; +extern int NEON2; #define NEON2__STATIC 926 -extern unsigned short CACTUSBROKE; +extern int CACTUSBROKE; #define CACTUSBROKE__STATIC 939 -extern unsigned short BOUNCEMINE; +extern int BOUNCEMINE; #define BOUNCEMINE__STATIC 940 -extern unsigned short BROKEFIREHYDRENT; +extern int BROKEFIREHYDRENT; #define BROKEFIREHYDRENT__STATIC 950 -extern unsigned short BOX; +extern int BOX; #define BOX__STATIC 951 -extern unsigned short BULLETHOLE; +extern int BULLETHOLE; #define BULLETHOLE__STATIC 952 -extern unsigned short BOTTLE1; +extern int BOTTLE1; #define BOTTLE1__STATIC 954 -extern unsigned short BOTTLE2; +extern int BOTTLE2; #define BOTTLE2__STATIC 955 -extern unsigned short BOTTLE3; +extern int BOTTLE3; #define BOTTLE3__STATIC 956 -extern unsigned short BOTTLE4; +extern int BOTTLE4; #define BOTTLE4__STATIC 957 -extern unsigned short FEMPIC5; +extern int FEMPIC5; #define FEMPIC5__STATIC 963 -extern unsigned short FEMPIC6; +extern int FEMPIC6; #define FEMPIC6__STATIC 964 -extern unsigned short FEMPIC7; +extern int FEMPIC7; #define FEMPIC7__STATIC 965 -extern unsigned short HYDROPLANT; +extern int HYDROPLANT; #define HYDROPLANT__STATIC 969 -extern unsigned short OCEANSPRITE1; +extern int OCEANSPRITE1; #define OCEANSPRITE1__STATIC 971 -extern unsigned short OCEANSPRITE2; +extern int OCEANSPRITE2; #define OCEANSPRITE2__STATIC 972 -extern unsigned short OCEANSPRITE3; +extern int OCEANSPRITE3; #define OCEANSPRITE3__STATIC 973 -extern unsigned short OCEANSPRITE4; +extern int OCEANSPRITE4; #define OCEANSPRITE4__STATIC 974 -extern unsigned short OCEANSPRITE5; +extern int OCEANSPRITE5; #define OCEANSPRITE5__STATIC 975 -extern unsigned short GENERICPOLE; +extern int GENERICPOLE; #define GENERICPOLE__STATIC 977 -extern unsigned short CONE; +extern int CONE; #define CONE__STATIC 978 -extern unsigned short HANGLIGHT; +extern int HANGLIGHT; #define HANGLIGHT__STATIC 979 -extern unsigned short HYDRENT; +extern int HYDRENT; #define HYDRENT__STATIC 981 -extern unsigned short MASKWALL14; +extern int MASKWALL14; #define MASKWALL14__STATIC 988 -extern unsigned short TIRE; +extern int TIRE; #define TIRE__STATIC 990 -extern unsigned short PIPE5; +extern int PIPE5; #define PIPE5__STATIC 994 -extern unsigned short PIPE6; +extern int PIPE6; #define PIPE6__STATIC 995 -extern unsigned short PIPE4; +extern int PIPE4; #define PIPE4__STATIC 996 -extern unsigned short PIPE4B; +extern int PIPE4B; #define PIPE4B__STATIC 997 -extern unsigned short BROKEHYDROPLANT; +extern int BROKEHYDROPLANT; #define BROKEHYDROPLANT__STATIC 1003 -extern unsigned short PIPE5B; +extern int PIPE5B; #define PIPE5B__STATIC 1005 -extern unsigned short NEON3; +extern int NEON3; #define NEON3__STATIC 1007 -extern unsigned short NEON4; +extern int NEON4; #define NEON4__STATIC 1008 -extern unsigned short NEON5; +extern int NEON5; #define NEON5__STATIC 1009 -extern unsigned short BOTTLE5; +extern int BOTTLE5; #define BOTTLE5__STATIC 1012 -extern unsigned short BOTTLE6; +extern int BOTTLE6; #define BOTTLE6__STATIC 1013 -extern unsigned short BOTTLE8; +extern int BOTTLE8; #define BOTTLE8__STATIC 1014 -extern unsigned short SPOTLITE; +extern int SPOTLITE; #define SPOTLITE__STATIC 1020 -extern unsigned short HANGOOZ; +extern int HANGOOZ; #define HANGOOZ__STATIC 1022 -extern unsigned short MASKWALL15; +extern int MASKWALL15; #define MASKWALL15__STATIC 1024 -extern unsigned short BOTTLE7; +extern int BOTTLE7; #define BOTTLE7__STATIC 1025 -extern unsigned short HORSEONSIDE; +extern int HORSEONSIDE; #define HORSEONSIDE__STATIC 1026 -extern unsigned short GLASSPIECES; +extern int GLASSPIECES; #define GLASSPIECES__STATIC 1031 -extern unsigned short HORSELITE; +extern int HORSELITE; #define HORSELITE__STATIC 1034 -extern unsigned short DONUTS; +extern int DONUTS; #define DONUTS__STATIC 1045 -extern unsigned short NEON6; +extern int NEON6; #define NEON6__STATIC 1046 -extern unsigned short MASKWALL6; +extern int MASKWALL6; #define MASKWALL6__STATIC 1059 -extern unsigned short CLOCK; +extern int CLOCK; #define CLOCK__STATIC 1060 -extern unsigned short RUBBERCAN; +extern int RUBBERCAN; #define RUBBERCAN__STATIC 1062 -extern unsigned short BROKENCLOCK; +extern int BROKENCLOCK; #define BROKENCLOCK__STATIC 1067 -extern unsigned short PLUG; +extern int PLUG; #define PLUG__STATIC 1069 -extern unsigned short OOZFILTER; +extern int OOZFILTER; #define OOZFILTER__STATIC 1079 -extern unsigned short FLOORPLASMA; +extern int FLOORPLASMA; #define FLOORPLASMA__STATIC 1082 -extern unsigned short REACTOR; +extern int REACTOR; #define REACTOR__STATIC 1088 -extern unsigned short REACTORSPARK; +extern int REACTORSPARK; #define REACTORSPARK__STATIC 1092 -extern unsigned short REACTORBURNT; +extern int REACTORBURNT; #define REACTORBURNT__STATIC 1096 -extern unsigned short DOORTILE15; +extern int DOORTILE15; #define DOORTILE15__STATIC 1102 -extern unsigned short HANDSWITCH; +extern int HANDSWITCH; #define HANDSWITCH__STATIC 1111 -extern unsigned short CIRCLEPANNEL; +extern int CIRCLEPANNEL; #define CIRCLEPANNEL__STATIC 1113 -extern unsigned short CIRCLEPANNELBROKE; +extern int CIRCLEPANNELBROKE; #define CIRCLEPANNELBROKE__STATIC 1114 -extern unsigned short PULLSWITCH; +extern int PULLSWITCH; #define PULLSWITCH__STATIC 1122 -extern unsigned short MASKWALL8; +extern int MASKWALL8; #define MASKWALL8__STATIC 1124 -extern unsigned short BIGHOLE; +extern int BIGHOLE; #define BIGHOLE__STATIC 1141 -extern unsigned short ALIENSWITCH; +extern int ALIENSWITCH; #define ALIENSWITCH__STATIC 1142 -extern unsigned short DOORTILE21; +extern int DOORTILE21; #define DOORTILE21__STATIC 1144 -extern unsigned short HANDPRINTSWITCH; +extern int HANDPRINTSWITCH; #define HANDPRINTSWITCH__STATIC 1155 -extern unsigned short BOTTLE10; +extern int BOTTLE10; #define BOTTLE10__STATIC 1157 -extern unsigned short BOTTLE11; +extern int BOTTLE11; #define BOTTLE11__STATIC 1158 -extern unsigned short BOTTLE12; +extern int BOTTLE12; #define BOTTLE12__STATIC 1159 -extern unsigned short BOTTLE13; +extern int BOTTLE13; #define BOTTLE13__STATIC 1160 -extern unsigned short BOTTLE14; +extern int BOTTLE14; #define BOTTLE14__STATIC 1161 -extern unsigned short BOTTLE15; +extern int BOTTLE15; #define BOTTLE15__STATIC 1162 -extern unsigned short BOTTLE16; +extern int BOTTLE16; #define BOTTLE16__STATIC 1163 -extern unsigned short BOTTLE17; +extern int BOTTLE17; #define BOTTLE17__STATIC 1164 -extern unsigned short BOTTLE18; +extern int BOTTLE18; #define BOTTLE18__STATIC 1165 -extern unsigned short BOTTLE19; +extern int BOTTLE19; #define BOTTLE19__STATIC 1166 -extern unsigned short DOORTILE17; +extern int DOORTILE17; #define DOORTILE17__STATIC 1169 -extern unsigned short MASKWALL7; +extern int MASKWALL7; #define MASKWALL7__STATIC 1174 -extern unsigned short JAILBARBREAK; +extern int JAILBARBREAK; #define JAILBARBREAK__STATIC 1175 -extern unsigned short DOORTILE11; +extern int DOORTILE11; #define DOORTILE11__STATIC 1178 -extern unsigned short DOORTILE12; +extern int DOORTILE12; #define DOORTILE12__STATIC 1179 -extern unsigned short VENDMACHINE; +extern int VENDMACHINE; #define VENDMACHINE__STATIC 1212 -extern unsigned short VENDMACHINEBROKE; +extern int VENDMACHINEBROKE; #define VENDMACHINEBROKE__STATIC 1214 -extern unsigned short COLAMACHINE; +extern int COLAMACHINE; #define COLAMACHINE__STATIC 1215 -extern unsigned short COLAMACHINEBROKE; +extern int COLAMACHINEBROKE; #define COLAMACHINEBROKE__STATIC 1217 -extern unsigned short CRANEPOLE; +extern int CRANEPOLE; #define CRANEPOLE__STATIC 1221 -extern unsigned short CRANE; +extern int CRANE; #define CRANE__STATIC 1222 -extern unsigned short BARBROKE; +extern int BARBROKE; #define BARBROKE__STATIC 1225 -extern unsigned short BLOODPOOL; +extern int BLOODPOOL; #define BLOODPOOL__STATIC 1226 -extern unsigned short NUKEBARREL; +extern int NUKEBARREL; #define NUKEBARREL__STATIC 1227 -extern unsigned short NUKEBARRELDENTED; +extern int NUKEBARRELDENTED; #define NUKEBARRELDENTED__STATIC 1228 -extern unsigned short NUKEBARRELLEAKED; +extern int NUKEBARRELLEAKED; #define NUKEBARRELLEAKED__STATIC 1229 -extern unsigned short CANWITHSOMETHING; +extern int CANWITHSOMETHING; #define CANWITHSOMETHING__STATIC 1232 -extern unsigned short MONEY; +extern int MONEY; #define MONEY__STATIC 1233 -extern unsigned short BANNER; +extern int BANNER; #define BANNER__STATIC 1236 -extern unsigned short EXPLODINGBARREL; +extern int EXPLODINGBARREL; #define EXPLODINGBARREL__STATIC 1238 -extern unsigned short EXPLODINGBARREL2; +extern int EXPLODINGBARREL2; #define EXPLODINGBARREL2__STATIC 1239 -extern unsigned short FIREBARREL; +extern int FIREBARREL; #define FIREBARREL__STATIC 1240 -extern unsigned short SEENINE; +extern int SEENINE; #define SEENINE__STATIC 1247 -extern unsigned short SEENINEDEAD; +extern int SEENINEDEAD; #define SEENINEDEAD__STATIC 1248 -extern unsigned short STEAM; +extern int STEAM; #define STEAM__STATIC 1250 -extern unsigned short CEILINGSTEAM; +extern int CEILINGSTEAM; #define CEILINGSTEAM__STATIC 1255 -extern unsigned short PIPE6B; +extern int PIPE6B; #define PIPE6B__STATIC 1260 -extern unsigned short TRANSPORTERBEAM; +extern int TRANSPORTERBEAM; #define TRANSPORTERBEAM__STATIC 1261 -extern unsigned short RAT; +extern int RAT; #define RAT__STATIC 1267 -extern unsigned short TRASH; +extern int TRASH; #define TRASH__STATIC 1272 -extern unsigned short FEMPIC1; +extern int FEMPIC1; #define FEMPIC1__STATIC 1280 -extern unsigned short FEMPIC2; +extern int FEMPIC2; #define FEMPIC2__STATIC 1289 -extern unsigned short BLANKSCREEN; +extern int BLANKSCREEN; #define BLANKSCREEN__STATIC 1293 -extern unsigned short PODFEM1; +extern int PODFEM1; #define PODFEM1__STATIC 1294 -extern unsigned short FEMPIC3; +extern int FEMPIC3; #define FEMPIC3__STATIC 1298 -extern unsigned short FEMPIC4; +extern int FEMPIC4; #define FEMPIC4__STATIC 1306 -extern unsigned short FEM1; +extern int FEM1; #define FEM1__STATIC 1312 -extern unsigned short FEM2; +extern int FEM2; #define FEM2__STATIC 1317 -extern unsigned short FEM3; +extern int FEM3; #define FEM3__STATIC 1321 -extern unsigned short FEM5; +extern int FEM5; #define FEM5__STATIC 1323 -extern unsigned short BLOODYPOLE; +extern int BLOODYPOLE; #define BLOODYPOLE__STATIC 1324 -extern unsigned short FEM4; +extern int FEM4; #define FEM4__STATIC 1325 -extern unsigned short FEM6; +extern int FEM6; #define FEM6__STATIC 1334 -extern unsigned short FEM6PAD; +extern int FEM6PAD; #define FEM6PAD__STATIC 1335 -extern unsigned short FEM8; +extern int FEM8; #define FEM8__STATIC 1336 -extern unsigned short HELECOPT; +extern int HELECOPT; #define HELECOPT__STATIC 1346 -extern unsigned short FETUSJIB; +extern int FETUSJIB; #define FETUSJIB__STATIC 1347 -extern unsigned short HOLODUKE; +extern int HOLODUKE; #define HOLODUKE__STATIC 1348 -extern unsigned short SPACEMARINE; +extern int SPACEMARINE; #define SPACEMARINE__STATIC 1353 -extern unsigned short INDY; +extern int INDY; #define INDY__STATIC 1355 -extern unsigned short FETUS; +extern int FETUS; #define FETUS__STATIC 1358 -extern unsigned short FETUSBROKE; +extern int FETUSBROKE; #define FETUSBROKE__STATIC 1359 -extern unsigned short MONK; +extern int MONK; #define MONK__STATIC 1352 -extern unsigned short LUKE; +extern int LUKE; #define LUKE__STATIC 1354 -extern unsigned short COOLEXPLOSION1; +extern int COOLEXPLOSION1; #define COOLEXPLOSION1__STATIC 1360 -extern unsigned short WATERSPLASH2; +extern int WATERSPLASH2; #define WATERSPLASH2__STATIC 1380 -extern unsigned short FIREVASE; +extern int FIREVASE; #define FIREVASE__STATIC 1390 -extern unsigned short SCRATCH; +extern int SCRATCH; #define SCRATCH__STATIC 1393 -extern unsigned short FEM7; +extern int FEM7; #define FEM7__STATIC 1395 -extern unsigned short APLAYERTOP; +extern int APLAYERTOP; #define APLAYERTOP__STATIC 1400 -extern unsigned short APLAYER; +extern int APLAYER; #define APLAYER__STATIC 1405 -extern unsigned short PLAYERONWATER; +extern int PLAYERONWATER; #define PLAYERONWATER__STATIC 1420 -extern unsigned short DUKELYINGDEAD; +extern int DUKELYINGDEAD; #define DUKELYINGDEAD__STATIC 1518 -extern unsigned short DUKETORSO; +extern int DUKETORSO; #define DUKETORSO__STATIC 1520 -extern unsigned short DUKEGUN; +extern int DUKEGUN; #define DUKEGUN__STATIC 1528 -extern unsigned short DUKELEG; +extern int DUKELEG; #define DUKELEG__STATIC 1536 -extern unsigned short SHARK; +extern int SHARK; #define SHARK__STATIC 1550 -extern unsigned short BLOOD; +extern int BLOOD; #define BLOOD__STATIC 1620 -extern unsigned short FIRELASER; +extern int FIRELASER; #define FIRELASER__STATIC 1625 -extern unsigned short TRANSPORTERSTAR; +extern int TRANSPORTERSTAR; #define TRANSPORTERSTAR__STATIC 1630 -extern unsigned short SPIT; +extern int SPIT; #define SPIT__STATIC 1636 -extern unsigned short LOOGIE; +extern int LOOGIE; #define LOOGIE__STATIC 1637 -extern unsigned short FIST; +extern int FIST; #define FIST__STATIC 1640 -extern unsigned short FREEZEBLAST; +extern int FREEZEBLAST; #define FREEZEBLAST__STATIC 1641 -extern unsigned short DEVISTATORBLAST; +extern int DEVISTATORBLAST; #define DEVISTATORBLAST__STATIC 1642 -extern unsigned short SHRINKSPARK; +extern int SHRINKSPARK; #define SHRINKSPARK__STATIC 1646 -extern unsigned short TONGUE; +extern int TONGUE; #define TONGUE__STATIC 1647 -extern unsigned short MORTER; +extern int MORTER; #define MORTER__STATIC 1650 -extern unsigned short SHRINKEREXPLOSION; +extern int SHRINKEREXPLOSION; #define SHRINKEREXPLOSION__STATIC 1656 -extern unsigned short RADIUSEXPLOSION; +extern int RADIUSEXPLOSION; #define RADIUSEXPLOSION__STATIC 1670 -extern unsigned short FORCERIPPLE; +extern int FORCERIPPLE; #define FORCERIPPLE__STATIC 1671 -extern unsigned short LIZTROOP; +extern int LIZTROOP; #define LIZTROOP__STATIC 1680 -extern unsigned short LIZTROOPRUNNING; +extern int LIZTROOPRUNNING; #define LIZTROOPRUNNING__STATIC 1681 -extern unsigned short LIZTROOPSTAYPUT; +extern int LIZTROOPSTAYPUT; #define LIZTROOPSTAYPUT__STATIC 1682 -extern unsigned short LIZTOP; +extern int LIZTOP; #define LIZTOP__STATIC 1705 -extern unsigned short LIZTROOPSHOOT; +extern int LIZTROOPSHOOT; #define LIZTROOPSHOOT__STATIC 1715 -extern unsigned short LIZTROOPJETPACK; +extern int LIZTROOPJETPACK; #define LIZTROOPJETPACK__STATIC 1725 -extern unsigned short LIZTROOPDSPRITE; +extern int LIZTROOPDSPRITE; #define LIZTROOPDSPRITE__STATIC 1734 -extern unsigned short LIZTROOPONTOILET; +extern int LIZTROOPONTOILET; #define LIZTROOPONTOILET__STATIC 1741 -extern unsigned short LIZTROOPJUSTSIT; +extern int LIZTROOPJUSTSIT; #define LIZTROOPJUSTSIT__STATIC 1742 -extern unsigned short LIZTROOPDUCKING; +extern int LIZTROOPDUCKING; #define LIZTROOPDUCKING__STATIC 1744 -extern unsigned short HEADJIB1; +extern int HEADJIB1; #define HEADJIB1__STATIC 1768 -extern unsigned short ARMJIB1; +extern int ARMJIB1; #define ARMJIB1__STATIC 1772 -extern unsigned short LEGJIB1; +extern int LEGJIB1; #define LEGJIB1__STATIC 1776 -extern unsigned short CANNONBALL; +extern int CANNONBALL; #define CANNONBALL__STATIC 1817 -extern unsigned short OCTABRAIN; +extern int OCTABRAIN; #define OCTABRAIN__STATIC 1820 -extern unsigned short OCTABRAINSTAYPUT; +extern int OCTABRAINSTAYPUT; #define OCTABRAINSTAYPUT__STATIC 1821 -extern unsigned short OCTATOP; +extern int OCTATOP; #define OCTATOP__STATIC 1845 -extern unsigned short OCTADEADSPRITE; +extern int OCTADEADSPRITE; #define OCTADEADSPRITE__STATIC 1855 -extern unsigned short INNERJAW; +extern int INNERJAW; #define INNERJAW__STATIC 1860 -extern unsigned short DRONE; +extern int DRONE; #define DRONE__STATIC 1880 -extern unsigned short EXPLOSION2; +extern int EXPLOSION2; #define EXPLOSION2__STATIC 1890 -extern unsigned short COMMANDER; +extern int COMMANDER; #define COMMANDER__STATIC 1920 -extern unsigned short COMMANDERSTAYPUT; +extern int COMMANDERSTAYPUT; #define COMMANDERSTAYPUT__STATIC 1921 -extern unsigned short RECON; +extern int RECON; #define RECON__STATIC 1960 -extern unsigned short TANK; +extern int TANK; #define TANK__STATIC 1975 -extern unsigned short PIGCOP; +extern int PIGCOP; #define PIGCOP__STATIC 2000 -extern unsigned short PIGCOPSTAYPUT; +extern int PIGCOPSTAYPUT; #define PIGCOPSTAYPUT__STATIC 2001 -extern unsigned short PIGCOPDIVE; +extern int PIGCOPDIVE; #define PIGCOPDIVE__STATIC 2045 -extern unsigned short PIGCOPDEADSPRITE; +extern int PIGCOPDEADSPRITE; #define PIGCOPDEADSPRITE__STATIC 2060 -extern unsigned short PIGTOP; +extern int PIGTOP; #define PIGTOP__STATIC 2061 -extern unsigned short LIZMAN; +extern int LIZMAN; #define LIZMAN__STATIC 2120 -extern unsigned short LIZMANSTAYPUT; +extern int LIZMANSTAYPUT; #define LIZMANSTAYPUT__STATIC 2121 -extern unsigned short LIZMANSPITTING; +extern int LIZMANSPITTING; #define LIZMANSPITTING__STATIC 2150 -extern unsigned short LIZMANFEEDING; +extern int LIZMANFEEDING; #define LIZMANFEEDING__STATIC 2160 -extern unsigned short LIZMANJUMP; +extern int LIZMANJUMP; #define LIZMANJUMP__STATIC 2165 -extern unsigned short LIZMANDEADSPRITE; +extern int LIZMANDEADSPRITE; #define LIZMANDEADSPRITE__STATIC 2185 -extern unsigned short FECES; +extern int FECES; #define FECES__STATIC 2200 -extern unsigned short LIZMANHEAD1; +extern int LIZMANHEAD1; #define LIZMANHEAD1__STATIC 2201 -extern unsigned short LIZMANARM1; +extern int LIZMANARM1; #define LIZMANARM1__STATIC 2205 -extern unsigned short LIZMANLEG1; +extern int LIZMANLEG1; #define LIZMANLEG1__STATIC 2209 -extern unsigned short EXPLOSION2BOT; +extern int EXPLOSION2BOT; #define EXPLOSION2BOT__STATIC 2219 -extern unsigned short USERWEAPON; +extern int USERWEAPON; #define USERWEAPON__STATIC 2235 -extern unsigned short HEADERBAR; +extern int HEADERBAR; #define HEADERBAR__STATIC 2242 -extern unsigned short JIBS1; +extern int JIBS1; #define JIBS1__STATIC 2245 -extern unsigned short JIBS2; +extern int JIBS2; #define JIBS2__STATIC 2250 -extern unsigned short JIBS3; +extern int JIBS3; #define JIBS3__STATIC 2255 -extern unsigned short JIBS4; +extern int JIBS4; #define JIBS4__STATIC 2260 -extern unsigned short JIBS5; +extern int JIBS5; #define JIBS5__STATIC 2265 -extern unsigned short BURNING; +extern int BURNING; #define BURNING__STATIC 2270 -extern unsigned short FIRE; +extern int FIRE; #define FIRE__STATIC 2271 -extern unsigned short JIBS6; +extern int JIBS6; #define JIBS6__STATIC 2286 -extern unsigned short BLOODSPLAT1; +extern int BLOODSPLAT1; #define BLOODSPLAT1__STATIC 2296 -extern unsigned short BLOODSPLAT3; +extern int BLOODSPLAT3; #define BLOODSPLAT3__STATIC 2297 -extern unsigned short BLOODSPLAT2; +extern int BLOODSPLAT2; #define BLOODSPLAT2__STATIC 2298 -extern unsigned short BLOODSPLAT4; +extern int BLOODSPLAT4; #define BLOODSPLAT4__STATIC 2299 -extern unsigned short OOZ; +extern int OOZ; #define OOZ__STATIC 2300 -extern unsigned short OOZ2; +extern int OOZ2; #define OOZ2__STATIC 2309 -extern unsigned short WALLBLOOD1; +extern int WALLBLOOD1; #define WALLBLOOD1__STATIC 2301 -extern unsigned short WALLBLOOD2; +extern int WALLBLOOD2; #define WALLBLOOD2__STATIC 2302 -extern unsigned short WALLBLOOD3; +extern int WALLBLOOD3; #define WALLBLOOD3__STATIC 2303 -extern unsigned short WALLBLOOD4; +extern int WALLBLOOD4; #define WALLBLOOD4__STATIC 2304 -extern unsigned short WALLBLOOD5; +extern int WALLBLOOD5; #define WALLBLOOD5__STATIC 2305 -extern unsigned short WALLBLOOD6; +extern int WALLBLOOD6; #define WALLBLOOD6__STATIC 2306 -extern unsigned short WALLBLOOD7; +extern int WALLBLOOD7; #define WALLBLOOD7__STATIC 2307 -extern unsigned short WALLBLOOD8; +extern int WALLBLOOD8; #define WALLBLOOD8__STATIC 2308 -extern unsigned short BURNING2; +extern int BURNING2; #define BURNING2__STATIC 2310 -extern unsigned short FIRE2; +extern int FIRE2; #define FIRE2__STATIC 2311 -extern unsigned short CRACKKNUCKLES; +extern int CRACKKNUCKLES; #define CRACKKNUCKLES__STATIC 2324 -extern unsigned short SMALLSMOKE; +extern int SMALLSMOKE; #define SMALLSMOKE__STATIC 2329 -extern unsigned short SMALLSMOKEMAKER; +extern int SMALLSMOKEMAKER; #define SMALLSMOKEMAKER__STATIC 2330 -extern unsigned short FLOORFLAME; +extern int FLOORFLAME; #define FLOORFLAME__STATIC 2333 -extern unsigned short ROTATEGUN; +extern int ROTATEGUN; #define ROTATEGUN__STATIC 2360 -extern unsigned short GREENSLIME; +extern int GREENSLIME; #define GREENSLIME__STATIC 2370 -extern unsigned short WATERDRIPSPLASH; +extern int WATERDRIPSPLASH; #define WATERDRIPSPLASH__STATIC 2380 -extern unsigned short SCRAP6; +extern int SCRAP6; #define SCRAP6__STATIC 2390 -extern unsigned short SCRAP1; +extern int SCRAP1; #define SCRAP1__STATIC 2400 -extern unsigned short SCRAP2; +extern int SCRAP2; #define SCRAP2__STATIC 2404 -extern unsigned short SCRAP3; +extern int SCRAP3; #define SCRAP3__STATIC 2408 -extern unsigned short SCRAP4; +extern int SCRAP4; #define SCRAP4__STATIC 2412 -extern unsigned short SCRAP5; +extern int SCRAP5; #define SCRAP5__STATIC 2416 -extern unsigned short ORGANTIC; +extern int ORGANTIC; #define ORGANTIC__STATIC 2420 -extern unsigned short BETAVERSION; +extern int BETAVERSION; #define BETAVERSION__STATIC 2440 -extern unsigned short PLAYERISHERE; +extern int PLAYERISHERE; #define PLAYERISHERE__STATIC 2442 -extern unsigned short PLAYERWASHERE; +extern int PLAYERWASHERE; #define PLAYERWASHERE__STATIC 2443 -extern unsigned short SELECTDIR; +extern int SELECTDIR; #define SELECTDIR__STATIC 2444 -extern unsigned short F1HELP; +extern int F1HELP; #define F1HELP__STATIC 2445 -extern unsigned short NOTCHON; +extern int NOTCHON; #define NOTCHON__STATIC 2446 -extern unsigned short NOTCHOFF; +extern int NOTCHOFF; #define NOTCHOFF__STATIC 2447 -extern unsigned short GROWSPARK; +extern int GROWSPARK; #define GROWSPARK__STATIC 2448 -extern unsigned short DUKEICON; +extern int DUKEICON; #define DUKEICON__STATIC 2452 -extern unsigned short BADGUYICON; +extern int BADGUYICON; #define BADGUYICON__STATIC 2453 -extern unsigned short FOODICON; +extern int FOODICON; #define FOODICON__STATIC 2454 -extern unsigned short GETICON; +extern int GETICON; #define GETICON__STATIC 2455 -extern unsigned short MENUSCREEN; +extern int MENUSCREEN; #define MENUSCREEN__STATIC 2456 -extern unsigned short MENUBAR; +extern int MENUBAR; #define MENUBAR__STATIC 2457 -extern unsigned short KILLSICON; +extern int KILLSICON; #define KILLSICON__STATIC 2458 -extern unsigned short FIRSTAID_ICON; +extern int FIRSTAID_ICON; #define FIRSTAID_ICON__STATIC 2460 -extern unsigned short HEAT_ICON; +extern int HEAT_ICON; #define HEAT_ICON__STATIC 2461 -extern unsigned short BOTTOMSTATUSBAR; +extern int BOTTOMSTATUSBAR; #define BOTTOMSTATUSBAR__STATIC 2462 -extern unsigned short BOOT_ICON; +extern int BOOT_ICON; #define BOOT_ICON__STATIC 2463 -extern unsigned short FRAGBAR; +extern int FRAGBAR; #define FRAGBAR__STATIC 2465 -extern unsigned short JETPACK_ICON; +extern int JETPACK_ICON; #define JETPACK_ICON__STATIC 2467 -extern unsigned short AIRTANK_ICON; +extern int AIRTANK_ICON; #define AIRTANK_ICON__STATIC 2468 -extern unsigned short STEROIDS_ICON; +extern int STEROIDS_ICON; #define STEROIDS_ICON__STATIC 2469 -extern unsigned short HOLODUKE_ICON; +extern int HOLODUKE_ICON; #define HOLODUKE_ICON__STATIC 2470 -extern unsigned short ACCESS_ICON; +extern int ACCESS_ICON; #define ACCESS_ICON__STATIC 2471 -extern unsigned short DIGITALNUM; +extern int DIGITALNUM; #define DIGITALNUM__STATIC 2472 -extern unsigned short DUKECAR; +extern int DUKECAR; #define DUKECAR__STATIC 2491 -extern unsigned short CAMCORNER; +extern int CAMCORNER; #define CAMCORNER__STATIC 2482 -extern unsigned short CAMLIGHT; +extern int CAMLIGHT; #define CAMLIGHT__STATIC 2484 -extern unsigned short LOGO; +extern int LOGO; #define LOGO__STATIC 2485 -extern unsigned short TITLE; +extern int TITLE; #define TITLE__STATIC 2486 -extern unsigned short NUKEWARNINGICON; +extern int NUKEWARNINGICON; #define NUKEWARNINGICON__STATIC 2487 -extern unsigned short MOUSECURSOR; +extern int MOUSECURSOR; #define MOUSECURSOR__STATIC 2488 -extern unsigned short SLIDEBAR; +extern int SLIDEBAR; #define SLIDEBAR__STATIC 2489 -extern unsigned short DREALMS; +extern int DREALMS; #define DREALMS__STATIC 2492 -extern unsigned short BETASCREEN; +extern int BETASCREEN; #define BETASCREEN__STATIC 2493 -extern unsigned short WINDOWBORDER1; +extern int WINDOWBORDER1; #define WINDOWBORDER1__STATIC 2494 -extern unsigned short TEXTBOX; +extern int TEXTBOX; #define TEXTBOX__STATIC 2495 -extern unsigned short WINDOWBORDER2; +extern int WINDOWBORDER2; #define WINDOWBORDER2__STATIC 2496 -extern unsigned short DUKENUKEM; +extern int DUKENUKEM; #define DUKENUKEM__STATIC 2497 -extern unsigned short THREEDEE; +extern int THREEDEE; #define THREEDEE__STATIC 2498 -extern unsigned short INGAMEDUKETHREEDEE; +extern int INGAMEDUKETHREEDEE; #define INGAMEDUKETHREEDEE__STATIC 2499 -extern unsigned short TENSCREEN; +extern int TENSCREEN; #define TENSCREEN__STATIC 2500 -extern unsigned short PLUTOPAKSPRITE; +extern int PLUTOPAKSPRITE; #define PLUTOPAKSPRITE__STATIC 2501 -extern unsigned short DEVISTATOR; +extern int DEVISTATOR; #define DEVISTATOR__STATIC 2510 -extern unsigned short KNEE; +extern int KNEE; #define KNEE__STATIC 2521 -extern unsigned short CROSSHAIR; +extern int CROSSHAIR; #define CROSSHAIR__STATIC 2523 -extern unsigned short FIRSTGUN; +extern int FIRSTGUN; #define FIRSTGUN__STATIC 2524 -extern unsigned short FIRSTGUNRELOAD; +extern int FIRSTGUNRELOAD; #define FIRSTGUNRELOAD__STATIC 2528 -extern unsigned short FALLINGCLIP; +extern int FALLINGCLIP; #define FALLINGCLIP__STATIC 2530 -extern unsigned short CLIPINHAND; +extern int CLIPINHAND; #define CLIPINHAND__STATIC 2531 -extern unsigned short HAND; +extern int HAND; #define HAND__STATIC 2532 -extern unsigned short SHELL; +extern int SHELL; #define SHELL__STATIC 2533 -extern unsigned short SHOTGUNSHELL; +extern int SHOTGUNSHELL; #define SHOTGUNSHELL__STATIC 2535 -extern unsigned short CHAINGUN; +extern int CHAINGUN; #define CHAINGUN__STATIC 2536 -extern unsigned short RPGGUN; +extern int RPGGUN; #define RPGGUN__STATIC 2544 -extern unsigned short RPGMUZZLEFLASH; +extern int RPGMUZZLEFLASH; #define RPGMUZZLEFLASH__STATIC 2545 -extern unsigned short FREEZE; +extern int FREEZE; #define FREEZE__STATIC 2548 -extern unsigned short CATLITE; +extern int CATLITE; #define CATLITE__STATIC 2552 -extern unsigned short SHRINKER; +extern int SHRINKER; #define SHRINKER__STATIC 2556 -extern unsigned short HANDHOLDINGLASER; +extern int HANDHOLDINGLASER; #define HANDHOLDINGLASER__STATIC 2563 -extern unsigned short TRIPBOMB; +extern int TRIPBOMB; #define TRIPBOMB__STATIC 2566 -extern unsigned short LASERLINE; +extern int LASERLINE; #define LASERLINE__STATIC 2567 -extern unsigned short HANDHOLDINGACCESS; +extern int HANDHOLDINGACCESS; #define HANDHOLDINGACCESS__STATIC 2568 -extern unsigned short HANDREMOTE; +extern int HANDREMOTE; #define HANDREMOTE__STATIC 2570 -extern unsigned short HANDTHROW; +extern int HANDTHROW; #define HANDTHROW__STATIC 2573 -extern unsigned short TIP; +extern int TIP; #define TIP__STATIC 2576 -extern unsigned short GLAIR; +extern int GLAIR; #define GLAIR__STATIC 2578 -extern unsigned short SCUBAMASK; +extern int SCUBAMASK; #define SCUBAMASK__STATIC 2581 -extern unsigned short SPACEMASK; +extern int SPACEMASK; #define SPACEMASK__STATIC 2584 -extern unsigned short FORCESPHERE; +extern int FORCESPHERE; #define FORCESPHERE__STATIC 2590 -extern unsigned short SHOTSPARK1; +extern int SHOTSPARK1; #define SHOTSPARK1__STATIC 2595 -extern unsigned short RPG; +extern int RPG; #define RPG__STATIC 2605 -extern unsigned short LASERSITE; +extern int LASERSITE; #define LASERSITE__STATIC 2612 -extern unsigned short SHOTGUN; +extern int SHOTGUN; #define SHOTGUN__STATIC 2613 -extern unsigned short BOSS1; +extern int BOSS1; #define BOSS1__STATIC 2630 -extern unsigned short BOSS1STAYPUT; +extern int BOSS1STAYPUT; #define BOSS1STAYPUT__STATIC 2631 -extern unsigned short BOSS1SHOOT; +extern int BOSS1SHOOT; #define BOSS1SHOOT__STATIC 2660 -extern unsigned short BOSS1LOB; +extern int BOSS1LOB; #define BOSS1LOB__STATIC 2670 -extern unsigned short BOSSTOP; +extern int BOSSTOP; #define BOSSTOP__STATIC 2696 -extern unsigned short BOSS2; +extern int BOSS2; #define BOSS2__STATIC 2710 -extern unsigned short BOSS3; +extern int BOSS3; #define BOSS3__STATIC 2760 -extern unsigned short SPINNINGNUKEICON; +extern int SPINNINGNUKEICON; #define SPINNINGNUKEICON__STATIC 2813 -extern unsigned short BIGFNTCURSOR; +extern int BIGFNTCURSOR; #define BIGFNTCURSOR__STATIC 2820 -extern unsigned short SMALLFNTCURSOR; +extern int SMALLFNTCURSOR; #define SMALLFNTCURSOR__STATIC 2821 -extern unsigned short STARTALPHANUM; +extern int STARTALPHANUM; #define STARTALPHANUM__STATIC 2822 -extern unsigned short ENDALPHANUM; +extern int ENDALPHANUM; #define ENDALPHANUM__STATIC 2915 -extern unsigned short BIGALPHANUM; +extern int BIGALPHANUM; #define BIGALPHANUM__STATIC 2940 -extern unsigned short BIGPERIOD; +extern int BIGPERIOD; #define BIGPERIOD__STATIC 3002 -extern unsigned short BIGCOMMA; +extern int BIGCOMMA; #define BIGCOMMA__STATIC 3003 -extern unsigned short BIGX; +extern int BIGX; #define BIGX__STATIC 3004 -extern unsigned short BIGQ; +extern int BIGQ; #define BIGQ__STATIC 3005 -extern unsigned short BIGSEMI; +extern int BIGSEMI; #define BIGSEMI__STATIC 3006 -extern unsigned short BIGCOLIN; +extern int BIGCOLIN; #define BIGCOLIN__STATIC 3007 -extern unsigned short THREEBYFIVE; +extern int THREEBYFIVE; #define THREEBYFIVE__STATIC 3010 -extern unsigned short BIGAPPOS; +extern int BIGAPPOS; #define BIGAPPOS__STATIC 3022 -extern unsigned short BLANK; +extern int BLANK; #define BLANK__STATIC 3026 -extern unsigned short MINIFONT; +extern int MINIFONT; #define MINIFONT__STATIC 3072 -extern unsigned short BUTTON1; +extern int BUTTON1; #define BUTTON1__STATIC 3164 -extern unsigned short GLASS3; +extern int GLASS3; #define GLASS3__STATIC 3187 -extern unsigned short RESPAWNMARKERRED; +extern int RESPAWNMARKERRED; #define RESPAWNMARKERRED__STATIC 3190 -extern unsigned short RESPAWNMARKERYELLOW; +extern int RESPAWNMARKERYELLOW; #define RESPAWNMARKERYELLOW__STATIC 3200 -extern unsigned short RESPAWNMARKERGREEN; +extern int RESPAWNMARKERGREEN; #define RESPAWNMARKERGREEN__STATIC 3210 -extern unsigned short BONUSSCREEN; +extern int BONUSSCREEN; #define BONUSSCREEN__STATIC 3240 -extern unsigned short VIEWBORDER; +extern int VIEWBORDER; #define VIEWBORDER__STATIC 3250 -extern unsigned short VICTORY1; +extern int VICTORY1; #define VICTORY1__STATIC 3260 -extern unsigned short ORDERING; +extern int ORDERING; #define ORDERING__STATIC 3270 -extern unsigned short TEXTSTORY; +extern int TEXTSTORY; #define TEXTSTORY__STATIC 3280 -extern unsigned short LOADSCREEN; +extern int LOADSCREEN; #define LOADSCREEN__STATIC 3281 -extern unsigned short BORNTOBEWILDSCREEN; +extern int BORNTOBEWILDSCREEN; #define BORNTOBEWILDSCREEN__STATIC 3370 -extern unsigned short BLIMP; +extern int BLIMP; #define BLIMP__STATIC 3400 -extern unsigned short FEM9; +extern int FEM9; #define FEM9__STATIC 3450 -extern unsigned short FOOTPRINT; +extern int FOOTPRINT; #define FOOTPRINT__STATIC 3701 -extern unsigned short FRAMEEFFECT1_13; +extern int FRAMEEFFECT1_13; #define FRAMEEFFECT1_13__STATIC 3999 -extern unsigned short POOP; +extern int POOP; #define POOP__STATIC 4094 -extern unsigned short FRAMEEFFECT1; +extern int FRAMEEFFECT1; #define FRAMEEFFECT1__STATIC 4095 -extern unsigned short PANNEL3; +extern int PANNEL3; #define PANNEL3__STATIC 4099 -extern unsigned short SCREENBREAK14; +extern int SCREENBREAK14; #define SCREENBREAK14__STATIC 4120 -extern unsigned short SCREENBREAK15; +extern int SCREENBREAK15; #define SCREENBREAK15__STATIC 4123 -extern unsigned short SCREENBREAK19; +extern int SCREENBREAK19; #define SCREENBREAK19__STATIC 4125 -extern unsigned short SCREENBREAK16; +extern int SCREENBREAK16; #define SCREENBREAK16__STATIC 4127 -extern unsigned short SCREENBREAK17; +extern int SCREENBREAK17; #define SCREENBREAK17__STATIC 4128 -extern unsigned short SCREENBREAK18; +extern int SCREENBREAK18; #define SCREENBREAK18__STATIC 4129 -extern unsigned short W_TECHWALL11; +extern int W_TECHWALL11; #define W_TECHWALL11__STATIC 4130 -extern unsigned short W_TECHWALL12; +extern int W_TECHWALL12; #define W_TECHWALL12__STATIC 4131 -extern unsigned short W_TECHWALL13; +extern int W_TECHWALL13; #define W_TECHWALL13__STATIC 4132 -extern unsigned short W_TECHWALL14; +extern int W_TECHWALL14; #define W_TECHWALL14__STATIC 4133 -extern unsigned short W_TECHWALL5; +extern int W_TECHWALL5; #define W_TECHWALL5__STATIC 4134 -extern unsigned short W_TECHWALL6; +extern int W_TECHWALL6; #define W_TECHWALL6__STATIC 4136 -extern unsigned short W_TECHWALL7; +extern int W_TECHWALL7; #define W_TECHWALL7__STATIC 4138 -extern unsigned short W_TECHWALL8; +extern int W_TECHWALL8; #define W_TECHWALL8__STATIC 4140 -extern unsigned short W_TECHWALL9; +extern int W_TECHWALL9; #define W_TECHWALL9__STATIC 4142 -extern unsigned short BPANNEL3; +extern int BPANNEL3; #define BPANNEL3__STATIC 4100 -extern unsigned short W_HITTECHWALL16; +extern int W_HITTECHWALL16; #define W_HITTECHWALL16__STATIC 4144 -extern unsigned short W_HITTECHWALL10; +extern int W_HITTECHWALL10; #define W_HITTECHWALL10__STATIC 4145 -extern unsigned short W_HITTECHWALL15; +extern int W_HITTECHWALL15; #define W_HITTECHWALL15__STATIC 4147 -extern unsigned short W_MILKSHELF; +extern int W_MILKSHELF; #define W_MILKSHELF__STATIC 4181 -extern unsigned short W_MILKSHELFBROKE; +extern int W_MILKSHELFBROKE; #define W_MILKSHELFBROKE__STATIC 4203 -extern unsigned short PURPLELAVA; +extern int PURPLELAVA; #define PURPLELAVA__STATIC 4240 -extern unsigned short LAVABUBBLE; +extern int LAVABUBBLE; #define LAVABUBBLE__STATIC 4340 -extern unsigned short DUKECUTOUT; +extern int DUKECUTOUT; #define DUKECUTOUT__STATIC 4352 -extern unsigned short TARGET; +extern int TARGET; #define TARGET__STATIC 4359 -extern unsigned short GUNPOWDERBARREL; +extern int GUNPOWDERBARREL; #define GUNPOWDERBARREL__STATIC 4360 -extern unsigned short DUCK; +extern int DUCK; #define DUCK__STATIC 4361 -extern unsigned short HATRACK; +extern int HATRACK; #define HATRACK__STATIC 4367 -extern unsigned short DESKLAMP; +extern int DESKLAMP; #define DESKLAMP__STATIC 4370 -extern unsigned short COFFEEMACHINE; +extern int COFFEEMACHINE; #define COFFEEMACHINE__STATIC 4372 -extern unsigned short CUPS; +extern int CUPS; #define CUPS__STATIC 4373 -extern unsigned short GAVALS; +extern int GAVALS; #define GAVALS__STATIC 4374 -extern unsigned short GAVALS2; +extern int GAVALS2; #define GAVALS2__STATIC 4375 -extern unsigned short POLICELIGHTPOLE; +extern int POLICELIGHTPOLE; #define POLICELIGHTPOLE__STATIC 4377 -extern unsigned short FLOORBASKET; +extern int FLOORBASKET; #define FLOORBASKET__STATIC 4388 -extern unsigned short PUKE; +extern int PUKE; #define PUKE__STATIC 4389 -extern unsigned short DOORTILE23; +extern int DOORTILE23; #define DOORTILE23__STATIC 4391 -extern unsigned short TOPSECRET; +extern int TOPSECRET; #define TOPSECRET__STATIC 4396 -extern unsigned short SPEAKER; +extern int SPEAKER; #define SPEAKER__STATIC 4397 -extern unsigned short TEDDYBEAR; +extern int TEDDYBEAR; #define TEDDYBEAR__STATIC 4400 -extern unsigned short ROBOTDOG; +extern int ROBOTDOG; #define ROBOTDOG__STATIC 4402 -extern unsigned short ROBOTPIRATE; +extern int ROBOTPIRATE; #define ROBOTPIRATE__STATIC 4404 -extern unsigned short ROBOTMOUSE; +extern int ROBOTMOUSE; #define ROBOTMOUSE__STATIC 4407 -extern unsigned short MAIL; +extern int MAIL; #define MAIL__STATIC 4410 -extern unsigned short MAILBAG; +extern int MAILBAG; #define MAILBAG__STATIC 4413 -extern unsigned short HOTMEAT; +extern int HOTMEAT; #define HOTMEAT__STATIC 4427 -extern unsigned short COFFEEMUG; +extern int COFFEEMUG; #define COFFEEMUG__STATIC 4438 -extern unsigned short DONUTS2; +extern int DONUTS2; #define DONUTS2__STATIC 4440 -extern unsigned short TRIPODCAMERA; +extern int TRIPODCAMERA; #define TRIPODCAMERA__STATIC 4444 -extern unsigned short METER; +extern int METER; #define METER__STATIC 4453 -extern unsigned short DESKPHONE; +extern int DESKPHONE; #define DESKPHONE__STATIC 4454 -extern unsigned short GUMBALLMACHINE; +extern int GUMBALLMACHINE; #define GUMBALLMACHINE__STATIC 4458 -extern unsigned short GUMBALLMACHINEBROKE; +extern int GUMBALLMACHINEBROKE; #define GUMBALLMACHINEBROKE__STATIC 4459 -extern unsigned short PAPER; +extern int PAPER; #define PAPER__STATIC 4460 -extern unsigned short MACE; +extern int MACE; #define MACE__STATIC 4464 -extern unsigned short GENERICPOLE2; +extern int GENERICPOLE2; #define GENERICPOLE2__STATIC 4465 -extern unsigned short XXXSTACY; +extern int XXXSTACY; #define XXXSTACY__STATIC 4470 -extern unsigned short WETFLOOR; +extern int WETFLOOR; #define WETFLOOR__STATIC 4495 -extern unsigned short BROOM; +extern int BROOM; #define BROOM__STATIC 4496 -extern unsigned short MOP; +extern int MOP; #define MOP__STATIC 4497 -extern unsigned short LETTER; +extern int LETTER; #define LETTER__STATIC 4502 -extern unsigned short PIRATE1A; +extern int PIRATE1A; #define PIRATE1A__STATIC 4510 -extern unsigned short PIRATE4A; +extern int PIRATE4A; #define PIRATE4A__STATIC 4511 -extern unsigned short PIRATE2A; +extern int PIRATE2A; #define PIRATE2A__STATIC 4512 -extern unsigned short PIRATE5A; +extern int PIRATE5A; #define PIRATE5A__STATIC 4513 -extern unsigned short PIRATE3A; +extern int PIRATE3A; #define PIRATE3A__STATIC 4514 -extern unsigned short PIRATE6A; +extern int PIRATE6A; #define PIRATE6A__STATIC 4515 -extern unsigned short PIRATEHALF; +extern int PIRATEHALF; #define PIRATEHALF__STATIC 4516 -extern unsigned short CHESTOFGOLD; +extern int CHESTOFGOLD; #define CHESTOFGOLD__STATIC 4520 -extern unsigned short SIDEBOLT1; +extern int SIDEBOLT1; #define SIDEBOLT1__STATIC 4525 -extern unsigned short FOODOBJECT1; +extern int FOODOBJECT1; #define FOODOBJECT1__STATIC 4530 -extern unsigned short FOODOBJECT2; +extern int FOODOBJECT2; #define FOODOBJECT2__STATIC 4531 -extern unsigned short FOODOBJECT3; +extern int FOODOBJECT3; #define FOODOBJECT3__STATIC 4532 -extern unsigned short FOODOBJECT4; +extern int FOODOBJECT4; #define FOODOBJECT4__STATIC 4533 -extern unsigned short FOODOBJECT5; +extern int FOODOBJECT5; #define FOODOBJECT5__STATIC 4534 -extern unsigned short FOODOBJECT6; +extern int FOODOBJECT6; #define FOODOBJECT6__STATIC 4535 -extern unsigned short FOODOBJECT7; +extern int FOODOBJECT7; #define FOODOBJECT7__STATIC 4536 -extern unsigned short FOODOBJECT8; +extern int FOODOBJECT8; #define FOODOBJECT8__STATIC 4537 -extern unsigned short FOODOBJECT9; +extern int FOODOBJECT9; #define FOODOBJECT9__STATIC 4538 -extern unsigned short FOODOBJECT10; +extern int FOODOBJECT10; #define FOODOBJECT10__STATIC 4539 -extern unsigned short FOODOBJECT11; +extern int FOODOBJECT11; #define FOODOBJECT11__STATIC 4540 -extern unsigned short FOODOBJECT12; +extern int FOODOBJECT12; #define FOODOBJECT12__STATIC 4541 -extern unsigned short FOODOBJECT13; +extern int FOODOBJECT13; #define FOODOBJECT13__STATIC 4542 -extern unsigned short FOODOBJECT14; +extern int FOODOBJECT14; #define FOODOBJECT14__STATIC 4543 -extern unsigned short FOODOBJECT15; +extern int FOODOBJECT15; #define FOODOBJECT15__STATIC 4544 -extern unsigned short FOODOBJECT16; +extern int FOODOBJECT16; #define FOODOBJECT16__STATIC 4545 -extern unsigned short FOODOBJECT17; +extern int FOODOBJECT17; #define FOODOBJECT17__STATIC 4546 -extern unsigned short FOODOBJECT18; +extern int FOODOBJECT18; #define FOODOBJECT18__STATIC 4547 -extern unsigned short FOODOBJECT19; +extern int FOODOBJECT19; #define FOODOBJECT19__STATIC 4548 -extern unsigned short FOODOBJECT20; +extern int FOODOBJECT20; #define FOODOBJECT20__STATIC 4549 -extern unsigned short HEADLAMP; +extern int HEADLAMP; #define HEADLAMP__STATIC 4550 -extern unsigned short TAMPON; +extern int TAMPON; #define TAMPON__STATIC 4557 -extern unsigned short SKINNEDCHICKEN; +extern int SKINNEDCHICKEN; #define SKINNEDCHICKEN__STATIC 4554 -extern unsigned short FEATHEREDCHICKEN; +extern int FEATHEREDCHICKEN; #define FEATHEREDCHICKEN__STATIC 4555 -extern unsigned short ROBOTDOG2; +extern int ROBOTDOG2; #define ROBOTDOG2__STATIC 4560 -extern unsigned short JOLLYMEAL; +extern int JOLLYMEAL; #define JOLLYMEAL__STATIC 4569 -extern unsigned short DUKEBURGER; +extern int DUKEBURGER; #define DUKEBURGER__STATIC 4570 -extern unsigned short SHOPPINGCART; +extern int SHOPPINGCART; #define SHOPPINGCART__STATIC 4576 -extern unsigned short CANWITHSOMETHING2; +extern int CANWITHSOMETHING2; #define CANWITHSOMETHING2__STATIC 4580 -extern unsigned short CANWITHSOMETHING3; +extern int CANWITHSOMETHING3; #define CANWITHSOMETHING3__STATIC 4581 -extern unsigned short CANWITHSOMETHING4; +extern int CANWITHSOMETHING4; #define CANWITHSOMETHING4__STATIC 4582 -extern unsigned short SNAKEP; +extern int SNAKEP; #define SNAKEP__STATIC 4590 -extern unsigned short DOLPHIN1; +extern int DOLPHIN1; #define DOLPHIN1__STATIC 4591 -extern unsigned short DOLPHIN2; +extern int DOLPHIN2; #define DOLPHIN2__STATIC 4592 -extern unsigned short NEWBEAST; +extern int NEWBEAST; #define NEWBEAST__STATIC 4610 -extern unsigned short NEWBEASTSTAYPUT; +extern int NEWBEASTSTAYPUT; #define NEWBEASTSTAYPUT__STATIC 4611 -extern unsigned short NEWBEASTJUMP; +extern int NEWBEASTJUMP; #define NEWBEASTJUMP__STATIC 4690 -extern unsigned short NEWBEASTHANG; +extern int NEWBEASTHANG; #define NEWBEASTHANG__STATIC 4670 -extern unsigned short NEWBEASTHANGDEAD; +extern int NEWBEASTHANGDEAD; #define NEWBEASTHANGDEAD__STATIC 4671 -extern unsigned short BOSS4; +extern int BOSS4; #define BOSS4__STATIC 4740 -extern unsigned short BOSS4STAYPUT; +extern int BOSS4STAYPUT; #define BOSS4STAYPUT__STATIC 4741 -extern unsigned short FEM10; +extern int FEM10; #define FEM10__STATIC 4864 -extern unsigned short TOUGHGAL; +extern int TOUGHGAL; #define TOUGHGAL__STATIC 4866 -extern unsigned short MAN; +extern int MAN; #define MAN__STATIC 4871 -extern unsigned short MAN2; +extern int MAN2; #define MAN2__STATIC 4872 -extern unsigned short WOMAN; +extern int WOMAN; #define WOMAN__STATIC 4874 -extern unsigned short PLEASEWAIT; +extern int PLEASEWAIT; #define PLEASEWAIT__STATIC 4887 -extern unsigned short NATURALLIGHTNING; +extern int NATURALLIGHTNING; #define NATURALLIGHTNING__STATIC 4890 -extern unsigned short WEATHERWARN; +extern int WEATHERWARN; #define WEATHERWARN__STATIC 4893 -extern unsigned short DUKETAG; +extern int DUKETAG; #define DUKETAG__STATIC 4900 -extern unsigned short SIGN1; +extern int SIGN1; #define SIGN1__STATIC 4909 -extern unsigned short SIGN2; +extern int SIGN2; #define SIGN2__STATIC 4912 -extern unsigned short JURYGUY; +extern int JURYGUY; #define JURYGUY__STATIC 4943 -extern unsigned short RESERVEDSLOT1; +extern int RESERVEDSLOT1; #define RESERVEDSLOT1__STATIC 6132 -extern unsigned short RESERVEDSLOT2; +extern int RESERVEDSLOT2; #define RESERVEDSLOT2__STATIC 6133 -extern unsigned short RESERVEDSLOT3; +extern int RESERVEDSLOT3; #define RESERVEDSLOT3__STATIC 6134 -extern unsigned short RESERVEDSLOT4; +extern int RESERVEDSLOT4; #define RESERVEDSLOT4__STATIC 6135 -extern unsigned short RESERVEDSLOT5; +extern int RESERVEDSLOT5; #define RESERVEDSLOT5__STATIC 6136 -extern unsigned short RESERVEDSLOT6; +extern int RESERVEDSLOT6; #define RESERVEDSLOT6__STATIC 6137 -extern unsigned short RESERVEDSLOT7; +extern int RESERVEDSLOT7; #define RESERVEDSLOT7__STATIC 6138 -extern unsigned short RESERVEDSLOT8; +extern int RESERVEDSLOT8; #define RESERVEDSLOT8__STATIC 6139 -extern unsigned short RESERVEDSLOT9; +extern int RESERVEDSLOT9; #define RESERVEDSLOT9__STATIC 6140 -extern unsigned short RESERVEDSLOT10; +extern int RESERVEDSLOT10; #define RESERVEDSLOT10__STATIC 6141 -extern unsigned short RESERVEDSLOT11; +extern int RESERVEDSLOT11; #define RESERVEDSLOT11__STATIC 6142 -extern unsigned short RESERVEDSLOT12; +extern int RESERVEDSLOT12; #define RESERVEDSLOT12__STATIC 6143 -extern unsigned short dynamictostatic[MAXTILES]; +extern int dynamictostatic[MAXTILES]; diff --git a/polymer/eduke32/source/sector.c b/polymer/eduke32/source/sector.c index 9599ab41d..683e978d5 100644 --- a/polymer/eduke32/source/sector.c +++ b/polymer/eduke32/source/sector.c @@ -1788,7 +1788,7 @@ void checkhitwall(int spr,int dawallnum,int x,int y,int z,int atwith) case ATM__STATIC: wal->picnum = ATMBROKE; - lotsofmoney(spr,1+(TRAND&7)); + lotsofmoneymailpaper(spr,1+(TRAND&7),MONEY); spritesound(GLASS_HEAVYBREAK,spr); break; @@ -2173,7 +2173,7 @@ void checkhitsprite(int i,int sn) case STATUEFLASH__STATIC: case STATUE__STATIC: if (PN == BOTTLE10) - lotsofmoney(i,4+(TRAND&3)); + lotsofmoneymailpaper(i,4+(TRAND&3),MONEY); else if (PN == STATUE || PN == STATUEFLASH) { lotsofcolourglass(i,-1,40); @@ -3241,7 +3241,7 @@ void checksectors(int snum) } if (ud.cashman && g_player[snum].sync->bits&(1<<29)) - lotsofmoney(p->i,2); + lotsofmoneymailpaper(p->i,2,MONEY); if (p->newowner >= 0) {