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

Function S_StartWitch

Source/stores.cpp:774–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774void S_StartWitch()
775{
776 stextsize = 0;
777 stextscrl = FALSE;
778 AddSText(0, 2, 1, "Witch's shack", COL_GOLD, 0);
779 AddSText(0, 9, 1, "Would you like to:", COL_GOLD, 0);
780 AddSText(0, 12, 1, "Talk to Adria", COL_BLUE, 1);
781 AddSText(0, 14, 1, "Buy items", COL_WHITE, 1);
782 AddSText(0, 16, 1, "Sell items", COL_WHITE, 1);
783 AddSText(0, 18, 1, "Recharge staves", COL_WHITE, 1);
784 AddSText(0, 20, 1, "Leave the shack", COL_WHITE, 1);
785 AddSLine(5);
786 storenumh = 20;
787}
788
789void S_ScrollWBuy(int idx)
790{

Callers 1

StartStoreFunction · 0.85

Calls 2

AddSTextFunction · 0.85
AddSLineFunction · 0.85

Tested by

no test coverage detected