prozac-qfcc/qw.qc

23 lines
453 B
C++
Raw Normal View History

2001-07-17 05:58:10 +00:00
// QW CenterPrinting hack
// these functions are only used if in normal quake
#include "defs.qh"
2001-07-17 05:58:10 +00:00
// replaces punchangle in QW
void(float psize, entity p) KickPlayer =
{
msg_entity = p;
if (psize > -3)
WriteByte (MSG_ONE, SVC_SMALLKICK);
2001-07-17 05:58:10 +00:00
else // (size < -3)
WriteByte (MSG_ONE, SVC_BIGKICK);
2001-07-17 05:58:10 +00:00
};
void() muzzleflash =
{
WriteByte (MSG_MULTICAST, SVC_MUZZLEFLASH);
WriteEntity (MSG_MULTICAST, self);
multicast (self.origin, MULTICAST_PVS);
2001-07-17 05:58:10 +00:00
};