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>
66 lines
1.4 KiB
C++
66 lines
1.4 KiB
C++
// GameDBTool.cpp : 응용 프로그램에 대한 클래스 동작을 정의합니다.
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "GameDBTool.h"
|
|
#include "GameDBToolDlg.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#endif
|
|
|
|
|
|
// CGameDBToolApp
|
|
|
|
BEGIN_MESSAGE_MAP(CGameDBToolApp, CWinApp)
|
|
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
// CGameDBToolApp 생성
|
|
|
|
CGameDBToolApp::CGameDBToolApp()
|
|
{
|
|
// TODO: 여기에 생성 코드를 추가합니다.
|
|
// InitInstance에 모든 중요한 초기화 작업을 배치합니다.
|
|
}
|
|
|
|
|
|
// 유일한 CGameDBToolApp 개체입니다.
|
|
|
|
CGameDBToolApp theApp;
|
|
|
|
|
|
// CGameDBToolApp 초기화
|
|
|
|
BOOL CGameDBToolApp::InitInstance()
|
|
{
|
|
// 응용 프로그램 매니페스트가 ComCtl32.dll 버전 6 이상을 사용하여 비주얼 스타일을
|
|
// 사용하도록 지정하는 경우, Windows XP 상에서 반드시 InitCommonControls()가 필요합니다.
|
|
// InitCommonControls()를 사용하지 않으면 창을 만들 수 없습니다.
|
|
InitCommonControls();
|
|
|
|
CWinApp::InitInstance();
|
|
|
|
AfxEnableControlContainer();
|
|
|
|
|
|
CGameDBToolDlg dlg;
|
|
m_pMainWnd = &dlg;
|
|
INT_PTR nResponse = dlg.DoModal();
|
|
if (nResponse == IDOK)
|
|
{
|
|
// TODO: 여기에 대화 상자가 확인을 눌러 없어지는 경우 처리할
|
|
// 코드를 배치합니다.
|
|
}
|
|
else if (nResponse == IDCANCEL)
|
|
{
|
|
// TODO: 여기에 대화 상자가 취소를 눌러 없어지는 경우 처리할
|
|
// 코드를 배치합니다.
|
|
}
|
|
|
|
// 대화 상자가 닫혔으므로 응용 프로그램의 메시지 펌프를 시작하지 않고
|
|
// 응용 프로그램을 끝낼 수 있도록 FALSE를 반환합니다.
|
|
return FALSE;
|
|
}
|