Select Git revision
deh_tables.h
info.c 790.73 KiB
// SONIC ROBO BLAST 2
//-----------------------------------------------------------------------------
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 1998-2000 by DooM Legacy Team.
// Copyright (C) 1999-2023 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 "p_local.h" // DMG_ constants
#include "m_misc.h"
#include "z_zone.h"
#include "d_player.h"
#include "v_video.h" // V_*MAP constants
#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!
// For the sake of constant merge conflicts, let's spread this out
char sprnames[NUMSPRITES + 1][5] =
{
"NULL", // invisible object
"UNKN",
"THOK", // Thok! mobj
"PLAY",
// Enemies
"POSS", // Crawla (Blue)
"SPOS", // Crawla (Red)
"FISH", // SDURF
"BUZZ", // Buzz (Gold)
"RBUZ", // Buzz (Red)
"JETB", // Jetty-Syn Bomber
"JETG", // Jetty-Syn Gunner
"CCOM", // Crawla Commander
"DETN", // Deton
"SKIM", // Skim mine dropper
"TRET", // Industrial Turret
"TURR", // Pop-Up Turret
"SHRP", // Sharp
"CRAB", // Crushstacean
"CR2B", // Banpyura
"CSPR", // Banpyura spring
"JJAW", // Jet Jaw
"SNLR", // Snailer
"VLTR", // BASH
"PNTY", // Pointy
"ARCH", // Robo-Hood
"CBFS", // Castlebot Facestabber
"STAB", // Castlebot Facestabber spear aura
"SPSH", // Egg Guard
"ESHI", // Egg Guard's shield
"GSNP", // Green Snapper
"GSNL", // Green Snapper leg
"GSNH", // Green Snapper head
"MNUS", // Minus
"MNUD", // Minus dirt
"SSHL", // Spring Shell