⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 terraineffecteditordlg.h

📁 网络游戏魔域源代码 测试可以完整变异
💻 H
字号:
// TerrainEffectEditorDlg.h : header file
//

#if !defined(AFX_TERRAINEFFECTEDITORDLG_H__E6FA4DFF_202F_418A_B8C5_9BD8D024E414__INCLUDED_)
#define AFX_TERRAINEFFECTEDITORDLG_H__E6FA4DFF_202F_418A_B8C5_9BD8D024E414__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTerrainEffectEditorDlg dialog
#include "3DMapEffect.h"
#include "TerrainEffectManager.h"
#include "DlgHero.h"

class CTerrainEffectEditorDlg : public CDialog
{
// Construction
public:
	CTerrainEffectEditorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTerrainEffectEditorDlg)
	enum { IDD = IDD_TERRAINEFFECTEDITOR_DIALOG };
	CListBox	m_ctlVMesh;
	CSliderCtrl	m_ctlZoom;
	CListBox	m_ctlPart;
	CComboBox	m_ctlD;
	CComboBox	m_ctlS;
	CListBox	m_ctrlListEdit;
	CListBox	m_ctrlList;
	CStatic	m_ctrlPic;
	BOOL	m_bCell;
	CString	m_strDelay;
	CString	m_strLife;
	CString	m_strOffsetX;
	CString	m_strOffsetY;
	int		m_nShowType;
	CString	m_strZoom;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTerrainEffectEditorDlg)
	public:
	virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTerrainEffectEditorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnClose();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnDestroy();
	afx_msg void OnCheckCell();
	afx_msg void OnButtonTocentel();
	afx_msg void OnButtonFlash();
	afx_msg void OnSelchangeList();
	afx_msg void OnButtonAdd();
	afx_msg void OnButton();
	afx_msg void OnButtonDel();
	afx_msg void OnBbPlayer();
	afx_msg void OnButtonPlay();
	afx_msg void OnButtonStop();
	afx_msg void OnButtonSet();
	afx_msg void OnSelchangeListEdit();
	afx_msg void OnButtonflashEdit();
	afx_msg void OnButtonSave();
	afx_msg void OnButtonLoad();
	afx_msg void OnButtonNew();
	afx_msg void OnDblclkList();
	afx_msg void OnEditchangeComboD();
	afx_msg void OnEditchangeComboS();
	afx_msg void OnSelchangeComboD();
	afx_msg void OnSelchangeComboS();
	afx_msg void OnButtonM1();
	afx_msg void OnButtonM2();
	afx_msg void OnButtonM3();
	afx_msg void OnButtonM4();
	afx_msg void OnButtonUpdatetofile();
	afx_msg void OnButtonWeapon();
	afx_msg void OnSelchangeListPart();
	afx_msg void OnRadioG();
	afx_msg void OnRadioH();
	afx_msg void OnRadioW();
	afx_msg void OnButtonHero();
	afx_msg void OnButtonSelect();
	afx_msg void OnButtonAll();
	afx_msg void OnButtonLoaddmap();
	afx_msg void OnOutofmemorySliderZoom(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnReleasedcaptureSliderZoom(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonCloneplyaer();
	afx_msg void OnButtonEditrecover();
	afx_msg void OnButtonEditcpoy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int m_nViewOffsetX;
	int m_nViewOffsetY;
public:
	void MyInit();
	void Loop();
	void ProcessViewPos();
	void FlashList();
	void FlashEditList();
	void Preview();
	void DestroyUnit();
	void ShowUnit(int nIndex);
	void OnSave();
	void OnLoad();
	void Update();
public:
	C3DMapEffect* m_p3DMapEffect;
	VECTOR_TERRAINEFFECTUNIT m_setUnit;
	CTerainEffectUnit* m_pobjUnit;
	BOOL	m_bPreview;
	BOOL	m_bPlayer;
	int		m_nMouseOperate;
	int		m_nMouseUnit;
	CMyPos  m_posCenterScreen;
	CDlgHero m_dlgHero;
};

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

#endif // !defined(AFX_TERRAINEFFECTEDITORDLG_H__E6FA4DFF_202F_418A_B8C5_9BD8D024E414__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -