Einige Kommentare wieder ein (by caedes)

This commit is contained in:
Yamagi Burmeister 2010-06-18 19:47:24 +00:00
parent 4c6be8421a
commit e1d165b942
4 changed files with 15 additions and 2 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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 ();
}

View file

@ -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;