Move SKINNAMESIZE to doomdef.h to prevent issues

This commit is contained in:
SinnamonLat 2022-05-26 13:32:22 +02:00
parent d118b69c43
commit a1a38ba022
3 changed files with 1 additions and 2 deletions

View file

@ -208,6 +208,7 @@ extern char logfilename[1024];
#define MAXGAMEPADS (MAXSPLITSCREENPLAYERS * 2) // Number of gamepads we'll be allowing
#define MAXSKINS UINT8_MAX
#define SKINNAMESIZE 16 // Moved from r_skins.h as including that particular header causes issues later down the line.
#define COLORRAMPSIZE 16
#define MAXCOLORNAME 32

View file

@ -15,7 +15,6 @@
#include "doomdef.h"
#include "doomstat.h"
#include "r_skins.h"
#define FOLLOWERCOLOR_MATCH UINT16_MAX
#define FOLLOWERCOLOR_OPPOSITE (UINT16_MAX-1)

View file

@ -22,7 +22,6 @@
#include "r_defs.h" // spritedef_t
/// Defaults
#define SKINNAMESIZE 16
#define SKINRIVALS 3
// should be all lowercase!! S_SKIN processing does a strlwr
#define DEFAULTSKIN "eggman"