Con_Print
Handles cursor positioning, line wrapping, etc
-All console printing must go through this in order to be logged to disk
+All console printing must go through this in order to be displayed
If no console is visible, the notify window will pop up.
================
*/
char string[VM_STRINGTEMP_LENGTH];
VM_VarString(0, string, sizeof(string));
- Con_Print(string);
+ Con_Printf(string);
}
/*
if(Cmd_Argc() != 2)
{
- Con_Print("prvm_edicts <program name>\n");
+ Con_Printf("prvm_edicts <program name>\n");
return;
}
if(Cmd_Argc() != 3)
{
- Con_Print("prvm_edict <program name> <edict number>\n");
+ Con_Printf("prvm_edict <program name> <edict number>\n");
return;
}
if(Cmd_Argc() != 2)
{
- Con_Print("prvm_count <program name>\n");
+ Con_Printf("prvm_count <program name>\n");
return;
}
prog->flag |= PRVM_OP_STATE;
PRVM_GCALL(reset_cmd)();
+ PRVM_GCALL(init_cmd)();
// init mempools
PRVM_MEM_Alloc();
if(Cmd_Argc() != 2)
{
- Con_Print("prvm_fields <program name>\n");
+ Con_Printf("prvm_fields <program name>\n");
return;
}
}*/
if(Cmd_Argc () != 2)
{
- Con_Print ("prvm_globals <program name>\n");
+ Con_Printf("prvm_globals <program name>\n");
return;
}
memset(prog, 0, sizeof(prvm_prog_t));
prog->time = &prog->_time;
-
- PRVM_GCALL(init_cmd)();
}
int PRVM_GetProgNr()
// howmany = atoi(Cmd_Argv(1));
if(Cmd_Argc() != 2)
{
- Con_Print("prvm_profile <program name>\n");
+ Con_Printf("prvm_profile <program name>\n");
return;
}