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

Function S_StartIdShow

Source/stores.cpp:1306–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1304}
1305
1306void S_StartIdShow()
1307{
1308 char iclr;
1309
1310 StartStore(stextshold);
1311 stextscrl = FALSE;
1312 ClearSText(5, 23);
1313 iclr = COL_WHITE;
1314
1315 if (plr[myplr].HoldItem._iMagical != ITEM_QUALITY_NORMAL)
1316 iclr = COL_BLUE;
1317 if (!plr[myplr].HoldItem._iStatFlag)
1318 iclr = COL_RED;
1319
1320 AddSText(0, 7, 1, "This item is:", COL_WHITE, 0);
1321 AddSText(20, 11, 0, plr[myplr].HoldItem._iIName, iclr, 0);
1322 PrintStoreItem(&plr[myplr].HoldItem, 12, iclr);
1323 AddSText(0, 18, 1, "Done", COL_WHITE, 1);
1324}
1325
1326void S_StartTalk()
1327{

Callers 1

StartStoreFunction · 0.85

Calls 4

StartStoreFunction · 0.85
ClearSTextFunction · 0.85
AddSTextFunction · 0.85
PrintStoreItemFunction · 0.85

Tested by

no test coverage detected