LOTS OF CHANGES. was hoping to get revision 5000 perfect, but really that's never going to happen. this has gone on for too long now.
vulkan, wasapi, quake injector features added. irc, avplug, cef plugins/drivers reworked/updated/added openal reverb, doppler effects added. 'dir' console command now attempts to view clicked files. lots of warning fixes, should now only be deprecation warnings for most targets (depending on compiler version anyway...). SendEntity finally reworked to use flags properly. effectinfo improved, other smc-targetted fixes. mapcluster stuff now has support for linux. .basebone+.baseframe now exist in ssqc. qcc: -Fqccx supports qccx syntax, including qccx hacks. don't expect these to work in fteqw nor dp though. qcc: rewrote function call handling to use refs rather than defs. this makes struct passing more efficient and makes the __out keyword usable with fields etc. qccgui: can cope a little better with non-unicode files. can now represent most quake chars. qcc: suppressed warnings from *extensions.qc git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5000 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5920bf05fb
commit
27a59a0cbc
271 changed files with 101001 additions and 64352 deletions
|
@ -76,7 +76,7 @@ int CL_TargettedSplit(qboolean nowrap)
|
|||
if (con_splitmodifier > 0)
|
||||
return (con_splitmodifier - 1) % mod;
|
||||
else if (cl_forceseat.ival > 0)
|
||||
return (cl_forceseat.ival-1) % mod;
|
||||
return (cl_forceseat.ival-1) % cl.splitclients;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
@ -942,7 +942,7 @@ void CL_FinishMove (usercmd_t *cmd, int msecs, int pnum)
|
|||
|
||||
void CL_UpdatePrydonCursor(usercmd_t *from, int pnum)
|
||||
{
|
||||
unsigned int hit;
|
||||
int hit;
|
||||
vec3_t cursor_end;
|
||||
|
||||
vec3_t temp;
|
||||
|
@ -1004,9 +1004,11 @@ void CL_UpdatePrydonCursor(usercmd_t *from, int pnum)
|
|||
CL_SetSolidEntities();
|
||||
//don't bother with players, they don't exist in NQ...
|
||||
|
||||
hit = TraceLineN(from->cursor_start, cursor_end, from->cursor_impact, cursor_impact_normal);
|
||||
if (hit)
|
||||
from->cursor_entitynumber = hit-1;
|
||||
CL_TraceLine(from->cursor_start, cursor_end, from->cursor_impact, cursor_impact_normal, &hit);
|
||||
if (hit>0)
|
||||
from->cursor_entitynumber = hit;
|
||||
else if (hit < 0)
|
||||
from->cursor_entitynumber = 0; //FIXME: ask csqc for the entity's entnum
|
||||
else
|
||||
from->cursor_entitynumber = 0;
|
||||
|
||||
|
@ -1016,6 +1018,7 @@ void CL_UpdatePrydonCursor(usercmd_t *from, int pnum)
|
|||
#ifdef NQPROT
|
||||
void CLNQ_SendMove (usercmd_t *cmd, int pnum, sizebuf_t *buf)
|
||||
{
|
||||
static float oldgametime;
|
||||
int i;
|
||||
|
||||
if (cls.demoplayback!=DPB_NONE)
|
||||
|
@ -1042,10 +1045,12 @@ void CLNQ_SendMove (usercmd_t *cmd, int pnum, sizebuf_t *buf)
|
|||
}
|
||||
|
||||
MSG_WriteFloat (buf, cl.gametime); // so server can get ping times
|
||||
cmd->msec = bound(0, cl.gametime - oldgametime, .25)*1000;
|
||||
oldgametime = cl.gametime;
|
||||
|
||||
for (i=0 ; i<3 ; i++)
|
||||
{
|
||||
if ((cls.protocol_nq == CPNQ_FITZ666 || cls.protocol_nq == CPNQ_PROQUAKE3_4) && buf->prim.anglesize <= 1)
|
||||
if (cls.protocol_nq == CPNQ_FITZ666 || (cls.proquake_angles_hack && buf->prim.anglesize <= 1))
|
||||
{
|
||||
//fitz/proquake protocols are always 16bit for this angle and 8bit elsewhere. rmq is always at least 16bit
|
||||
//the above logic should satify everything.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue