mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 09:51:40 +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
|
void
|
||||||
D_InitCaches (void *buffer, int size)
|
D_InitCaches (void *buffer, int size)
|
||||||
{
|
{
|
||||||
// if (!msg_suppress_1)
|
Sys_DPrintf ("D_InitCaches: %ik surface cache\n", size/1024);
|
||||||
// Con_Printf ("%ik surface cache\n", size/1024);
|
|
||||||
|
|
||||||
sc_size = size - GUARDSIZE;
|
sc_size = size - GUARDSIZE;
|
||||||
sc_base = (surfcache_t *) buffer;
|
sc_base = (surfcache_t *) buffer;
|
||||||
|
|
|
@ -106,8 +106,7 @@ D_ClearCacheGuard (void)
|
||||||
void
|
void
|
||||||
D_InitCaches (void *buffer, int size)
|
D_InitCaches (void *buffer, int size)
|
||||||
{
|
{
|
||||||
// if (!msg_suppress_1)
|
Sys_DPrintf ("D_InitCaches: %ik surface cache\n", size/1024);
|
||||||
// Con_Printf ("%ik surface cache\n", size/1024);
|
|
||||||
|
|
||||||
sc_size = size - GUARDSIZE;
|
sc_size = size - GUARDSIZE;
|
||||||
sc_base = (surfcache_t *) buffer;
|
sc_base = (surfcache_t *) buffer;
|
||||||
|
|
|
@ -2338,10 +2338,7 @@ AppActivate (BOOL fActive, BOOL minimize)
|
||||||
if (ActiveApp) {
|
if (ActiveApp) {
|
||||||
if (vid_fulldib_on_focus_mode) {
|
if (vid_fulldib_on_focus_mode) {
|
||||||
if (vid.initialized) {
|
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);
|
VID_SetMode (vid_fulldib_on_focus_mode, vid_curpal);
|
||||||
msg_suppress_1 = false;
|
|
||||||
|
|
||||||
t = in_mode_set;
|
t = in_mode_set;
|
||||||
in_mode_set = true;
|
in_mode_set = true;
|
||||||
|
@ -2364,10 +2361,7 @@ AppActivate (BOOL fActive, BOOL minimize)
|
||||||
if (vid.initialized) {
|
if (vid.initialized) {
|
||||||
force_minimized = true;
|
force_minimized = true;
|
||||||
i = vid_fulldib_on_focus_mode;
|
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);
|
VID_SetMode (windowed_default, vid_curpal);
|
||||||
msg_suppress_1 = false;
|
|
||||||
vid_fulldib_on_focus_mode = i;
|
vid_fulldib_on_focus_mode = i;
|
||||||
force_minimized = false;
|
force_minimized = false;
|
||||||
|
|
||||||
|
|
|
@ -156,8 +156,6 @@
|
||||||
#define SOUND_CHANNELS 8
|
#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
|
extern int current_skill; // skill level for currently loaded level (in case
|
||||||
// the user changes the cvar while the level is
|
// the user changes the cvar while the level is
|
||||||
// running, this reflects the level actually in use)
|
// running, this reflects the level actually in use)
|
||||||
|
|
|
@ -79,7 +79,6 @@ static plugin_list_t client_plugin_list[] = {
|
||||||
CLIENT_PLUGIN_LIST
|
CLIENT_PLUGIN_LIST
|
||||||
};
|
};
|
||||||
|
|
||||||
qboolean msg_suppress_1 = 0;
|
|
||||||
qboolean host_initialized; // true if into command execution
|
qboolean host_initialized; // true if into command execution
|
||||||
|
|
||||||
quakeparms_t host_parms;
|
quakeparms_t host_parms;
|
||||||
|
|
|
@ -51,10 +51,6 @@ extern double host_frametime; // Tonik
|
||||||
|
|
||||||
extern int host_framecount; // incremented every frame, never reset
|
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_ServerFrame (void);
|
||||||
void Host_InitCommands (void);
|
void Host_InitCommands (void);
|
||||||
void Host_Init (void);
|
void Host_Init (void);
|
||||||
|
|
|
@ -44,7 +44,6 @@ cvar_t *registered;
|
||||||
int static_registered = 1; // only for startup check, then set
|
int static_registered = 1; // only for startup check, then set
|
||||||
|
|
||||||
qboolean com_modified; // set true if using non-id files
|
qboolean com_modified; // set true if using non-id files
|
||||||
qboolean msg_suppress_1 = 0;
|
|
||||||
|
|
||||||
void COM_Path_f (void);
|
void COM_Path_f (void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue