From e97fb2ab7fec52253a5860be5c84124950cd8df6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 25 Aug 2020 20:21:18 +0200 Subject: [PATCH] - reduce message spam in the notification display. --- source/blood/src/blood.cpp | 22 ++++++++++------------ source/build/src/polymost.cpp | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index 9c7d42d0c..f4436bc5c 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -433,7 +433,7 @@ void StartLevel(MapRecord *level) #ifdef NOONE_EXTENSIONS if (!gModernMap) - Printf("> Modern types erased: %d.\n", modernTypesErased); + Printf(PRINT_NONOTIFY, "> Modern types erased: %d.\n", modernTypesErased); #endif startpos.z = getflorzofslope(startsectnum,startpos.x,startpos.y); @@ -715,10 +715,10 @@ void GameInterface::app_init() HookReplaceFunctions(); - Printf("Initializing Build 3D engine\n"); + Printf(PRINT_NONOTIFY, "Initializing Build 3D engine\n"); engineInit(); - Printf("Loading tiles\n"); + Printf(PRINT_NONOTIFY, "Loading tiles\n"); if (!tileInit(0, NULL)) I_FatalError("TILES###.ART files not found"); @@ -731,27 +731,25 @@ void GameInterface::app_init() if (!loaddefinitionsfile(defsfile)) { uint32_t etime = timerGetTicks(); - Printf("Definitions file \"%s\" loaded in %d ms.\n", defsfile, etime - stime); + Printf(PRINT_NONOTIFY, "Definitions file \"%s\" loaded in %d ms.\n", defsfile, etime - stime); } powerupInit(); - Printf("Loading cosine table\n"); + Printf(PRINT_NONOTIFY, "Loading cosine table\n"); trigInit(); - Printf("Initializing view subsystem\n"); + Printf(PRINT_NONOTIFY, "Initializing view subsystem\n"); viewInit(); - Printf("Initializing dynamic fire\n"); + Printf(PRINT_NONOTIFY, "Initializing dynamic fire\n"); FireInit(); - Printf("Initializing weapon animations\n"); + Printf(PRINT_NONOTIFY, "Initializing weapon animations\n"); WeaponInit(); LoadSaveSetup(); LoadSavedInfo(); - Printf("Loading control setup\n"); - ctrlInit(); timerInit(120); - Printf("Initializing network users\n"); + Printf(PRINT_NONOTIFY, "Initializing network users\n"); netInitialize(true); videoInit(); - Printf("Initializing sound system\n"); + Printf(PRINT_NONOTIFY, "Initializing sound system\n"); sndInit(); registerosdcommands(); registerinputcommands(); diff --git a/source/build/src/polymost.cpp b/source/build/src/polymost.cpp index 703bb4d15..1647bbe8c 100644 --- a/source/build/src/polymost.cpp +++ b/source/build/src/polymost.cpp @@ -3687,7 +3687,7 @@ void PolymostProcessVoxels(void) g_haveVoxels = 2; - Printf("Generating voxel models for Polymost. This may take a while...\n"); + Printf(PRINT_NONOTIFY, "Generating voxel models for Polymost. This may take a while...\n"); for (bssize_t i = 0; i < MAXVOXELS; i++) {