Browse Source

[hellfire] errors

pull/876/head
Anders Jenbo 6 years ago
parent
commit
1a65a029df
  1. 17
      Source/error.cpp
  2. 2
      Source/error.h
  3. 13
      enums.h

17
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)

2
Source/error.h

@ -12,6 +12,6 @@ void ClrDiabloMsg();
void DrawDiabloMsg();
/* data */
extern char *MsgStrings[44];
extern char *MsgStrings[];
#endif /* __ERROR_H__ */

13
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 {

Loading…
Cancel
Save