// initialize console window (only used by sys_win.c)
Sys_InitConsole();
- Con_DPrint("Console initialized.\n");
+ Con_Print("Console initialized.\n");
}
void Con_Shutdown (void)
char text[MAX_INPUTLINE + 5 + 9 + 1]; // space for ^xRGB, "say_team:" and \0
float xo;
size_t len_out;
- char *prefix;
+ const char *prefix;
dp_font_t *fnt;
if (is_console && !key_consoleactive)
unsigned char buf[1024];
dpsnprintf(message, sizeof(message), "maps/%s*.bsp", s);
- t = FS_Search(message, 1, true);
+ t = FS_Search(message, 1, true, NULL);
if(!t)
return false;
if (t->numfilenames > 1)
fssearch_t *search;
if(strchr(com_token, '/'))
{
- search = FS_Search(com_token, true, true);
+ search = FS_Search(com_token, true, true, NULL);
}
else
{
{
strlcpy(t, s, min(sizeof(t), (unsigned int)(slash - s + 2))); // + 2, because I want to include the slash
strlcat(t, com_token, sizeof(t));
- search = FS_Search(t, true, true);
+ search = FS_Search(t, true, true, NULL);
}
else
- search = FS_Search(com_token, true, true);
+ search = FS_Search(com_token, true, true, NULL);
}
if(search)
{
{
strlcpy(t, s, min(sizeof(t), (unsigned int)(slash - s + 2))); // + 2, because I want to include the slash
strlcat(t, "*", sizeof(t));
- search = FS_Search(t, true, true);
+ search = FS_Search(t, true, true, NULL);
}
else
- search = FS_Search("*", true, true);
+ search = FS_Search("*", true, true, NULL);
if(search)
{
for(i = 0; i < search->numfilenames; ++i)