| 559 | } |
| 560 | |
| 561 | void levelkeypad::OnLevelPrevGoalButton() { |
| 562 | int num_goals = Level_goals.GetNumGoals(); |
| 563 | |
| 564 | if (m_current_goal > 0) { |
| 565 | m_current_goal--; |
| 566 | } else { |
| 567 | m_current_goal = num_goals - 1; |
| 568 | } |
| 569 | m_current_item = 0; |
| 570 | |
| 571 | UpdateDialog(); |
| 572 | } |
| 573 | |
| 574 | void levelkeypad::OnLevelNextGoalButton() { |
| 575 | int num_goals = Level_goals.GetNumGoals(); |
nothing calls this directly
no test coverage detected