Files
Client/GameTools/WORLDCREATOR/PageLightContainer.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

91 lines
2.4 KiB
C++

#if !defined(AFX_PAGELIGHTCONTAINER_H__4E62819A_D655_44D8_93D5_9CF79E4E7583__INCLUDED_)
#define AFX_PAGELIGHTCONTAINER_H__4E62819A_D655_44D8_93D5_9CF79E4E7583__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PageLightContainer.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPageLightContainer dialog
#include "BaseDataDefine.h"
#include <List.h>
class CPageLightContainer : public CPropertyPage
{
DECLARE_DYNCREATE(CPageLightContainer)
// Construction
class LightListNode {
public:
char m_strLightName[MAX_NAMEBUFFER];
char m_strObjectFilename[MAX_NAMEBUFFER];
float m_fLightRange;
color m_LightColor;
float m_fShadowFactor;
int m_iShadowSamples;
int m_iLightSamples;
int m_iAmbient;
float m_fExpose;
CString m_strEffect;
};
List<LightListNode> m_LightListNode;
public:
void DeleteListData();
void UpdateList();
void Load(FILE *fp,int iType = 0);
void Save(FILE *fp);
void SelectLightObject();
void AddLight(float fXp,float fYp,float fZp);
CPageLightContainer();
~CPageLightContainer();
//Select Item//
int m_SelectCur;
CString m_strObjectName;
CString m_strLightName;
float m_fLightRange;
color m_LightColor;
// Dialog Data
//{{AFX_DATA(CPageLightContainer)
enum { IDD = IDD_DIALOG_LIGHTCONTAINER };
CListCtrl m_LightObjectListview;
BOOL m_bSectorLightView;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CPageLightContainer)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPageLightContainer)
virtual BOOL OnInitDialog();
afx_msg void OnRclickListLightscene(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickListLightscene(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLightdelete();
afx_msg void OnLightload();
afx_msg void OnBegindragListLightscene(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkListLightscene(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLight();
afx_msg void OnPick();
afx_msg void OnSectorLgiht();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGELIGHTCONTAINER_H__4E62819A_D655_44D8_93D5_9CF79E4E7583__INCLUDED_)