From: havoc Date: Sun, 15 Feb 2009 22:25:28 +0000 (+0000) Subject: somehow this file was not committed in the last one X-Git-Tag: xonotic-v0.1.0preview~1884 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6cf7ab1527d54cd48588250d88a97ef27a2ef13b;p=xonotic%2Fdarkplaces.git somehow this file was not committed in the last one git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8710 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/client.h b/client.h index 59d6b1c4..9c2030ff 100644 --- a/client.h +++ b/client.h @@ -38,7 +38,7 @@ typedef struct effect_s { int active; vec3_t origin; - float starttime; + double starttime; float framerate; int modelindex; int startframe; @@ -282,6 +282,8 @@ typedef struct entity_render_s double frame1time; // time frame2 began playing (for framegroup animations) double frame2time; + // time of last model change (for shader animations) + double shadertime; // calculated by the renderer (but not persistent) @@ -1205,7 +1207,7 @@ void CL_Beam_CalculatePositions (const beam_t *b, vec3_t start, vec3_t end); void CL_ClientMovement_Replay(void); void CL_ClearTempEntities (void); -entity_render_t *CL_NewTempEntity (void); +entity_render_t *CL_NewTempEntity (double shadertime); void CL_Effect(vec3_t org, int modelindex, int startframe, int framecount, float framerate);