From 091718e089617a7d1d24a4b418df3377bc1f6117 Mon Sep 17 00:00:00 2001 From: sajt Date: Tue, 23 Aug 2005 07:06:23 +0000 Subject: [PATCH] Added a builtin for te_flamejet git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5639 d7cf8633-e32d-0410-b094-e92efae38249 --- svvm_cmds.c | 18 +++++++++++++++++- todo | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/svvm_cmds.c b/svvm_cmds.c index c251f370..251ecc4f 100644 --- a/svvm_cmds.c +++ b/svvm_cmds.c @@ -1796,6 +1796,22 @@ void PF_te_plasmaburn (void) MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM0)[2], sv.protocol); } +void PF_te_flamejet (void) +{ + MSG_WriteByte(&sv.datagram, svc_temp_entity); + MSG_WriteByte(&sv.datagram, TE_FLAMEJET); + // org + MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM0)[0], sv.protocol); + MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM0)[1], sv.protocol); + MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM0)[2], sv.protocol); + // vel + MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM1)[0], sv.protocol); + MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM1)[1], sv.protocol); + MSG_WriteCoord(&sv.datagram, PRVM_G_VECTOR(OFS_PARM1)[2], sv.protocol); + // count + MSG_WriteByte(&sv.datagram, PRVM_G_FLOAT(OFS_PARM2)); +} + static void clippointtosurface(msurface_t *surface, vec3_t p, vec3_t out) { int i, j, k; @@ -2477,7 +2493,7 @@ PF_dropclient, // #453 void(entity clent) dropclient (DP_SV_DROPCLIENT) PF_spawnclient, // #454 entity() spawnclient (DP_SV_BOTCLIENT) PF_clienttype, // #455 float(entity clent) clienttype (DP_SV_BOTCLIENT) PF_WriteUnterminatedString, // #456 void(float to, string s) WriteUnterminatedString (DP_SV_WRITEUNTERMINATEDSTRING) -NULL, // #457 +PF_te_flamejet, // #457 void(vector org, vector vel, float howmany) te_flamejet = #457 (DP_TE_FLAMEJET) NULL, // #458 NULL, // #459 e10, e10, e10, e10 // #460-499 (LordHavoc) diff --git a/todo b/todo index 5c3348e2..dffccf0b 100644 --- a/todo +++ b/todo @@ -10,6 +10,7 @@ d feature darkplaces client: v_deathtilt cvar (Sajt, MauveBib) -d (Speedy) feature darkplaces init: add -demolooponly option which makes escape key quit, and disables all other keys (Speedy) -d (Spike) bug darkplaces console: inserting characters in the commandline is not adding a nul terminator to the commandline, resulting in lots of trash from older commandlines suddenly showing up (Spike) -d (Spike) feature darkplaces server: add filename/line number reporting to progs stack and opcode printouts (Spike) +-d (Supa) bug darkplaces server: add TE_FLAMEJET builtin and add extension (Supajoe) -d (Toddd) bug darkplaces client: fix gl_flashblend, it's still drawing rtdlights even when gl_flashblend is on (Toddd) -d (Vermeulen) feature darkplaces playerphysics: add sv_maxairspeed cvar and use it in sv_user.c, default 30 to match quake player physics (Vermeulen) -d (Vermeulen, suminigashi, Willis) bug darkplaces server: local server is not being killed when you join another server (Vermeulen, suminigashi, Willis) @@ -67,7 +68,6 @@ d feature darkplaces client: v_deathtilt cvar (Sajt, MauveBib) 0 bug darkplaces rtlights: light entity import should spawn lights at torch origin so that it does not cast a shadow 0 bug darkplaces server: .colormap is not being set on DP_SV_BOTCLIENT entities the first time, but if removed and spawned again it is set (Urre) 0 bug darkplaces server: PF_vectorvectors is broken, given a v_forward from makevectors (not using roll) it does not give the same v_right and v_up vectors (VorteX) -0 bug darkplaces server: add TE_FLAMEJET builtin and add extension (Supajoe) 0 bug darkplaces server: apparently MOVETYPE_WALK on non-players is frequently resetting origin to oldorigin, why does it think it's in solid? (Wazat) 0 bug darkplaces server: figure out what's breaking RenegadeC's TAOV monster jump code (RenegadeC) 0 bug darkplaces server: getlight builtin should consider lightstyles (Sajt) -- 2.39.2