diff --git a/tools/editworld/src/EditWorld.dsp b/tools/editworld/src/EditWorld.dsp index b548a492c..6af4d3033 100644 --- a/tools/editworld/src/EditWorld.dsp +++ b/tools/editworld/src/EditWorld.dsp @@ -342,10 +342,6 @@ SOURCE=.\heightmap.h # End Source File # Begin Source File -SOURCE=.\infodialog.h -# End Source File -# Begin Source File - SOURCE=.\initiallimitsdlg.hpp # End Source File # Begin Source File diff --git a/tools/editworld/src/editworld.rc b/tools/editworld/src/editworld.rc index e25e7bbbb..f2d55e0d3 100644 --- a/tools/editworld/src/editworld.rc +++ b/tools/editworld/src/editworld.rc @@ -1081,18 +1081,6 @@ BEGIN WS_VSCROLL | WS_HSCROLL END -IDD_DEBUGINFO DIALOGEX 0, 0, 466, 295 -STYLE WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME -EXSTYLE WS_EX_TOOLWINDOW -CAPTION "Output" -FONT 8, "MS Sans Serif", 0, 0, 0x1 -BEGIN - DEFPUSHBUTTON "OK",IDOK,261,19,50,14 - PUSHBUTTON "Cancel",IDCANCEL,330,19,50,14 - EDITTEXT IDC_DEBUGINFO,16,13,219,265,ES_MULTILINE | - ES_AUTOVSCROLL | ES_READONLY -END - IDD_PASTEPREFS DIALOG DISCARDABLE 0, 0, 186, 95 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Paste Preferences" diff --git a/tools/editworld/src/infodialog.cpp b/tools/editworld/src/infodialog.cpp deleted file mode 100644 index d9cbec7d8..000000000 --- a/tools/editworld/src/infodialog.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/* - This file is part of Warzone 2100. - Copyright (C) 1999-2004 Eidos Interactive - Copyright (C) 2005-2007 Warzone Resurrection Project - - Warzone 2100 is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - Warzone 2100 is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Warzone 2100; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - $Revision$ - $Id$ - $HeadURL$ -*/ -// InfoDialog.cpp : implementation file -// - -#include "stdafx.h" -#include "btedit.h" -#include "infodialog.h" - -///////////////////////////////////////////////////////////////////////////// -// CInfoDialog dialog - - -CInfoDialog::CInfoDialog(CWnd* pParent /*=NULL*/) - : CDialog(CInfoDialog::IDD, pParent) -{ - //{{AFX_DATA_INIT(CInfoDialog) - m_Info = _T(""); - //}}AFX_DATA_INIT - m_pView = NULL; -} - - -CInfoDialog::CInfoDialog(CView *pView) -{ - m_pView = pView; -} - - -BOOL CInfoDialog::Create(void) -{ - return CDialog::Create(CInfoDialog::IDD); //_DEBUGINFO); -} - - -void CInfoDialog::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CInfoDialog) - DDX_Text(pDX, IDC_DEBUGINFO, m_Info); - DDV_MaxChars(pDX, m_Info, 65535); - //}}AFX_DATA_MAP -} - - -BEGIN_MESSAGE_MAP(CInfoDialog, CDialog) - //{{AFX_MSG_MAP(CInfoDialog) - //}}AFX_MSG_MAP -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CInfoDialog message handlers - -void CInfoDialog::OnCancel() -{ - if(m_pView != NULL) { - m_pView->PostMessage(WM_GOODBYE, IDCANCEL); - } -} - -void CInfoDialog::OnOK() -{ - UpdateData(TRUE); - if(m_pView != NULL) { - m_pView->PostMessage(WM_GOODBYE, IDOK); - } -} diff --git a/tools/editworld/src/infodialog.h b/tools/editworld/src/infodialog.h deleted file mode 100644 index 0e8df2a51..000000000 --- a/tools/editworld/src/infodialog.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - This file is part of Warzone 2100. - Copyright (C) 1999-2004 Eidos Interactive - Copyright (C) 2005-2007 Warzone Resurrection Project - - Warzone 2100 is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - Warzone 2100 is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Warzone 2100; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - $Revision$ - $Id$ - $HeadURL$ -*/ -// InfoDialog.h : header file -// - -///////////////////////////////////////////////////////////////////////////// -// CInfoDialog dialog - -#define WM_GOODBYE (WM_USER+5) - -class CInfoDialog : public CDialog -{ -private: - CView *m_pView; - -// Construction -public: - CInfoDialog(CWnd* pParent = NULL); // standard constructor - CInfoDialog(CView *pView); - BOOL Create(void); - -// Dialog Data - //{{AFX_DATA(CInfoDialog) - enum { IDD = IDD_DEBUGINFO }; - CString m_Info; - //}}AFX_DATA - - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CInfoDialog) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - - // Generated message map functions - //{{AFX_MSG(CInfoDialog) - virtual void OnCancel(); - virtual void OnOK(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -};