MCPcopy Create free account
hub / github.com/diasurgical/devilution / InitDiabloMsg

Function InitDiabloMsg

Source/error.cpp:57–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55};
56
57void InitDiabloMsg(char e)
58{
59 int i;
60
61 if (msgcnt >= sizeof(msgtable))
62 return;
63
64 for (i = 0; i < msgcnt; i++) {
65 if (msgtable[i] == e)
66 return;
67 }
68
69 msgtable[msgcnt] = e;
70 msgcnt++;
71
72 msgflag = msgtable[0];
73 msgdelay = SDL_GetTicks();
74}
75
76void ClrDiabloMsg()
77{

Callers 6

OperateBookFunction · 0.85
OperateShrineFunction · 0.85
DoAutoMapFunction · 0.85
trigs.cppFile · 0.85
gamemenu_load_gameFunction · 0.85
gamemenu_save_gameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected