Files
Client/Server/ToolProject/ItemViewer/ItemViewerDlg.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

63 lines
1.2 KiB
C++

// ItemViewerDlg.h : 헤더 파일
//
#pragma once
#include "afxwin.h"
#include <map>
#include <string>
// CItemViewerDlg 대화 상자
class CItemViewerDlg : public CDialog
{
// 생성
public:
CItemViewerDlg(CWnd* pParent = NULL); // 표준 생성자
// 대화 상자 데이터
enum { IDD = IDD_ITEMVIEWER_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원
// 구현
protected:
HICON m_hIcon;
// 메시지 맵 함수를 생성했습니다.
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
virtual void OnOK();
public:
afx_msg void OnBnClickedLoadItemscript();
afx_msg void OnBnClickedSetSpriteFolder();
private:
bool LoadSurfaces();
void ClearSurfaces();
typedef std::map<std::string, LPDIRECT3DSURFACE9> SurfaceMap;
SurfaceMap m_surfaceMap;
IDirect3D9* m_lpD3D;
IDirect3DDevice9* m_lpd3dDevice;
CString m_szItemScriptName;
CString m_szSpriteFolderName;
CListBox m_messageDlg;
char m_szRegFileName[MAX_PATH];
char m_szCurrentFolderName[MAX_PATH];
protected:
virtual void PostNcDestroy();
public:
afx_msg void OnBnClickedSaveAllItem();
};