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

Method OnInitDialog

editor/ScriptMassCompile.cpp:298–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298BOOL CScriptMassCompile::OnInitDialog() {
299 CDialog::OnInitDialog();
300
301 bool bval;
302 if (Database->read("EditorScriptAutoCheckin", &bval))
303 m_AutoCheckIn = bval;
304 else
305 m_AutoCheckIn = true;
306 UpdateData(false);
307
308 MassScriptEditContent = "";
309 MassScriptEdit = (CEdit *)GetDlgItem(IDC_OUTPUT);
310 writeline("System Initialized.");
311
312 if (!Network_up) {
313 writeline("WARNING: You did not say yes to the data update, therefore, your work will not be saved for the scripts "
314 "that you don't currently have checked out.");
315 }
316 writeline("----------------------------------------------------------------------------------------------------------"
317 "--------------------------------------");
318
319 BuildList();
320
321 return TRUE;
322}
323
324void CScriptMassCompile::SetStepText(int step, char *format, ...) {
325 if (step < 1 || step > 4)

Callers

nothing calls this directly

Calls 2

writelineFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected