From: Mario Date: Sat, 30 May 2020 16:18:40 +0000 (+1000) Subject: Some minor tweaks to CACHEPICFLAG_LINEAR and the nasty -game name rejection message... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=85d4aaa026e61e1239dc25f4c4253e86c7391bae;p=xonotic%2Fdarkplaces.git Some minor tweaks to CACHEPICFLAG_LINEAR and the nasty -game name rejection message to ease the processes of backporting and modernization --- 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