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

Function InitItemGFX

Source/items.cpp:189–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187int premiumlvladd[6] = { -1, -1, 0, 0, 1, 2 };
188
189void InitItemGFX()
190{
191 int i;
192 char arglist[64];
193
194 for (i = 0; i < ITEMTYPES; i++) {
195 sprintf(arglist, "Items\\%s.CEL", ItemDropNames[i]);
196 itemanims[i] = LoadFileInMem(arglist, NULL);
197 }
198 memset(UniqueItemFlag, 0, sizeof(UniqueItemFlag));
199}
200
201BOOL ItemPlace(int xp, int yp)
202{

Callers 1

LoadGameLevelFunction · 0.85

Calls 1

LoadFileInMemFunction · 0.85

Tested by

no test coverage detected