MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / InitCScripts

Function InitCScripts

editor/MainFrm.cpp:1455–1465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1453}
1454
1455void 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
1468void WinMainInitEditor(unsigned hwnd, unsigned hinst) {

Callers 1

OnCreateClientMethod · 0.85

Calls 2

CreateNewMineFunction · 0.85
ddio_MakePathFunction · 0.50

Tested by

no test coverage detected