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

Function CalcPlrInv

Source/items.cpp:759–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757}
758
759void CalcPlrInv(int p, BOOL Loadgfx)
760{
761 CalcPlrItemMin(p);
762 CalcSelfItems(p);
763 CalcPlrItemVals(p, Loadgfx);
764 CalcPlrItemMin(p);
765 if (p == myplr) {
766 CalcPlrBookVals(p);
767 CalcPlrScrolls(p);
768 CalcPlrStaff(p);
769 if (p == myplr && !currlevel)
770 RecalcStoreStats();
771 }
772}
773
774void SetPlrHandItem(ItemStruct *h, int idata)
775{

Callers 15

OperateShrineFunction · 0.85
SmithBuyItemFunction · 0.85
WitchBuyItemFunction · 0.85
WitchRechargeItemFunction · 0.85
BoyBuyItemFunction · 0.85
HealerBuyItemFunction · 0.85
StoryIdItemFunction · 0.85
DoResurrectFunction · 0.85
UnPackPlayerFunction · 0.85
CheckInvPasteFunction · 0.85
CheckInvSwapFunction · 0.85
CheckInvCutFunction · 0.85

Calls 7

CalcPlrItemMinFunction · 0.85
CalcSelfItemsFunction · 0.85
CalcPlrItemValsFunction · 0.85
CalcPlrBookValsFunction · 0.85
CalcPlrScrollsFunction · 0.85
CalcPlrStaffFunction · 0.85
RecalcStoreStatsFunction · 0.85

Tested by

no test coverage detected