mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
23a38738fc
Lots of trailing whitespace and otherwise blank lines.
52 lines
1.3 KiB
C
52 lines
1.3 KiB
C
#ifndef __ruamoko_message_h
|
|
#define __ruamoko_message_h
|
|
|
|
// protocol bytes
|
|
#define SVC_TEMPENTITY 23
|
|
#define SVC_KILLEDMONSTER 27
|
|
#define SVC_FOUNDSECRET 28
|
|
#define SVC_INTERMISSION 30
|
|
#define SVC_FINALE 31
|
|
#define SVC_CDTRACK 32
|
|
#define SVC_SELLSCREEN 33
|
|
#define SVC_SMALLKICK 34
|
|
#define SVC_BIGKICK 35
|
|
#define SVC_MUZZLEFLASH 39
|
|
|
|
// messages
|
|
#define MSG_BROADCAST 0
|
|
#define MSG_ONE 1
|
|
#define MSG_ALL 2
|
|
#define MSG_INIT 3
|
|
#define MSG_MULTICAST 4
|
|
|
|
// message levels
|
|
#define PRINT_LOW 0
|
|
#define PRINT_MEDIUM 1
|
|
#define PRINT_HIGH 2
|
|
#define PRINT_CHAT 3
|
|
|
|
// multicast sets
|
|
#define MULTICAST_ALL 0
|
|
#define MULTICAST_PHS 1
|
|
#define MULTICAST_PVS 2
|
|
#define MULTICAST_ALL_R 3
|
|
#define MULTICAST_PHS_R 4
|
|
#define MULTICAST_PVS_R 5
|
|
|
|
@extern void bprint (...);
|
|
@extern void sprint (entity client, string s);
|
|
@extern void WriteBytes (float to, ...);
|
|
@extern void WriteByte (float to, float f);
|
|
@extern void WriteChar (float to, float f);
|
|
@extern void WriteShort (float to, float f);
|
|
@extern void WriteLong (float to, float f);
|
|
@extern void WriteCoord (float to, float f);
|
|
@extern void WriteAngle (float to, float f);
|
|
@extern void WriteCoordV (float to, vector v);
|
|
@extern void WriteAngleV (float to, vector v);
|
|
@extern void WriteString (float to, string s);
|
|
@extern void WriteEntity (float to, entity s);
|
|
@extern void centerprint (...);
|
|
|
|
#endif//__ruamoko_message_h
|