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

Function STextNext

Source/stores.cpp:1716–1729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1714}
1715
1716void STextNext()
1717{
1718 PlaySFX(IS_TITLEMOV);
1719 if (stextsel != -1 && stextscrl) {
1720 if (stextsel == stextdown) {
1721 if (stextsval < stextsmax)
1722 stextsval += 4;
1723 if (stextsval > stextsmax)
1724 stextsval = stextsmax;
1725 } else {
1726 stextsel = stextdown;
1727 }
1728 }
1729}
1730
1731void S_SmithEnter()
1732{

Callers 1

PressKeyFunction · 0.85

Calls 1

PlaySFXFunction · 0.85

Tested by

no test coverage detected