[nexuiz-commits] r6212 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Mar 18 07:35:40 EDT 2009


Author: div0
Date: 2009-03-18 07:35:40 -0400 (Wed, 18 Mar 2009)
New Revision: 6212

Modified:
   trunk/data/qcsrc/server/extensions.qh
Log:
merge entities.def (ZQ_PAUSE)


Modified: trunk/data/qcsrc/server/extensions.qh
===================================================================
--- trunk/data/qcsrc/server/extensions.qh	2009-03-18 11:22:22 UTC (rev 6211)
+++ trunk/data/qcsrc/server/extensions.qh	2009-03-18 11:35:40 UTC (rev 6212)
@@ -1889,3 +1889,18 @@
 //EXT_CSQC
 // #232 void(float index, float type, .void field) SV_AddStat (EXT_CSQC)
 void(float index, float type, ...) addstat = #232;
+
+//ZQ_PAUSE
+//idea: ZQuake
+//darkplaces implementation: GreEn`mArine
+//builtin definitions:
+void(float pause) setpause = #531;
+//function definitions:
+//void(float elapsedtime) SV_PausedTic;
+//description:
+//during pause the world is not updated (time does not advance), SV_PausedTic is the only function you can be sure will be called at regular intervals during the pause, elapsedtime is the current system time in seconds since the pause started (not affected by slowmo or anything else).
+//
+//calling setpause(0) will end a pause immediately.
+//
+//Note: it is worth considering that network-related functions may be called during the pause (including customizeentityforclient for example), and it is also important to consider the continued use of the KRIMZON_SV_PARSECLIENTCOMMAND extension while paused (chatting players, etc), players may also join/leave during the pause.  In other words, the only things that are not called are think and other time-related functions.
+



More information about the nexuiz-commits mailing list