| 572 | } |
| 573 | |
| 574 | void levelkeypad::OnLevelNextGoalButton() { |
| 575 | int num_goals = Level_goals.GetNumGoals(); |
| 576 | |
| 577 | if (m_current_goal < num_goals - 1) { |
| 578 | m_current_goal++; |
| 579 | } else { |
| 580 | m_current_goal = 0; |
| 581 | } |
| 582 | m_current_item = 0; |
| 583 | |
| 584 | UpdateDialog(); |
| 585 | } |
| 586 | |
| 587 | void levelkeypad::OnLevelNewGoalButton() { |
| 588 | m_current_goal = Level_goals.AddGoal(true); |
nothing calls this directly
no test coverage detected