Loads a level and starts the game
| 1391 | #ifdef _DEBUG |
| 1392 | // Loads a level and starts the game |
| 1393 | bool MenuLoadLevel(void) { |
| 1394 | char buffer[_MAX_PATH]; |
| 1395 | buffer[0] = '\0'; |
| 1396 | if (DoPathFileDialog(false, buffer, "Load Level", "*.d3l", PFDF_FILEMUSTEXIST)) { |
| 1397 | SimpleStartLevel(buffer); |
| 1398 | SetFunctionMode(GAME_MODE); |
| 1399 | return true; |
| 1400 | } |
| 1401 | return false; |
| 1402 | } |
| 1403 | #endif |
no test coverage detected