Files
Client/GameTools/WORLDCREATOR/DlgLightmapInfo.h
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

116 lines
2.8 KiB
C++

#if !defined(AFX_DLGLIGHTMAPINFO_H__9B40ACD3_BC8D_4A1D_A7EA_A6796AAAE088__INCLUDED_)
#define AFX_DLGLIGHTMAPINFO_H__9B40ACD3_BC8D_4A1D_A7EA_A6796AAAE088__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgLightmapInfo.h : header file
//
#include "ColourPicker.h"
#define MAXLIST 10
/////////////////////////////////////////////////////////////////////////////
// CDlgLightmapInfo dialog
class CLightmapInfoState
{
public:
COLORREF m_cSkyLightColor;
COLORREF m_cDirectionColor;
COLORREF m_cAmbientColor;
BOOL m_bDirectionLight;
BOOL m_bGlobalShadow;
BOOL m_bPointLight;
BOOL m_bSkyLight;
float m_fDirectionLightRandValue;
int m_iDirectionSampleCount;
int m_iSkySampleCount;
float m_fExposeValue;
float m_fGlobalRandValue;
int m_iGlobalSampleCount;
float m_fPointRandValue;
int m_iPointSampleCount;
CLightmapInfoState()
{
m_bDirectionLight = TRUE;
m_bGlobalShadow = FALSE;
m_bPointLight = TRUE;
m_bSkyLight = TRUE;
m_fDirectionLightRandValue = 0.1f;
m_iDirectionSampleCount = 10;
m_iSkySampleCount = 50;
m_fExposeValue = 0.0f;
m_fGlobalRandValue = 4.0f;
m_iGlobalSampleCount = 30;
m_fPointRandValue = 4.0f;
m_iPointSampleCount = 4;
m_cSkyLightColor = 0xffFBD1BD;
m_cDirectionColor = 0xffffffff;
m_cAmbientColor = 0xff505050;
}
};
class CDlgLightmapInfo : public CDialog
{
// Construction
public:
bool m_bStart;
CDlgLightmapInfo(CWnd* pParent = NULL); // standard constructor
void SetState();
void BackupState(int iState);
// Dialog Data
//{{AFX_DATA(CDlgLightmapInfo)
enum { IDD = IDD_DIALOG_LIGHTMAP };
CListBox m_CtlListBox;
CColourPicker m_SkyLightColor;
CColourPicker m_DirectionColor;
CColourPicker m_AmbientColor;
COLORREF m_cSkyLightColor;
COLORREF m_cDirectionColor;
COLORREF m_cAmbientColor;
BOOL m_bDirectionLight;
BOOL m_bGlobalShadow;
BOOL m_bPointLight;
BOOL m_bSkyLight;
float m_fDirectionLightRandValue;
int m_iDirectionSampleCount;
int m_iSkySampleCount;
float m_fExposeValue;
float m_fGlobalRandValue;
int m_iGlobalSampleCount;
float m_fPointRandValue;
int m_iPointSampleCount;
//}}AFX_DATA
int m_iSelectedState;
CLightmapInfoState m_State[MAXLIST];
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgLightmapInfo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgLightmapInfo)
virtual void OnOK();
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeList1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGLIGHTMAPINFO_H__9B40ACD3_BC8D_4A1D_A7EA_A6796AAAE088__INCLUDED_)