mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-04 02:00:04 -04:00
Internal editor: minimal compilation fixes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user