From d317e7def20483b73fc197b783bae86d8260fbaf Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 3 Feb 2007 12:10:03 +0000 Subject: [PATCH] added DP_SV_PRINT extension git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6782 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_cmds.c | 4 ++-- svvm_cmds.c | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index 8d3d415a..568651c4 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -152,11 +152,11 @@ void VM_objerror (void) /* ================= -VM_print (actually used only by client and menu) +VM_print print to console -print(string) +print(...[string]) ================= */ void VM_print (void) diff --git a/svvm_cmds.c b/svvm_cmds.c index f6043336..e14737f6 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -98,6 +98,7 @@ char *vm_sv_extensions = "DP_SV_PING " "DP_SV_PLAYERPHYSICS " "DP_SV_PRECACHEANYTIME " +"DP_SV_PRINT " "DP_SV_PUNCHVECTOR " "DP_SV_ROTATINGBMODEL " "DP_SV_SETCOLOR " @@ -2785,7 +2786,25 @@ e10, // #260-#269 e10, // #270-#279 e10, // #280-#289 e10, // #290-#299 -e10, e10, e10, e10, e10, e10, e10, e10, e10, e10, // #300-399 +e10, // #300-309 +e10, // #310-319 +e10, // #320-329 +NULL, // #330 +NULL, // #331 +NULL, // #332 +NULL, // #333 +NULL, // #334 +NULL, // #335 +NULL, // #336 +NULL, // #337 +NULL, // #338 +VM_print, // #339 void(string, ...) print (DP_SV_PRINT) +e10, // #340-349 +e10, // #350-359 +e10, // #360-369 +e10, // #370-379 +e10, // #380-389 +e10, // #390-399 VM_copyentity, // #400 void(entity from, entity to) copyentity (DP_QC_COPYENTITY) PF_setcolor, // #401 void(entity ent, float colors) setcolor (DP_QC_SETCOLOR) VM_findchain, // #402 entity(.string fld, string match) findchain (DP_QC_FINDCHAIN) -- 2.39.2