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

Method OnOosscripts

editor/ScriptMassCompile.cpp:701–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700bool IsScriptOutofSync(char *name);
701void CScriptMassCompile::OnOosscripts() {
702 CCheckListBox *list = (CCheckListBox *)GetDlgItem(IDC_LIST);
703 if (!list)
704 return;
705
706 char filename[_MAX_PATH];
707 int count = list->GetCount();
708 for (int i = 0; i < count; i++) {
709 list->GetText(i, filename);
710 strcat(filename, ".cpp");
711
712 if (IsScriptOutofSync(filename)) {
713 list->SetCheck(i, 1);
714 list->SetSel(i, TRUE);
715 } else {
716 list->SetCheck(i, 0);
717 list->SetSel(i, FALSE);
718 }
719 }
720}
721
722void CScriptMassCompile::OnNocheckout() {
723 // TODO: Add your control notification handler code here

Callers

nothing calls this directly

Calls 3

IsScriptOutofSyncFunction · 0.85
SetCheckMethod · 0.80
GetTextMethod · 0.45

Tested by

no test coverage detected