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

Function InitInv

Source/inv.cpp:98–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void InitInv()
99{
100 if (plr[myplr]._pClass == PC_WARRIOR) {
101 pInvCels = LoadFileInMem("Data\\Inv\\Inv.CEL", NULL);
102#ifndef SPAWN
103 } else if (plr[myplr]._pClass == PC_ROGUE) {
104 pInvCels = LoadFileInMem("Data\\Inv\\Inv_rog.CEL", NULL);
105 } else if (plr[myplr]._pClass == PC_SORCERER) {
106 pInvCels = LoadFileInMem("Data\\Inv\\Inv_Sor.CEL", NULL);
107#endif
108 }
109
110 invflag = FALSE;
111 drawsbarflag = FALSE;
112}
113
114void InvDrawSlotBack(int X, int Y, int W, int H)
115{

Callers 1

LoadGameLevelFunction · 0.85

Calls 1

LoadFileInMemFunction · 0.85

Tested by

no test coverage detected