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

Function InitHealer

Source/towners.cpp:276–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void InitHealer()
277{
278 int i;
279
280 InitTownerInfo(numtowners, 96, 1, TOWN_HEALER, 55, 79, 1, 10);
281 InitQstSnds(numtowners);
282 towner[numtowners]._tNData = LoadFileInMem("Towners\\Healer\\Healer.CEL", NULL);
283 for (i = 0; i < 8; i++) {
284 towner[numtowners]._tNAnim[i] = towner[numtowners]._tNData;
285 }
286 towner[numtowners]._tNFrames = 20;
287 NewTownerAnim(numtowners, towner[numtowners]._tNAnim[DIR_SE], towner[numtowners]._tNFrames, 6);
288 strcpy(towner[numtowners]._tName, "Pepin the Healer");
289 numtowners++;
290}
291
292void InitTeller()
293{

Callers 1

InitTownersFunction · 0.85

Calls 4

InitTownerInfoFunction · 0.85
InitQstSndsFunction · 0.85
LoadFileInMemFunction · 0.85
NewTownerAnimFunction · 0.85

Tested by

no test coverage detected