home *** CD-ROM | disk | FTP | other *** search
/ Total Destruction / Total_Destruction.iso / addons / zipz / QDS101.ZIP / QDDev / QDTest / QDTestDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-03  |  2.1 KB  |  83 lines

  1. // QDTestDlg.h : header file
  2. //
  3.  
  4. #if !defined(AFX_QDTESTDLG_H__BDB0FF9A_99A2_11D1_A8C1_000000000000__INCLUDED_)
  5. #define AFX_QDTESTDLG_H__BDB0FF9A_99A2_11D1_A8C1_000000000000__INCLUDED_
  6.  
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10.  
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CQDTestDlg dialog
  13.  
  14. // forward reference this baby
  15. #include "QDServer.h"
  16.  
  17. class CQDTestDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CQDTestDlg(CWnd* pParent = NULL);    // standard constructor
  22.     ~CQDTestDlg();
  23. // Dialog Data
  24.     //{{AFX_DATA(CQDTestDlg)
  25.     enum { IDD = IDD_QDTEST_DIALOG };
  26.     CSliderCtrl    m_wndSlider;
  27.     CBitmapButton    m_wndFlyUp;
  28.     CBitmapButton    m_wndFlyDown;
  29.     CBitmapButton    m_wndWalk;
  30.     CBitmapButton    m_wndUp;
  31.     CBitmapButton    m_wndRight;
  32.     CBitmapButton    m_wndLeft;
  33.     CBitmapButton    m_wndDown;
  34.     CString    m_strPakFile;
  35.     CString    m_strMapName;
  36.     //}}AFX_DATA
  37.  
  38.     // ClassWizard generated virtual function overrides
  39.     //{{AFX_VIRTUAL(CQDTestDlg)
  40.     protected:
  41.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45. protected:
  46.     HICON m_hIcon;
  47.  
  48.     // Generated message map functions
  49.     //{{AFX_MSG(CQDTestDlg)
  50.     virtual BOOL OnInitDialog();
  51.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  52.     afx_msg void OnPaint();
  53.     afx_msg HCURSOR OnQueryDragIcon();
  54.     afx_msg void OnBrowse();
  55.     afx_msg void OnView();
  56.     afx_msg void OnTimer(UINT nIDEvent);
  57.     afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  58.     afx_msg void OnDown();
  59.     afx_msg void OnLeft();
  60.     afx_msg void OnRight();
  61.     afx_msg void OnUp();
  62.     afx_msg void OnWalk();
  63.     afx_msg void OnFlyup();
  64.     afx_msg void OnFlydown();
  65.     //}}AFX_MSG
  66.     DECLARE_MESSAGE_MAP()
  67. protected:
  68.     void            UpdateFrame();
  69. private:
  70.     int                m_nSliderPos;
  71.     float            m_fFriction;
  72.     float            m_fStep;
  73.     DWORD            m_dwPosState;
  74.     LPQDBSPVIEW        m_pQDBspView;
  75.     float            m_fViewAngles[3];
  76.     float            m_fViewPos[3];
  77. };
  78.  
  79. //{{AFX_INSERT_LOCATION}}
  80. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  81.  
  82. #endif // !defined(AFX_QDTESTDLG_H__BDB0FF9A_99A2_11D1_A8C1_000000000000__INCLUDED_)
  83.