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

Function AddSText

Source/stores.cpp:276–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void AddSText(int x, int y, int j, char *str, char clr, int sel)
277{
278 stext[y]._sx = x;
279 stext[y]._syoff = 0;
280 strcpy(stext[y]._sstr, str);
281 stext[y]._sjust = j;
282 stext[y]._sclr = clr;
283 stext[y]._sline = 0;
284 stext[y]._ssel = sel;
285}
286
287void StoreAutoPlace()
288{

Callers 15

S_StartSmithFunction · 0.85
S_ScrollSBuyFunction · 0.85
PrintStoreItemFunction · 0.85
S_StartSBuyFunction · 0.85
S_ScrollSPBuyFunction · 0.85
S_StartSPBuyFunction · 0.85
S_ScrollSSellFunction · 0.85
S_StartSSellFunction · 0.85
S_StartSRepairFunction · 0.85
S_StartWitchFunction · 0.85
S_ScrollWBuyFunction · 0.85
S_StartWBuyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected