mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Einige Kommentare wieder ein (by caedes)
This commit is contained in:
parent
4c6be8421a
commit
e1d165b942
4 changed files with 15 additions and 2 deletions
|
@ -866,6 +866,9 @@ void CL_BigTeleportParticles (vec3_t org) {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Wall impact puffs
|
||||
*/
|
||||
void CL_BlasterParticles (vec3_t org, vec3_t dir) {
|
||||
int i, j;
|
||||
cparticle_t *p;
|
||||
|
|
|
@ -245,6 +245,10 @@ void IN_Impulse (void) {
|
|||
in_impulse=atoi(Cmd_Argv(1));
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns the fraction of the frame that
|
||||
* the key was down
|
||||
*/
|
||||
float CL_KeyState (kbutton_t *key) {
|
||||
float val;
|
||||
int msec;
|
||||
|
|
|
@ -497,7 +497,7 @@ void CL_ConnectionlessPacket (void)
|
|||
char *c;
|
||||
|
||||
MSG_BeginReading (&net_message);
|
||||
MSG_ReadLong (&net_message);
|
||||
MSG_ReadLong (&net_message); // skip the -1
|
||||
|
||||
s = MSG_ReadStringLine (&net_message);
|
||||
|
||||
|
@ -610,7 +610,7 @@ void CL_ReadPackets (void)
|
|||
}
|
||||
|
||||
if (!Netchan_Process(&cls.netchan, &net_message))
|
||||
continue;
|
||||
continue; /* wasn't accepted for some reason */
|
||||
|
||||
CL_ParseServerMessage ();
|
||||
}
|
||||
|
|
|
@ -73,6 +73,9 @@ void CL_RegisterSounds (void) {
|
|||
S_EndRegistration ();
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns the entity number and the header bits
|
||||
*/
|
||||
int CL_ParseEntityBits (unsigned *bits) {
|
||||
unsigned b, total;
|
||||
int i;
|
||||
|
@ -111,6 +114,9 @@ int CL_ParseEntityBits (unsigned *bits) {
|
|||
return number;
|
||||
}
|
||||
|
||||
/*
|
||||
* Can go from either a baseline or a previous packet_entity
|
||||
*/
|
||||
void CL_ParseDelta (entity_state_t *from, entity_state_t *to, int number, int bits) {
|
||||
/* set everything to the state we are delta'ing from */
|
||||
*to = *from;
|
||||
|
|
Loading…
Reference in a new issue