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

📄 3dsimpleobserverdlg.h

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

#if !defined(AFX_3DSIMPLEOBSERVERDLG_H__E80E869E_78BA_45F0_9C07_D1BBD1916AD9__INCLUDED_)
#define AFX_3DSIMPLEOBSERVERDLG_H__E80E869E_78BA_45F0_9C07_D1BBD1916AD9__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMy3DSimpleObserverDlg dialog
class CMyBitmap;

#include "BaseFunc.h"
#include "3DRole.h"
#include <deque>
using namespace std;

typedef struct
{
	int		nActionIndex;
	DWORD	dwTimeInterval;
	char	szActionName[_MAX_NAMESIZE];
}MyActionInfo;
typedef deque<MyActionInfo*>DEQUE_MYACTION;

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

// Dialog Data
	//{{AFX_DATA(CMy3DSimpleObserverDlg)
	enum { IDD = IDD_MY3DSIMPLEOBSERVER_DIALOG };
	CComboBox	m_ctrlAction;
	CStatic	m_ctrlPic;
	BOOL	m_bHair;
	BOOL	m_bRW;
	BOOL	m_bLW;
	BOOL	m_bSingleAction;
	CString	m_strFI;
	CString	m_strLook;
	BOOL	m_bLoop;
	BOOL	m_bMantel;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMy3DSimpleObserverDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonExit();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnCheckHair();
	afx_msg void OnCheckRw();
	afx_msg void OnCheckLw();
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnSetfocusComboAction();
	afx_msg void OnSelchangeComboAction();
	afx_msg void OnCheckSingleAction();
	afx_msg void OnButtonReloadAction();
	afx_msg void OnButtonSetlook();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnRadio4();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButtonIn();
	afx_msg void OnButtonOut();
	afx_msg void OnButtonOut2();
	afx_msg void OnCheckmantel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CMyBitmap*		m_pBmp;
	C3DRole			m_obj3DRole;
	DEQUE_MYACTION	m_setActionInfo;
	int				m_nDir;
	DWORD			m_dwTimeBegin;
	int				m_nCurrentAction;
	int				m_nFrameAmount;
	int				m_nCurrentFrameIndex;
	char			m_szCurrentAction[64];
	DWORD			m_dwCurrentFI;
	C3DMotion*		m_p3DMotion;
	DWORD			m_dwFrameIndex;
	DWORD			m_dwFrameTime;
	BOOL			m_bPlay;
	BOOL			m_bSlowPlay;
	int				m_nZoom;
private:
	void Main();

	void	CreateActionInfo();
	MyActionInfo* GetActionInfo(int nAction);	
	MyActionInfo* GetActionInfoByIndex(int nIndex);	
	int		GetNextAction(int nAction);
	void	DestroyActionInfo();
	void	ProcessAction();
	void	ShowInfo();
};

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

#endif // !defined(AFX_3DSIMPLEOBSERVERDLG_H__E80E869E_78BA_45F0_9C07_D1BBD1916AD9__INCLUDED_)

⌨️ 快捷键说明

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