| 1661 | } |
| 1662 | |
| 1663 | void STextDown() |
| 1664 | { |
| 1665 | PlaySFX(IS_TITLEMOV); |
| 1666 | if (stextsel == -1) { |
| 1667 | return; |
| 1668 | } |
| 1669 | |
| 1670 | if (stextscrl) { |
| 1671 | if (stextsel == stextdown) { |
| 1672 | if (stextsval < stextsmax) |
| 1673 | stextsval++; |
| 1674 | return; |
| 1675 | } |
| 1676 | |
| 1677 | stextsel++; |
| 1678 | while (!stext[stextsel]._ssel) { |
| 1679 | if (stextsel == 23) |
| 1680 | stextsel = 0; |
| 1681 | else |
| 1682 | stextsel++; |
| 1683 | } |
| 1684 | return; |
| 1685 | } |
| 1686 | |
| 1687 | if (stextsel == 23) |
| 1688 | stextsel = 0; |
| 1689 | else |
| 1690 | stextsel++; |
| 1691 | |
| 1692 | while (!stext[stextsel]._ssel) { |
| 1693 | if (stextsel == 23) |
| 1694 | stextsel = 0; |
| 1695 | else |
| 1696 | stextsel++; |
| 1697 | } |
| 1698 | } |
| 1699 | |
| 1700 | void STextPrior() |
| 1701 | { |
no test coverage detected