mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-24 03:10:27 +01:00
83 lines
2.2 KiB
C++
83 lines
2.2 KiB
C++
/* Copyright (c) 2002-2012 Croteam Ltd.
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of version 2 of the GNU General Public License as published by
|
|
the Free Software Foundation
|
|
|
|
|
|
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.,
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
|
|
|
|
// DlgPgCollision.h : header file
|
|
//
|
|
#ifndef DLGPGCOLLISION_H
|
|
#define DLGPGCOLLISION_H 1
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgPgCollision dialog
|
|
|
|
class CDlgPgCollision : public CPropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(CDlgPgCollision)
|
|
|
|
// Construction
|
|
public:
|
|
CUpdateable m_udAllValues;
|
|
CDlgPgCollision();
|
|
~CDlgPgCollision();
|
|
BOOL OnIdle(LONG lCount);
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDlgPgCollision)
|
|
enum { IDD = IDD_INFO_COLLISION };
|
|
float m_fWidth;
|
|
float m_fHeight;
|
|
float m_fLenght;
|
|
float m_fXCenter;
|
|
float m_fYDown;
|
|
float m_fZCenter;
|
|
int m_EqualityRadio;
|
|
CString m_strCollisionBoxName;
|
|
CString m_strCollisionBoxIndex;
|
|
BOOL m_bCollideAsBox;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(CDlgPgCollision)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDlgPgCollision)
|
|
afx_msg void OnChangeEditWidth();
|
|
afx_msg void OnChangeEditHeight();
|
|
afx_msg void OnChangeEditLenght();
|
|
afx_msg void OnChangeEditXCenter();
|
|
afx_msg void OnChangeEditYDown();
|
|
afx_msg void OnChangeEditZCenter();
|
|
afx_msg void OnHEqW();
|
|
afx_msg void OnLEqW();
|
|
afx_msg void OnLEqH();
|
|
afx_msg void OnAddCollisionBox();
|
|
afx_msg void OnChangeCollisionBoxName();
|
|
afx_msg void OnNextCollisionBox();
|
|
afx_msg void OnPreviousCollisionBox();
|
|
afx_msg void OnRemoveCollisionBox();
|
|
afx_msg void OnCollideAsBox();
|
|
afx_msg void OnAllignToSize();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
#endif // DLGPGCOLLISION_H
|