From: Samual Lenks Date: Tue, 25 Sep 2012 20:19:44 +0000 (-0400) Subject: Move this stuff too X-Git-Tag: xonotic-v0.7.0~62^2~23^2~420 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a85c3ab7898567a00df0f753ede2cf9f19a5f815;p=xonotic%2Fxonotic-data.pk3dir.git Move this stuff too --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index c1fa98e82..a75f4baba 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -125,6 +125,9 @@ MSG_WEAPON_NOTIFICATIONS #define WRITESPECTATABLE(msg,statement) if(msg == MSG_ONE) { WRITESPECTATABLE_MSG_ONE(statement); } else statement float WRITESPECTATABLE_workaround = 0 #endif +#define NORMAL_OR_GENTLE(normal,gentle) ((autocvar_cl_gentle || autocvar_cl_gentle_messages) ? gentle : normal) +#define HANDLE_CPID(cpid) ((min(256, cpid) == NO_CPID) ? FALSE : cpid) + string CCR(string input) // color code replace, place inside of sprintf and parse the string { input = strreplace("^F1", "^3", input); @@ -147,9 +150,6 @@ string CCR(string input) // color code replace, place inside of sprintf and pars // ========================= #ifdef CSQC -#define NORMAL_OR_GENTLE(normal,gentle) ((autocvar_cl_gentle || autocvar_cl_gentle_messages) ? gentle : normal) -#define HANDLE_CPID(cpid) ((min(256, cpid) == NO_CPID) ? FALSE : cpid) - void Read_Notification() { float net_type = ReadByte();