| 1706 | AssignScriptsForLevel(); // initialize all scripts for level. |
| 1707 | } |
| 1708 | void FreeLevelScript() { |
| 1709 | Osiris_UnloadLevelModule(); |
| 1710 | if (Current_level) { |
| 1711 | // free level's script and thread |
| 1712 | //@$-D3XExecScript(Current_level->d3xthread, Current_mission.cur_level, REF_LEVELTYPE, EVT_LEVELEND, 0, 0); |
| 1713 | tOSIRISEventInfo ei; |
| 1714 | Osiris_CallLevelEvent(EVT_LEVELEND, &ei); |
| 1715 | } |
| 1716 | } |
| 1717 | // return information about a mission |
| 1718 | bool GetMissionInfo(const char *msnfile, tMissionInfo *msn) { |
| 1719 | CFILE *fp; |
no test coverage detected