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

Function STextPrior

Source/stores.cpp:1700–1714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1698}
1699
1700void STextPrior()
1701{
1702 PlaySFX(IS_TITLEMOV);
1703 if (stextsel != -1 && stextscrl) {
1704 if (stextsel == stextup) {
1705 if (stextsval)
1706 stextsval -= 4;
1707 stextsval = stextsval;
1708 if (stextsval < 0)
1709 stextsval = 0;
1710 } else {
1711 stextsel = stextup;
1712 }
1713 }
1714}
1715
1716void STextNext()
1717{

Callers 1

PressKeyFunction · 0.85

Calls 1

PlaySFXFunction · 0.85

Tested by

no test coverage detected