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

Function InitTeller

Source/towners.cpp:292–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void InitTeller()
293{
294 int i;
295
296 InitTownerInfo(numtowners, 96, 1, TOWN_STORY, 62, 71, 2, 10);
297 InitQstSnds(numtowners);
298 towner[numtowners]._tNData = LoadFileInMem("Towners\\Strytell\\Strytell.CEL", NULL);
299 for (i = 0; i < 8; i++) {
300 towner[numtowners]._tNAnim[i] = towner[numtowners]._tNData;
301 }
302 towner[numtowners]._tNFrames = 25;
303 NewTownerAnim(numtowners, towner[numtowners]._tNAnim[DIR_S], towner[numtowners]._tNFrames, 3);
304 strcpy(towner[numtowners]._tName, "Cain the Elder");
305 numtowners++;
306}
307
308void InitDrunk()
309{

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