From 0ab5ad1b647421ceca9c72e1731af89547bc0d3f Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 10 Nov 2003 08:20:04 +0000 Subject: [PATCH] now limits animation lerp time to .1 second to fix a problem with framegroup models changing frame (which they do infrequently) and interpolating the change really slowly git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3633 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 4 ++++ todo | 2 ++ 2 files changed, 6 insertions(+) diff --git a/cl_main.c b/cl_main.c index 1807fff4..8e55decf 100644 --- 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 1e735289..1058877b 100644 --- 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) -- 2.39.2