// SONIC ROBO BLAST 2 //----------------------------------------------------------------------------- // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 1998-2000 by DooM Legacy Team. // Copyright (C) 1999-2016 by Sonic Team Junior. // // This program is free software distributed under the // terms of the GNU General Public License, version 2. // See the 'LICENSE' file for more details. //----------------------------------------------------------------------------- /// \file info.c /// \brief Thing frame/state LUT // Data. #include "doomdef.h" #include "doomstat.h" #include "sounds.h" #include "p_mobj.h" #include "m_misc.h" #include "z_zone.h" #include "d_player.h" #include "lzf.h" #ifdef HWRENDER #include "hardware/hw_light.h" #endif // Hey, moron! If you change this table, don't forget about the sprite enum in info.h and the sprite lights in hw_light.c! char sprnames[NUMSPRITES + 1][5] = { "NULL","UNKN","THOK","PLAY", "POSS","SPOS","FISH","BUZZ","RBUZ","JETB","JETW","JETG","CCOM","DETN", "SKIM","TRET","TURR","SHRP","JJAW","SNLR","VLTR","PNTY","ARCH","CBFS", "SPSH","ESHI","GSNP","MNUS","SSHL","UNID","BBUZ", "JETF","EGGM","EGGN","TNKA","TNKB","SPNK","GOOP","EGGO","PRPL","FAKE", "EGGP","EFIR","EGGQ","EGGR","BRAK","BGOO","BMSL","EGGT","RCKT","ELEC", "TARG","NPLM","MNPL","METL","MSCF","MSCB", "RING","TRNG","EMMY","TOKE","RFLG","BFLG","NWNG","EMBM","CEMG","EMER", "FANS","BUBL","SIGN","STEM","SPIK","SFLM","USPK","STPT","BMNE", "MSTV","XLTV","TRRI","TBRI","TVRI","TVPI","TVAT","TVFO","TVAR","TVWW", "TVEL","TVSS","TVIV","TV1U","TV1P","TVEG","TVMX","TVMY","TVGV","TVRC", "TV1K","TVTK", "MISL","TORP","ENRG","MINE","JBUL","TRLS","CBLL","AROW","CFIR", "FWR1","FWR2","FWR3","FWR4","BUS1","BUS2","THZP","ALRM","GARG","SEWE", "DRIP","CRL1","CRL2","CRL3","BCRY","CHAN","FLAM","ESTA","SMCH","BMCH", "SMCE","BMCE","BTBL","STBL","CACT","FLME","DFLM","XMS1","XMS2","XMS3", "BSZ1","BSZ2","BSZ3","BSZ4","BSZ5","BSZ6","BSZ7","BSZ8","STLG","DBAL", "RCRY", "ARMA","ARMF","ARMB","WIND","MAGN","ELEM","FORC","PITY","IVSP","SSPK", "GOAL", "BIRD","BUNY","MOUS","CHIC","COWZ","RBRD", "SPRY","SPRR","SPRB","YSPR","RSPR","SSWY","SSWR","SSWB", "RAIN","SNO1","SPLH","SPLA","SMOK","BUBP","BUBO","BUBN","BUBM","POPP", "TFOG","SEED","PRTL", "SCOR","DRWN","TTAG","GFLG", "RRNG","RNGB","RNGR","RNGI","RNGA","RNGE","RNGS","RNGG","PIKB","PIKR", "PIKA","PIKE","PIKS","PIKG","TAUT","TGRE","TSCR", "COIN","CPRK","GOOM","BGOM","FFWR","FBLL","SHLL","PUMA","HAMM","KOOP", "BFLM","MAXE","MUS1","MUS2","TOAD","NDRN", "SUPE","SUPZ","NDRL","NSPK","NBMP","HOOP","NSCR","NPRU","CAPS","SUPT", "SPRK", "BOM1","BOM2","BOM3","BOM4", "ROIA","ROIB","ROIC","ROID","ROIE","ROIF","ROIG","ROIH","ROII","ROIJ", "ROIK","ROIL","ROIM","ROIN","ROIO","ROIP", "BBAL","GWLG","GWLR", "SRBA","SRBB","SRBC","SRBD","SRBE","SRBF","SRBG","SRBH","SRBI","SRBJ", "SRBK","SRBL","SRBM","SRBN","SRBO", }; char spr2names[NUMPLAYERSPRITES][5] = { "STND", "WAIT", "WALK", "RUN_", "PEEL", "PAIN", "DEAD", "DRWN", "SPIN", "DASH", "GASP", "JUMP", "SPNG", "FALL", "EDGE", "RIDE", "SIGN", "LIFE", "FLY_", "TIRE", "GLID", "CLNG", "CLMB", "TRNS", "SSTD", "SWLK", "SRUN", "SPEE", "SPAN", "SMSL", "SDTH", "SDRN", "SSPN", "SGSP", "SJMP", "SSPG", "SFAL", "SEDG", "SRID", "SFLT" }; enum playersprite free_spr2 = SPR2_FIRSTFREESLOT; // Doesn't work with g++, needs actionf_p1 (don't modify this comment) state_t states[NUMSTATES] = { // frame is masked through FF_FRAMEMASK // FF_ANIMATE (0x4000) makes simple state animations (var1 #frames, var2 tic delay) // FF_FULLBRIGHT (0x8000) activates the fullbright colormap // use FF_TRANS10 - FF_TRANS90 for easy translucency // (or tr_trans10<