// SONIC ROBO BLAST 2 //----------------------------------------------------------------------------- // Copyright (C) 1998-2000 by DooM Legacy Team. // Copyright (C) 1999-2019 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 r_splats.h /// \brief Flat sprites & splats effects #ifndef __R_SPLATS_H__ #define __R_SPLATS_H__ #include "r_defs.h" //#define WALLSPLATS // comment this out to compile without splat effects /*#ifdef USEASM #define FLOORSPLATS #endif*/ #define MAXLEVELSPLATS 1024 // splat flags #define SPLATDRAWMODE_MASK 0x03 // mask to get drawmode from flags #define SPLATDRAWMODE_OPAQUE 0x00 #define SPLATDRAWMODE_SHADE 0x01 #define SPLATDRAWMODE_TRANS 0x02 // ========================================================================== // DEFINITIONS // ========================================================================== // WALL SPLATS are patches drawn on top of wall segs typedef struct wallsplat_s { lumpnum_t patch; // lump id. vertex_t v1, v2; // vertices along the linedef fixed_t top; fixed_t offset; // offset in columns<