Internal editor: minimal compilation fixes

This commit is contained in:
Louis Gombert
2024-05-23 08:06:24 +02:00
parent 0fa8705291
commit 87f19acc2f
45 changed files with 370 additions and 235 deletions

View File

@@ -89,6 +89,7 @@ END_MESSAGE_MAP()
void CD3XStringEditor::OnLoadscript()
{
#if 0
// open either a level or a .d3x file
char openpath[_MAX_PATH+1];
@@ -125,6 +126,7 @@ void CD3XStringEditor::OnLoadscript()
m_pathname = openpath;
m_modified = false;
}
#endif
}
void CD3XStringEditor::OnSelchangeStringlist()
@@ -165,7 +167,7 @@ void CD3XStringEditor::OnKillfocusStringedit()
void CD3XStringEditor::OnSave()
{
ASSERT(m_modified);
#if 0
// save program by loading it in first and reconstructin a new program obhect
CFILE *fp = cfopen(m_pathname, "rb");
if (fp) {
@@ -221,7 +223,7 @@ void CD3XStringEditor::OnSave()
m_modified = false;
GetDlgItem(IDC_SAVE)->EnableWindow(FALSE);
#endif
}
void CD3XStringEditor::OnOK()