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

Function InitBarmaid

Source/towners.cpp:243–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void InitBarmaid()
244{
245 int i;
246
247 InitTownerInfo(numtowners, 96, 1, TOWN_BMAID, 43, 66, -1, 10);
248 InitQstSnds(numtowners);
249 towner[numtowners]._tNData = LoadFileInMem("Towners\\TownWmn1\\WmnN.CEL", NULL);
250 for (i = 0; i < 8; i++) {
251 towner[numtowners]._tNAnim[i] = towner[numtowners]._tNData;
252 }
253 towner[numtowners]._tNFrames = 18;
254 NewTownerAnim(numtowners, towner[numtowners]._tNAnim[DIR_S], towner[numtowners]._tNFrames, 6);
255 strcpy(towner[numtowners]._tName, "Gillian the Barmaid");
256 numtowners++;
257}
258
259void InitBoy()
260{

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