Overhaul to console structure, a bit

This commit is contained in:
iikorni
2026-08-30 00:50:23 -05:00
parent de75b014b3
commit 216dd1aecd
70 changed files with 2081 additions and 2260 deletions
+6 -6
View File
@@ -128,7 +128,7 @@ snd_stream_t *S_CodecOpenStreamType (const char *filename, unsigned int type, bo
if (type == CODECTYPE_NONE)
{
Con_Printf("Bad type for %s\n", filename);
console::info("Bad type for %s\n", filename);
return NULL;
}
@@ -141,7 +141,7 @@ snd_stream_t *S_CodecOpenStreamType (const char *filename, unsigned int type, bo
}
if (!codec)
{
Con_Printf("Unknown type for %s\n", filename);
console::info("Unknown type for %s\n", filename);
return NULL;
}
stream = S_CodecUtilOpen(filename, codec, loop);
@@ -162,7 +162,7 @@ snd_stream_t *S_CodecOpenStreamExt (const char *filename, bool loop)
ext = COM_FileGetExtension(filename);
if (! *ext)
{
Con_Printf("No extension for %s\n", filename);
console::info("No extension for %s\n", filename);
return NULL;
}
@@ -175,7 +175,7 @@ snd_stream_t *S_CodecOpenStreamExt (const char *filename, bool loop)
}
if (!codec)
{
Con_Printf("Unknown extension for %s\n", filename);
console::info("Unknown extension for %s\n", filename);
return NULL;
}
stream = S_CodecUtilOpen(filename, codec, loop);
@@ -226,7 +226,7 @@ snd_stream_t *S_CodecOpenStreamAny (const char *filename, bool loop)
}
if (!codec)
{
Con_Printf("Unknown extension for %s\n", filename);
console::info("Unknown extension for %s\n", filename);
return NULL;
}
stream = S_CodecUtilOpen(filename, codec, loop);
@@ -292,7 +292,7 @@ snd_stream_t *S_CodecUtilOpen(const char *filename, snd_codec_t *codec, bool loo
pak = file_from_pak;
if (length == -1)
{
Con_DPrintf("Couldn't open %s\n", filename);
console::debug("Couldn't open %s\n", filename);
return NULL;
}