From ba8b0e59d8ef62415331161a589fa88f1af4e21e Mon Sep 17 00:00:00 2001 From: David Skoland Date: Mon, 30 Jan 2017 15:38:45 +0100 Subject: [PATCH] added chat message enumerator --- courtroom.cpp | 1 + datatypes.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/courtroom.cpp b/courtroom.cpp index b7ed86a..434f486 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -4,6 +4,7 @@ #include "lobby.h" #include "hardware_functions.h" #include "file_functions.h" +#include "datatypes.h" #include #include diff --git a/datatypes.h b/datatypes.h index 9fe5016..05b100c 100644 --- a/datatypes.h +++ b/datatypes.h @@ -75,4 +75,23 @@ struct pos_size_type int height = 0; }; +enum CHAT_MESSAGE +{ + CHAT = 0, + PRE_EMOTE, + CHAR_NAME, + EMOTE, + MESSAGE, + SIDE, + SFX_NAME, + EMOTE_MOD, + CHAR_ID, + SFX_DELAY, + OBJECTION_MOD, + EVIDENCE_ID, + FLIP, + REALIZATION, + TEXT_COLOR +}; + #endif // DATATYPES_H