mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fix bitflags enum sayflags_t for C++
This commit is contained in:
parent
1bea669e8a
commit
5c9993bbca
1 changed files with 4 additions and 6 deletions
|
|
@ -114,12 +114,10 @@ extern char english_shiftxform[];
|
||||||
#define CHAT_MUTE (cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this still allows to open the chat but not to type. That's used for scrolling and whatnot.
|
#define CHAT_MUTE (cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this still allows to open the chat but not to type. That's used for scrolling and whatnot.
|
||||||
#define OLD_MUTE (OLDCHAT && cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this is used to prevent oldchat from opening when muted.
|
#define OLD_MUTE (OLDCHAT && cv_mute.value && !(server || IsPlayerAdmin(consoleplayer))) // this is used to prevent oldchat from opening when muted.
|
||||||
|
|
||||||
typedef enum
|
typedef INT32 sayflags_t;
|
||||||
{
|
#define HU_SHOUT (1) // Shout message
|
||||||
HU_SHOUT = 1, // Shout message
|
#define HU_CSAY (1<<1) // Middle-of-screen server message
|
||||||
HU_CSAY = 1<<1, // Middle-of-screen server message
|
#define HU_PRIVNOTICE (1<<2) // Special server sayto, we don't want to see it as the sender.
|
||||||
HU_PRIVNOTICE = 1<<2, // Special server sayto, we don't want to see it as the sender.
|
|
||||||
} sayflags_t;
|
|
||||||
|
|
||||||
// some functions
|
// some functions
|
||||||
void HU_AddChatText(const char *text, boolean playsound);
|
void HU_AddChatText(const char *text, boolean playsound);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue