From 85d4aaa026e61e1239dc25f4c4253e86c7391bae Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 31 May 2020 02:18:40 +1000 Subject: [PATCH] Some minor tweaks to CACHEPICFLAG_LINEAR and the nasty -game name rejection message to ease the processes of backporting and modernization --- draw.h | 4 ++-- fs.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/draw.h b/draw.h index 2ab33897..abc520da 100644 --- a/draw.h +++ b/draw.h @@ -35,8 +35,8 @@ typedef enum cachepicflags_e CACHEPICFLAG_NEWPIC = 16, // disables matching texflags check, because a pic created with Draw_NewPic should not be subject to that CACHEPICFLAG_MIPMAP = 32, CACHEPICFLAG_NEAREST = 64, // force nearest filtering instead of linear - CACHEPICFLAG_FAILONMISSING = 128, // return NULL if the pic has no texture - CACHEPICFLAG_LINEAR = 256 // force linear filtering even if nearest_2d is enabled + CACHEPICFLAG_LINEAR = 128, // force linear filtering even if nearest_2d is enabled + CACHEPICFLAG_FAILONMISSING = 256 // return NULL if the pic has no texture } cachepicflags_t; diff --git a/fs.c b/fs.c index 72004d79..1608c399 100644 --- a/fs.c +++ b/fs.c @@ -2159,7 +2159,7 @@ void FS_Init (void) i++; p = FS_CheckGameDir(com_argv[i]); if(!p) - Con_Printf("WARNING: Nasty -game name rejected: %s\n", com_argv[i]); + Con_Warnf("WARNING: Nasty -game name rejected: %s\n", com_argv[i]); if(p == fs_checkgamedir_missing) Con_Warnf("WARNING: -game %s%s/ not found!\n", fs_basedir, com_argv[i]); // add the gamedir to the list of active gamedirs -- 2.39.2