From: havoc Date: Thu, 18 Dec 2008 04:34:35 +0000 (+0000) Subject: added DP_EF_NOSELFSHADOW extension X-Git-Tag: xonotic-v0.1.0preview~1992 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=5d924fbc6125aa04fd9eae6c93af8f6bc04f7cf6;p=xonotic%2Fdarkplaces.git added DP_EF_NOSELFSHADOW extension git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8598 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_main.c b/cl_main.c index 39f46ab2..75e3bd85 100644 --- a/cl_main.c +++ b/cl_main.c @@ -1065,6 +1065,8 @@ void CL_UpdateNetworkEntity(entity_t *e, int recursionlimit, qboolean interpolat e->render.flags |= RENDER_SHADOW; if (e->render.flags & RENDER_VIEWMODEL) e->render.flags |= RENDER_NOSELFSHADOW; + if (e->render.effects & EF_NOSELFSHADOW) + e->render.flags |= RENDER_NOSELFSHADOW; // make the other useful stuff CL_UpdateRenderEntity(&e->render); diff --git a/csprogs.c b/csprogs.c index 14165f0f..2bf19417 100644 --- a/csprogs.c +++ b/csprogs.c @@ -224,6 +224,8 @@ qboolean CSQC_AddRenderEdict(prvm_edict_t *ed) entrender->flags |= RENDER_SHADOW; if (entrender->flags & RENDER_VIEWMODEL) entrender->flags |= RENDER_NOSELFSHADOW; + if (entrender->effects & EF_NOSELFSHADOW) + entrender->flags |= RENDER_NOSELFSHADOW; // make the other useful stuff CL_UpdateRenderEntity(entrender); diff --git a/svvm_cmds.c b/svvm_cmds.c index 3b67e006..a2c2cee0 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -27,6 +27,7 @@ char *vm_sv_extensions = "DP_EF_NODEPTHTEST " "DP_EF_NODRAW " "DP_EF_NOGUNBOB " +"DP_EF_NOSELFSHADOW " "DP_EF_NOSHADOW " "DP_EF_RED " "DP_EF_STARDUST " diff --git a/todo b/todo index 79176060..c6cff8a3 100644 --- a/todo +++ b/todo @@ -1,4 +1,7 @@ - todo: difficulty ratings are: 0 = trivial, 1 = easy, 2 = easy-moderate, 3 = moderate, 4 = moderate-hard, 5 = hard, 6 = hard++, 7 = nightmare, d = done, -d = done but have not notified the people who asked for it, f = failed, -f = failed but have not notified the people who asked for it +0 feature darkplaces client rtlights: ChrisP has a suggestion of selecting rtlight properties using the number keys, and increasing/decreasing their value using the mouse wheel (cvars needed for amounts to adjust by), and ability to right click a light to delete it, left click to select a light, left drag to move a light on the XY plane it is on (ChrisP) +0 feature darkplaces client particles: effectinfo.txt should have a "particlefont" command specifying a filename, number of cells per row, number of rows, number of bottom rows that are beams, this would allow more particle images to be used (ChrisP) +d feature darkplaces client extensions: EF_NOSELFSHADOW flag (ChrisP) 0 bug darkplaces client csqc: engine prediction function is not implemented - could just return the engine's current cl.movement_origin (Spike) 0 bug darkplaces client csqc: entities not being drawn with VF_PERSPECTIVE 0? (daemon) 0 bug darkplaces client csqc: input queue functions needed for csqc prediction aren't implemented (Spike)