[nexuiz-commits] r6489 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Apr 15 05:01:27 EDT 2009
Author: div0
Date: 2009-04-15 05:01:26 -0400 (Wed, 15 Apr 2009)
New Revision: 6489
Modified:
trunk/data/qcsrc/client/View.qc
Log:
a debugging helper "NextFrameCommand", may become useful later
Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc 2009-04-14 18:48:44 UTC (rev 6488)
+++ trunk/data/qcsrc/client/View.qc 2009-04-15 09:01:26 UTC (rev 6489)
@@ -199,6 +199,7 @@
float zoomscript_caught;
float view_set;
float camera_mode;
+string NextFrameCommand;
void CSQC_UpdateView(float w, float h)
{
entity e;
@@ -473,6 +474,12 @@
drawpic('0.5 0 0' * (vid_conwidth - wcross_size_x) + '0 0.5 0' * (vid_conheight - wcross_size_y), wcross_name, wcross_size, wcross_color, wcross_alpha, DRAWFLAG_NORMAL);
}
}
+
+ if(NextFrameCommand)
+ {
+ localcmd("\n", NextFrameCommand, "\n");
+ NextFrameCommand = string_null;
+ }
}
void Sbar_Draw();
More information about the nexuiz-commits
mailing list