Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
63 lines
1.6 KiB
C++
63 lines
1.6 KiB
C++
#if !defined(AFX_LIGHTPANEL_H__15E6A599_F1C8_403F_8FA6_7F07E11E3CE6__INCLUDED_)
|
|
#define AFX_LIGHTPANEL_H__15E6A599_F1C8_403F_8FA6_7F07E11E3CE6__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// LightPanel.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLightPanel dialog
|
|
#include"PanelDlg.h"
|
|
#include "ColorButton.h"
|
|
|
|
class EdGUIObject;
|
|
class GUILight;
|
|
class UndoCommand;
|
|
class CColorDlgProDlg;
|
|
|
|
class CLightPanel : public CPanelDlg
|
|
{
|
|
// Construction
|
|
public:
|
|
CLightPanel(GUILight *gobj,UndoCommand **cmd,CWnd* pParent = NULL);
|
|
void UpdateGame();
|
|
GUILight *MyObj;
|
|
UndoCommand **CmdLst;
|
|
CColorDlgProDlg *ColDlg;
|
|
// Dialog Data
|
|
//{{AFX_DATA(CLightPanel)
|
|
enum { IDD = IDD_LIGHTPANEL };
|
|
CColorButton m_ColBut;
|
|
float m_Intensity;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CLightPanel)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
Scalar OldIntensity;
|
|
RGBColor OldColor;
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CLightPanel)
|
|
virtual void OnCancel();
|
|
virtual void OnOK();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnLightcolor();
|
|
afx_msg void OnChangeIntensity();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_LIGHTPANEL_H__15E6A599_F1C8_403F_8FA6_7F07E11E3CE6__INCLUDED_)
|