From 1a65a029df81427f1ec5c8d805409f335bef3bb5 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 7 Jan 2020 23:19:14 +0100 Subject: [PATCH] [hellfire] errors --- Source/error.cpp | 17 +++++++++++++++-- Source/error.h | 2 +- enums.h | 13 +++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/Source/error.cpp b/Source/error.cpp index 557198b67..f17865f4e 100644 --- a/Source/error.cpp +++ b/Source/error.cpp @@ -5,7 +5,7 @@ char msgdelay; char msgflag; char msgcnt; -char *MsgStrings[44] = { +char *MsgStrings[] = { "", "No automap available in town", "No multiplayer functions in demo", @@ -49,7 +49,20 @@ char *MsgStrings[44] = { "You must be at least level 8 to use this.", "You must be at least level 13 to use this.", "You must be at least level 17 to use this.", - "Arcane knowledge gained!" + "Arcane knowledge gained!", +#ifdef HELLFIRE + "That which does not kill you...", + "Knowledge is power.", + "Give and you shall receive.", + "Some experience is gained by touch.", + "There's no place like home.", + "Spirtual energy is restored.", + "You feel more agile.", + "You feel stronger.", + "You feel wiser.", + "You feel refreshed.", + "That which can break will.", +#endif }; void InitDiabloMsg(char e) diff --git a/Source/error.h b/Source/error.h index 4191582ad..c4a69c8b9 100644 --- a/Source/error.h +++ b/Source/error.h @@ -12,6 +12,6 @@ void ClrDiabloMsg(); void DrawDiabloMsg(); /* data */ -extern char *MsgStrings[44]; +extern char *MsgStrings[]; #endif /* __ERROR_H__ */ diff --git a/enums.h b/enums.h index 288d48ac3..2d275f69b 100644 --- a/enums.h +++ b/enums.h @@ -2254,6 +2254,19 @@ typedef enum diablo_message { EMSG_REQUIRES_LVL_13 = 41, EMSG_REQUIRES_LVL_17 = 42, EMSG_BONECHAMB = 43, +#ifdef HELLFIRE + EMSG_SHRINE_OILY = 44, + EMSG_SHRINE_GLOWING = 45, + EMSG_SHRINE_MENDICANT = 46, + EMSG_SHRINE_SPARKLING = 47, + EMSG_SHRINE_TOWN = 48, + EMSG_SHRINE_SHIMMERING = 49, + EMSG_SHRINE_SOLAR1 = 50, + EMSG_SHRINE_SOLAR2 = 51, + EMSG_SHRINE_SOLAR3 = 52, + EMSG_SHRINE_SOLAR4 = 53, + EMSG_SHRINE_MURPHYS = 54, +#endif } diablo_message; typedef enum magic_type {