From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2WorldSelectDlg.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/T2WorldSelectDlg.h') diff --git a/src/T2WorldSelectDlg.h b/src/T2WorldSelectDlg.h index df75a94..039fcf2 100644 --- a/src/T2WorldSelectDlg.h +++ b/src/T2WorldSelectDlg.h @@ -1,6 +1,7 @@ #pragma once #include "common.h" -#include "T2Dialog.h" +#include "T2DLL/T2Dialog.h" +#include "resource.h" struct PluginRecord { T2BitImage *preview; @@ -19,6 +20,14 @@ public: void ShowWorldSelectDlg(T2TowerDoc *inDoc, T2PluginLoader *inPluginLoader, BOOL inShowCancelButton); T2PluginSpecifier *GetSelectedPlugin(); + enum { kDlgResID = ID_WORLD_SELECT_T2DLG }; + + enum { + kCmdOK = 100, + kCmdLeft = 101, + kCmdRight = 102 + }; + protected: virtual BOOL PreCreateWindow(CREATESTRUCT &cs); virtual BOOL OnT2PreEraseBkgnd(CDC *pDC); -- cgit v1.2.3