Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
354
GameTools/EffectEditor/EffectPage.h
Normal file
354
GameTools/EffectEditor/EffectPage.h
Normal file
@@ -0,0 +1,354 @@
|
||||
// EffectPage.h : header file
|
||||
//
|
||||
|
||||
#ifndef __EFFECTPAGE_H__
|
||||
#define __EFFECTPAGE_H__
|
||||
|
||||
#include "X3DEffectEditParticle.h"
|
||||
#include "X3DEffectEditCylinder.h"
|
||||
#include "X3DEffectEditBillboard.h"
|
||||
#include "X3DEffectEditPlane.h"
|
||||
#include "EulerAngles.h"
|
||||
#include "CommandManager.h"
|
||||
|
||||
#include "CusEdit.h"
|
||||
|
||||
extern CCommandManager g_CommandManager;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CParticlePage dialog
|
||||
|
||||
class CParticlePage : public CPropertyPage
|
||||
{
|
||||
DECLARE_DYNCREATE(CParticlePage)
|
||||
|
||||
// Construction
|
||||
public:
|
||||
void Redo(CCommand *RedoCommand);
|
||||
void InitValue(void);
|
||||
void Undo(CCommand *UndoCommand);
|
||||
void SetKeyInfo();
|
||||
BOOL m_bAuto;
|
||||
BOOL m_bScenario;
|
||||
BOOL m_bNone;
|
||||
BOOL m_bSquare;
|
||||
BOOL m_bCircle;
|
||||
CParticlePage();
|
||||
~CParticlePage();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CParticlePage)
|
||||
enum { IDD = IDD_PARTICLE };
|
||||
CComboBox m_cbSrc;
|
||||
CComboBox m_cbDest;
|
||||
CComboBox m_cbAddressV;
|
||||
CComboBox m_cbAddressU;
|
||||
CCusEdit m_edtWidth;
|
||||
CCusEdit m_edtSceAlpha;
|
||||
CCusEdit m_edtPower;
|
||||
CCusEdit m_edtHeight;
|
||||
CCusEdit m_edtEForceZ;
|
||||
CCusEdit m_edtEForceY;
|
||||
CCusEdit m_edtEForceX;
|
||||
CCusEdit m_edtDirZ;
|
||||
CCusEdit m_edtDirY;
|
||||
CCusEdit m_edtDirX;
|
||||
CCusEdit m_edtColR;
|
||||
CCusEdit m_edtColG;
|
||||
CCusEdit m_edtColB;
|
||||
CCusEdit m_edtCenZ;
|
||||
CCusEdit m_edtCenY;
|
||||
CCusEdit m_edtCenX;
|
||||
CCusEdit m_edtAxisZ;
|
||||
CCusEdit m_edtAxisY;
|
||||
CCusEdit m_edtAxisX;
|
||||
CCusEdit m_edtAngle;
|
||||
CCusEdit m_edtAmount;
|
||||
CCusEdit m_edtAlpha;
|
||||
CString m_strTexture;
|
||||
DWORD m_dwStartFrame;
|
||||
DWORD m_dwEndFrame;
|
||||
float m_fRotation;
|
||||
float m_fTexSpeed;
|
||||
float m_fLifetime;
|
||||
float m_fLifetimeSeed;
|
||||
float m_fPowerSeed;
|
||||
float m_fRadius;
|
||||
float m_fVolX;
|
||||
float m_fVolY;
|
||||
float m_fVolZ;
|
||||
float m_fInnerRadius;
|
||||
BOOL m_bContinuous;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CParticlePage)
|
||||
public:
|
||||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CParticlePage)
|
||||
afx_msg void OnCreate();
|
||||
afx_msg void OnDelete();
|
||||
afx_msg void OnBrowse();
|
||||
afx_msg void OnNovolume();
|
||||
afx_msg void OnCirclevolume();
|
||||
afx_msg void OnSquarevolume();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnAuto();
|
||||
afx_msg void OnContinuous();
|
||||
afx_msg void OnSelchangeCbsrc();
|
||||
afx_msg void OnSelchangeCbdest();
|
||||
afx_msg void OnSelchangeCbaddressu();
|
||||
afx_msg void OnSelchangeCbaddressv();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CBillboardPage dialog
|
||||
|
||||
class CBillboardPage : public CPropertyPage
|
||||
{
|
||||
DECLARE_DYNCREATE(CBillboardPage)
|
||||
|
||||
// Construction
|
||||
public:
|
||||
void Redo(CCommand *RedoCommand);
|
||||
void Undo(CCommand *UndoCommand);
|
||||
void InitValue(void);
|
||||
void SetKeyInfo();
|
||||
BOOL m_bTexAni;
|
||||
BOOL m_bTexStatic;
|
||||
CBillboardPage();
|
||||
~CBillboardPage();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CBillboardPage)
|
||||
enum { IDD = IDD_BILLBOARD };
|
||||
CComboBox m_cbSrc;
|
||||
CComboBox m_cbDest;
|
||||
CComboBox m_cbAddressV;
|
||||
CComboBox m_cbAddressU;
|
||||
CCusEdit m_edtTexFrame;
|
||||
CCusEdit m_edtColR;
|
||||
CCusEdit m_edtColG;
|
||||
CCusEdit m_edtColB;
|
||||
CCusEdit m_edtAlpha;
|
||||
CCusEdit m_edtCenZ;
|
||||
CCusEdit m_edtCenY;
|
||||
CCusEdit m_edtCenX;
|
||||
CCusEdit m_edtAxisZ;
|
||||
CCusEdit m_edtAxisY;
|
||||
CCusEdit m_edtAxisX;
|
||||
CCusEdit m_edtTileV;
|
||||
CCusEdit m_edtTileU;
|
||||
CCusEdit m_edtStartV;
|
||||
CCusEdit m_edtStartU;
|
||||
CCusEdit m_edtWidth;
|
||||
CCusEdit m_edtHeight;
|
||||
CString m_strTexture;
|
||||
DWORD m_dwEndFrame;
|
||||
DWORD m_dwStartFrame;
|
||||
BOOL m_bAxisAligned;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CBillboardPage)
|
||||
public:
|
||||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CBillboardPage)
|
||||
afx_msg void OnCreate();
|
||||
afx_msg void OnBrowse();
|
||||
afx_msg void OnDelete();
|
||||
afx_msg void OnTexstatic();
|
||||
afx_msg void OnTexani();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnAxisaligned();
|
||||
afx_msg void OnSelchangeCbsrc();
|
||||
afx_msg void OnSelchangeCbdest();
|
||||
afx_msg void OnSelchangeCbaddressu();
|
||||
afx_msg void OnSelchangeCbaddressv();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CCylinderPage dialog
|
||||
|
||||
class CCylinderPage : public CPropertyPage
|
||||
{
|
||||
DECLARE_DYNCREATE(CCylinderPage)
|
||||
|
||||
// Construction
|
||||
public:
|
||||
void Redo(CCommand *RedoCommand);
|
||||
void InitValue(void);
|
||||
void Undo(CCommand *UndoCommand);
|
||||
BOOL m_bTexAni;
|
||||
BOOL m_bTexStatic;
|
||||
void SetKeyInfo(void);
|
||||
CCylinderPage();
|
||||
~CCylinderPage();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CCylinderPage)
|
||||
enum { IDD = IDD_CYLINDER };
|
||||
CComboBox m_cbAddressV;
|
||||
CComboBox m_cbSrc;
|
||||
CComboBox m_cbDest;
|
||||
CComboBox m_cbAddressU;
|
||||
CCusEdit m_edtUpperRadius;
|
||||
CCusEdit m_edtUpperHeight;
|
||||
CCusEdit m_edtTileV;
|
||||
CCusEdit m_edtTileU;
|
||||
CCusEdit m_edtTexFrame;
|
||||
CCusEdit m_edtStartV;
|
||||
CCusEdit m_edtStartU;
|
||||
CCusEdit m_edtLowerRadius;
|
||||
CCusEdit m_edtLowerHeight;
|
||||
CCusEdit m_edtColR;
|
||||
CCusEdit m_edtColG;
|
||||
CCusEdit m_edtColB;
|
||||
CCusEdit m_edtCenZ;
|
||||
CCusEdit m_edtCenY;
|
||||
CCusEdit m_edtCenX;
|
||||
CCusEdit m_edtAxisZ;
|
||||
CCusEdit m_edtAxisY;
|
||||
CCusEdit m_edtAxisX;
|
||||
CCusEdit m_edtAlpha;
|
||||
DWORD m_dwEndFrame;
|
||||
DWORD m_dwSidePlane;
|
||||
DWORD m_dwStartFrame;
|
||||
CString m_strTexture;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CCylinderPage)
|
||||
public:
|
||||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CCylinderPage)
|
||||
afx_msg void OnCreate();
|
||||
afx_msg void OnDelete();
|
||||
afx_msg void OnBrowse();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnTexstatic();
|
||||
afx_msg void OnTexani();
|
||||
afx_msg void OnSelchangeCbsrc();
|
||||
afx_msg void OnSelchangeCbdest();
|
||||
afx_msg void OnSelchangeCbaddressu();
|
||||
afx_msg void OnSelchangeCbaddressv();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CPlanePage dialog
|
||||
|
||||
class CPlanePage : public CPropertyPage
|
||||
{
|
||||
DECLARE_DYNCREATE(CPlanePage)
|
||||
|
||||
// Construction
|
||||
public:
|
||||
void Redo(CCommand *RedoCommand);
|
||||
void Undo(CCommand *UndoCommand);
|
||||
void InitValue(void);
|
||||
BOOL m_bTexAni;
|
||||
BOOL m_bTexStatic;
|
||||
void SetKeyInfo(void);
|
||||
CPlanePage();
|
||||
~CPlanePage();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CPlanePage)
|
||||
enum { IDD = IDD_PLANE };
|
||||
CComboBox m_cbSrc;
|
||||
CComboBox m_cbDest;
|
||||
CComboBox m_cbAddressV;
|
||||
CComboBox m_cbAddressU;
|
||||
CCusEdit m_edtWidth;
|
||||
CCusEdit m_edtTileV;
|
||||
CCusEdit m_edtTileU;
|
||||
CCusEdit m_edtTexFrame;
|
||||
CCusEdit m_edtStartV;
|
||||
CCusEdit m_edtStartU;
|
||||
CCusEdit m_edtHeight;
|
||||
CCusEdit m_edtColR;
|
||||
CCusEdit m_edtColG;
|
||||
CCusEdit m_edtColB;
|
||||
CCusEdit m_edtCenZ;
|
||||
CCusEdit m_edtCenY;
|
||||
CCusEdit m_edtCenX;
|
||||
CCusEdit m_edtAxisZ;
|
||||
CCusEdit m_edtAxisY;
|
||||
CCusEdit m_edtAxisX;
|
||||
CCusEdit m_edtAlpha;
|
||||
CString m_strTexture;
|
||||
DWORD m_dwEndFrame;
|
||||
DWORD m_dwStartFrame;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CPlanePage)
|
||||
public:
|
||||
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CPlanePage)
|
||||
afx_msg void OnCreate();
|
||||
afx_msg void OnBrowse();
|
||||
afx_msg void OnDelete();
|
||||
afx_msg void OnTexstatic();
|
||||
afx_msg void OnTexani();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnSelchangeCbsrc();
|
||||
afx_msg void OnSelchangeCbdest();
|
||||
afx_msg void OnSelchangeCbaddressu();
|
||||
afx_msg void OnSelchangeCbaddressv();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // __EFFECTPAGE_H__
|
||||
Reference in New Issue
Block a user