#ifndef RENDERTYPEWIN #error Only for Windows #endif #include "build.h" #include "editor.h" #include "winlayer.h" #include "compat.h" #define WIN32_LEAN_AND_MEAN #include #include #include #define IDCFULLSCREEN 100 #define IDCVMODE 101 static void PopulateVideoModeLists(int fs, HWND list3d) { int i,j; char buf[64]; ComboBox_ResetContent(list3d); for (i=0; i 0) { if (!IsWindow(hwndLaunch) || quitevent) break; if (IsDialogMessage(hwndStart, &msg) /*|| IsDialogMessage(hwndLaunch, &msg)*/) continue; TranslateMessage(&msg); DispatchMessage(&msg); } EnableWindow(GetDlgItem(hwndStart,WIN_STARTWIN_ITEMLIST),TRUE); } if (quitevent) return 1; return 0; }