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

Method OnInitDialog

editor/ScriptSyncDialog.cpp:258–276  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

256
257/////////////////////////////////////////////////////////////////
258BOOL CScriptSyncDialog::OnInitDialog() {
259 CDialog::OnInitDialog();
260 early_exit = false;
261 first_paint = true;
262 m_InStuff = false;
263 m_Done = false;
264 m_Index = 0;
265 m_NumFiles = 0;
266 m_HasCompiler = -1;
267 m_Files = NULL;
268 m_FillingIn = true;
269 m_ErrorCount = 0;
270 ddio_GetWorkingDir(old_dir, _MAX_PATH);
271 ddio_SetWorkingDir(LocalScriptDir);
272 m_List.Initialize();
273 BuildList();
274
275 return TRUE;
276}
277
278void CScriptSyncDialog::defer(void) {
279 MSG msg;

Callers

nothing calls this directly

Calls 3

ddio_GetWorkingDirFunction · 0.50
ddio_SetWorkingDirFunction · 0.50
InitializeMethod · 0.45

Tested by

no test coverage detected