RoomEd.h
arcaed/RoomEd.h · 4.4 KB
From the archive arcaed_source.zip
Download the archive « Back to the archive contents
/*
* Arcanum Editor - ROM area editor
* Copyright (C) 1999 Lucas Wall <kthulhu@usa.net>
*
* This program 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
* any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* If you make changes to the source and want to make the public you can
* mail the diferences to me <kthulhu@usa.net> and I'll add them to the
* main distribution. Of course your name will be added to the program with
* information about the changes you made.
*
*
* Packed on Thu Aug 19 03:02:08 1999
*
*/
/*
* File: RoomEd.h
*
* Changes:
*
* 19/08/99 Lucas Wall <kthulhu@usa.net>
* First source release. Its quite messy and has no
* comments. I never planed to release the source code... :-)
*
*/
#if !defined(AFX_ROOMED_H__CE3B7A47_FD6E_11D2_803D_00002168229C__INCLUDED_)
#define AFX_ROOMED_H__CE3B7A47_FD6E_11D2_803D_00002168229C__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// RoomEd.h : header file
//
#include "ArcaedDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CRoomEd dialog
class CRoomEd : public CDialog
{
// Construction
public:
int ResetEd( CResetData *reset );
int m_seldir;
int m_maxvnum, m_minvnum;
CArcaedDoc *m_pDoc;
int m_index;
int m_cursector;
int m_roomflags;
CExitData m_exits[6];
CArray< CExtraDescr*, CExtraDescr* > m_extradescr;
CArray< CResetData*, CResetData* > m_resets;
CImageList m_imagelist;
HACCEL m_accel;
CRoomEd(CWnd* pParent = NULL); // standard constructor
virtual void OnOK();
// Dialog Data
//{{AFX_DATA(CRoomEd)
enum { IDD = IDD_ROOMED };
CButton m_ResetsDown;
CButton m_ResetsUp;
CListCtrl m_Resets;
CListCtrl m_Flags;
CListCtrl m_ExitFlags;
CComboBox m_SectorType;
CComboBox m_ExtraEdList;
CSpinButtonCtrl m_ExitVnumSpin;
CSpinButtonCtrl m_ExitLlaveSpin;
CSpinButtonCtrl m_VnumSpin;
CSpinButtonCtrl m_ManaGainSpin;
CSpinButtonCtrl m_HitGainSpin;
CString m_Clan;
CString m_Description;
CString m_Name;
CString m_Owner;
int m_Vnum;
int m_HitGain;
int m_ManaGain;
CString m_ExitDescription;
CString m_ExitKeyword;
int m_ExitVnum;
BOOL m_ExitAbajo;
BOOL m_ExitArriba;
BOOL m_ExitEste;
BOOL m_ExitNorte;
BOOL m_ExitOeste;
BOOL m_ExitSur;
int m_ExitLlave;
CString m_ExtraEd;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRoomEd)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CRoomEd)
virtual BOOL OnInitDialog();
afx_msg void OnRoomedExit();
afx_msg void OnSelchangeRoomedExtraedList();
afx_msg void OnRoomedExtraedAdd();
afx_msg void OnChangeRoomedExtraed();
afx_msg void OnSelchangeRoomedSectortype();
afx_msg void OnClickRoomedFlags(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickRoomedExitFlags(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRoomedExtraedBorrar();
afx_msg void OnChangeRoomedVnum();
afx_msg void OnRclickRoomedResets(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRoomedResetUp();
afx_msg void OnRoomedResetDown();
afx_msg void OnClickRoomedResets(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkRoomedResets(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnEditCopiarcuarto();
afx_msg void OnEditPegarcuarto();
//}}AFX_MSG
afx_msg void OnResetsPopAgregar();
afx_msg void OnResetsPopBorrar();
afx_msg void OnResetsPopEditar();
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ROOMED_H__CE3B7A47_FD6E_11D2_803D_00002168229C__INCLUDED_)