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>
71 lines
1.4 KiB
C++
71 lines
1.4 KiB
C++
// ItemUpgradeSimulatorDlg.h : 헤더 파일
|
|
//
|
|
|
|
#pragma once
|
|
#include "afxcmn.h"
|
|
#include "afxwin.h"
|
|
|
|
#include <Item/ItemConstants.h>
|
|
|
|
namespace Item
|
|
{
|
|
// forward decl.
|
|
class CItem;
|
|
}
|
|
|
|
struct SimulateData
|
|
{
|
|
ULONGLONG m_dwUsedMoney;
|
|
DWORD m_dwSacrificeItem;
|
|
DWORD m_dwUsedMineral;
|
|
DWORD m_dwSucceededUpgrade[10];
|
|
DWORD m_dwFailedUpgrade[10];
|
|
|
|
DWORD m_dwUsedGems[Item::MAX_GEM_KIND];
|
|
|
|
WORD m_usPrototypeID;
|
|
Item::CItem* m_lpMineral;
|
|
};
|
|
|
|
|
|
// CItemUpgradeSimulatorDlg 대화 상자
|
|
class CItemUpgradeSimulatorDlg : public CDialog
|
|
{
|
|
// 생성
|
|
public:
|
|
|
|
CItemUpgradeSimulatorDlg(CWnd* pParent = NULL); // 표준 생성자
|
|
|
|
// 대화 상자 데이터
|
|
enum { IDD = IDD_ITEMUPGRADESIMULATOR_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()
|
|
|
|
private:
|
|
|
|
afx_msg void OnBnClickedStart();
|
|
|
|
SimulateData m_simData;
|
|
|
|
CString m_szItemName;
|
|
CListCtrl m_ResultList;
|
|
CListCtrl m_GemUsedList;
|
|
CListCtrl m_UpgradeResultList;
|
|
|
|
int m_nGemType;
|
|
int m_nMineralType;
|
|
};
|