mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
nuke msg_suppress_1 in favor of Sys_DPrintf
This commit is contained in:
parent
68f607de3c
commit
a7380fef66
7 changed files with 2 additions and 18 deletions
|
@ -105,8 +105,7 @@ D_ClearCacheGuard (void)
|
|||
void
|
||||
D_InitCaches (void *buffer, int size)
|
||||
{
|
||||
// if (!msg_suppress_1)
|
||||
// Con_Printf ("%ik surface cache\n", size/1024);
|
||||
Sys_DPrintf ("D_InitCaches: %ik surface cache\n", size/1024);
|
||||
|
||||
sc_size = size - GUARDSIZE;
|
||||
sc_base = (surfcache_t *) buffer;
|
||||
|
|
|
@ -106,8 +106,7 @@ D_ClearCacheGuard (void)
|
|||
void
|
||||
D_InitCaches (void *buffer, int size)
|
||||
{
|
||||
// if (!msg_suppress_1)
|
||||
// Con_Printf ("%ik surface cache\n", size/1024);
|
||||
Sys_DPrintf ("D_InitCaches: %ik surface cache\n", size/1024);
|
||||
|
||||
sc_size = size - GUARDSIZE;
|
||||
sc_base = (surfcache_t *) buffer;
|
||||
|
|
|
@ -2338,10 +2338,7 @@ AppActivate (BOOL fActive, BOOL minimize)
|
|||
if (ActiveApp) {
|
||||
if (vid_fulldib_on_focus_mode) {
|
||||
if (vid.initialized) {
|
||||
msg_suppress_1 = true; // don't want to see normal mode
|
||||
// set message
|
||||
VID_SetMode (vid_fulldib_on_focus_mode, vid_curpal);
|
||||
msg_suppress_1 = false;
|
||||
|
||||
t = in_mode_set;
|
||||
in_mode_set = true;
|
||||
|
@ -2364,10 +2361,7 @@ AppActivate (BOOL fActive, BOOL minimize)
|
|||
if (vid.initialized) {
|
||||
force_minimized = true;
|
||||
i = vid_fulldib_on_focus_mode;
|
||||
msg_suppress_1 = true; // don't want to see normal mode
|
||||
// set message
|
||||
VID_SetMode (windowed_default, vid_curpal);
|
||||
msg_suppress_1 = false;
|
||||
vid_fulldib_on_focus_mode = i;
|
||||
force_minimized = false;
|
||||
|
||||
|
|
|
@ -156,8 +156,6 @@
|
|||
#define SOUND_CHANNELS 8
|
||||
|
||||
|
||||
extern qboolean msg_suppress_1; // suppresses resolution and cache size console output
|
||||
// an fullscreen DIB focus gain/loss
|
||||
extern int current_skill; // skill level for currently loaded level (in case
|
||||
// the user changes the cvar while the level is
|
||||
// running, this reflects the level actually in use)
|
||||
|
|
|
@ -79,7 +79,6 @@ static plugin_list_t client_plugin_list[] = {
|
|||
CLIENT_PLUGIN_LIST
|
||||
};
|
||||
|
||||
qboolean msg_suppress_1 = 0;
|
||||
qboolean host_initialized; // true if into command execution
|
||||
|
||||
quakeparms_t host_parms;
|
||||
|
|
|
@ -51,10 +51,6 @@ extern double host_frametime; // Tonik
|
|||
|
||||
extern int host_framecount; // incremented every frame, never reset
|
||||
|
||||
extern qboolean msg_suppress_1; // Suppresses resolution and cache size
|
||||
// console output and fullscreen DIB focus
|
||||
// gain/loss
|
||||
|
||||
void Host_ServerFrame (void);
|
||||
void Host_InitCommands (void);
|
||||
void Host_Init (void);
|
||||
|
|
|
@ -44,7 +44,6 @@ cvar_t *registered;
|
|||
int static_registered = 1; // only for startup check, then set
|
||||
|
||||
qboolean com_modified; // set true if using non-id files
|
||||
qboolean msg_suppress_1 = 0;
|
||||
|
||||
void COM_Path_f (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue