Sets the current level for subsequent level loads, movies, or briefings
| 1422 | |
| 1423 | // Sets the current level for subsequent level loads, movies, or briefings |
| 1424 | void SetCurrentLevel(int level) { |
| 1425 | ASSERT(level > 0 && level <= Current_mission.num_levels); |
| 1426 | |
| 1427 | // Set this level as the mission's current level |
| 1428 | Current_mission.cur_level = level; |
| 1429 | |
| 1430 | // Set pointer to this level |
| 1431 | Current_level = &Current_mission.levels[level - 1]; |
| 1432 | } |
| 1433 | |
| 1434 | void StartLevelSounds(); |
| 1435 |
no outgoing calls
no test coverage detected