void MEM_PrintCache( void ) { Con_Printf( "\n\nCache:\n\n" ); Cache_Print(); Cache_Print_Sounds_And_Totals(); Cache_Print_Models_And_Totals(); Cache_Report(); }
static void Cache_f(void) { if (Cmd_Argc() == 2) { if (!strcmp(Cmd_Argv(1), "print")) { Cache_Print(); return; } if (!strcmp(Cmd_Argv(1), "flush")) { Cache_Flush(); return; } } Con_Printf("Usage: cache print|flush\n"); }
static void Cache_Display_f(void) { int num_args, counter; qboolean write_file; write_file = false; num_args = Cmd_Argc(); for (counter = 1; counter < num_args; counter++) { if (q_strcasecmp(Cmd_Argv(counter),"save") == 0) write_file = true; } Cache_Print(write_file); }