#if !defined(AFX_CHANGERESDLG_H__EECA54C0_B3B7_48AB_8CF3_6DB754415C3A__INCLUDED_)
#define AFX_CHANGERESDLG_H__EECA54C0_B3B7_48AB_8CF3_6DB754415C3A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChangeResDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChangeResDlg dialog
#include "ObjCreateInfo.h"
#define MAXITEMS 1024

class CChangeResDlg : public CDialog
{
// Construction
public:
	CChangeResDlg(CWnd* pParent = NULL);   // standard constructor
	void GetGameData();
	CString m_NewResource;
	ObjCreateInfo m_CreateInfo;
	float weight[MAXITEMS];
// Dialog Data
	//{{AFX_DATA(CChangeResDlg)
	enum { IDD = IDD_CHANGERESOURCE };
	CListBox	m_RList;
	CTabCtrl	m_TTab;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChangeResDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int BuildList,VehList,MiscList,MechList,LightList,CultList;


	// Generated message map functions
	//{{AFX_MSG(CChangeResDlg)
	afx_msg void OnSelchangeTypetab(NMHDR* pNMHDR, LRESULT* pResult);
	virtual void OnCancel();
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHANGERESDLG_H__EECA54C0_B3B7_48AB_8CF3_6DB754415C3A__INCLUDED_)
