| 1453 | } |
| 1454 | |
| 1455 | void InitCScripts() { |
| 1456 | char path[_MAX_PATH]; |
| 1457 | int dirlen = _MAX_PATH; |
| 1458 | |
| 1459 | // Create a default segment. This should probably be in the editor initialization code |
| 1460 | // This call must come after InitObjects() |
| 1461 | CreateNewMine(); |
| 1462 | |
| 1463 | // Setup include directories for OSIRIS |
| 1464 | ddio_MakePath(path, Base_directory, "data", "levels", NULL); |
| 1465 | } |
| 1466 | |
| 1467 | // Copied from winmain.cpp |
| 1468 | void WinMainInitEditor(unsigned hwnd, unsigned hinst) { |
no test coverage detected