Changed the comment of Con_Print, so it isnt misleading any more.
Fixed a bug so dp wont crash when VM_strzone/VM_strunzone is used.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3614
d7cf8633-e32d-0410-b094-
e92efae38249
Con_Print
Handles cursor positioning, line wrapping, etc
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.
================
*/
If no console is visible, the notify window will pop up.
================
*/
char string[VM_STRINGTEMP_LENGTH];
VM_VarString(0, string, sizeof(string));
char string[VM_STRINGTEMP_LENGTH];
VM_VarString(0, string, sizeof(string));
- Con_Print("prvm_edicts <program name>\n");
+ Con_Printf("prvm_edicts <program name>\n");
- Con_Print("prvm_edict <program name> <edict number>\n");
+ Con_Printf("prvm_edict <program name> <edict number>\n");
- Con_Print("prvm_count <program name>\n");
+ Con_Printf("prvm_count <program name>\n");
prog->flag |= PRVM_OP_STATE;
PRVM_GCALL(reset_cmd)();
prog->flag |= PRVM_OP_STATE;
PRVM_GCALL(reset_cmd)();
+ PRVM_GCALL(init_cmd)();
// init mempools
PRVM_MEM_Alloc();
// init mempools
PRVM_MEM_Alloc();
- Con_Print("prvm_fields <program name>\n");
+ Con_Printf("prvm_fields <program name>\n");
}*/
if(Cmd_Argc () != 2)
{
}*/
if(Cmd_Argc () != 2)
{
- Con_Print ("prvm_globals <program name>\n");
+ Con_Printf("prvm_globals <program name>\n");
memset(prog, 0, sizeof(prvm_prog_t));
prog->time = &prog->_time;
memset(prog, 0, sizeof(prvm_prog_t));
prog->time = &prog->_time;
-
- PRVM_GCALL(init_cmd)();
// howmany = atoi(Cmd_Argv(1));
if(Cmd_Argc() != 2)
{
// howmany = atoi(Cmd_Argv(1));
if(Cmd_Argc() != 2)
{
- Con_Print("prvm_profile <program name>\n");
+ Con_Printf("prvm_profile <program name>\n");