quakeforge/ruamoko/include/message.h
Bill Currie 07f897122f [ruamoko] Fix several builtin declarations
Trying to build and run frikbot with ruamoko progs found a pile off
issues.
2022-11-12 14:39:18 +09:00

52 lines
1.4 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 (float level, string s);
@extern void sprint (entity client, float level, 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 (entity client, string s);
#endif//__ruamoko_message_h