diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
commit | c920fe38a19013b99f3f74e48da9724fb053c212 (patch) | |
tree | 6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/DbgEventList.cpp | |
parent | 96a63139221587c6be9659c1e07eacd3a8e7f048 (diff) | |
download | t2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip |
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r-- | src/DbgEventList.cpp | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/src/DbgEventList.cpp b/src/DbgEventList.cpp index 107f33f..46a390f 100644 --- a/src/DbgEventList.cpp +++ b/src/DbgEventList.cpp @@ -1,10 +1,11 @@ +#include "StdAfx.h" #include "DbgEventList.h" -#include "GlobalFunc.h" -#include "LArray.h" -#include "T2EventItem.h" +#include "T2DLL/GlobalFunc.h" +#include "T2DLL/LArray.h" +#include "T2DLL/T2EventItem.h" #include "T2TowerDoc.h" -#include "T2TowerEvent.h" -#include "T2WorldDef.h" +#include "T2DLL/T2TowerEvent.h" +#include "T2DLL/T2WorldDef.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -12,18 +13,24 @@ static char THIS_FILE[] = __FILE__; #endif -DbgEventList::DbgEventList(CWnd *pParentWnd) - : CDialog(182, pParentWnd) +DbgEventList::DbgEventList(CWnd *pParent) + : CDialog(IDD, pParent) { + //{{AFX_DATA_INIT(DbgEventList) + //}}AFX_DATA_INIT } /*virtual*/ void DbgEventList::DoDataExchange(CDataExchange *pDX) { CWnd::DoDataExchange(pDX); - DDX_Control(pDX, 1020, mList); + //{{AFX_DATA_MAP(DbgEventList) + DDX_Control(pDX, IDC_EVENT_LIST, mList); + //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(DbgEventList, CDialog) - ON_COMMAND(1021, OnEventStart) + //{{AFX_MSG_MAP(DbgEventList) + ON_COMMAND(IDC_EVENT_START, OnEventStart) + //}}AFX_MSG_MAP END_MESSAGE_MAP() /*virtual*/ BOOL DbgEventList::OnInitDialog() { |