]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
now limits animation lerp time to .1 second to fix a problem with framegroup models...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Nov 2003 08:20:04 +0000 (08:20 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 10 Nov 2003 08:20:04 +0000 (08:20 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3633 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c
todo

index 1807fff4f586909cc228751142c215397ecb9414..8e55decf99c1b8d306d398024de81d50976eb5af 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -590,6 +590,10 @@ void CL_LinkNetworkEntity(entity_t *e)
                                e->render.frame = e->render.frame2 = e->state_current.frame;
                                e->render.frame2time = cl.time;
                                e->render.framelerp = 0;
+                               // make sure frame lerp won't last longer than 100ms
+                               // (this mainly helps with models that use framegroups and
+                               // switch between them infrequently)
+                               e->render.frame1time = max(e->render.frame1time, e->render.frame2time - 0.1f);
                        }
                }
                else
diff --git a/todo b/todo
index 1e73528926242dc0ded91b549a3f5ce6343d743d..1058877b5e04f9651167f5d19956108425df4e2d 100644 (file)
--- a/todo
+++ b/todo
@@ -28,6 +28,8 @@
 -n darkplaces: server is starting before the "port" cvar is set by commandline and scripts? (yummyluv)
 -n darkplaces: typing ip in join game menu should show 'trying' and 'no response' after a while, or 'no network' if networking is not initialized (yummyluv)
 -n dpmod: make grapple off-hand (joe hill)
+d darkplaces: limit maximum lerp time on animations to .1 seconds (Vermeulen)
+-n darkplaces: add PF_copyentity error checking for copying to world (yummyluv)
 0 darkplaces: add DP_GFX_QUAKE3MODELTAGS, DP_GFX_SKINFILES, and any other new extensions to the wiki
 0 darkplaces: add DP_LITSUPPORT extension and document it
 0 darkplaces: add DP_SV_ROTATINGBMODEL extension to explain that MOVETYPE_PUSH/SOLID_BSP support rotation in darkplaces and a demonstration of how to use it without qc modifications (Uffe, Supajoe)