# HG changeset patch # User Nomad # Date 1378553175 -7200 # Node ID 888157f45502adcd2fe1dd28e1f5cdbbaced8d64 # Parent 7d986a3960920941f23e76b316f1644899917188 Merge2 diff -r 7d986a396092 -r 888157f45502 mm7_2.cpp --- a/mm7_2.cpp Sat Sep 07 13:03:18 2013 +0200 +++ b/mm7_2.cpp Sat Sep 07 13:26:15 2013 +0200 @@ -3757,21 +3757,6 @@ } return 0; - case WM_CREATE: - { - auto hDC = GetDC(hWnd); - { - if (GetDeviceCaps(hDC, BITSPIXEL) < 8) - { - ReleaseDC(hWnd, hDC); - Log::Warning(L"You must be running in 256 color mode or higher."); - Abortf("You must be running in 256 color mode or higher. You can change the screen depth with the control panel display icon."); - } - } - ReleaseDC(hWnd, hDC); - } - return 0; - case WM_SETFOCUS: dword_4E98BC_bApplicationActive = 0; if ( pRenderer->bUserDirect3D && pRenderer->uAcquiredDirect3DDevice == 1 ) @@ -4402,6 +4387,7 @@ uWindowX, uWindowY, 640, 480, nullptr, + nullptr, wcxw.hInstance, nullptr); @@ -4664,7 +4650,7 @@ } - +#if 0 if (_access("../MM_VI/data/icons.lod", 0) == 0) { pIcons_LOD_mm6 = new LODFile_IconsBitmaps; @@ -4747,7 +4733,7 @@ } else Log::Warning(L"Unable to find mm8:sprites.lod"); - +#endif { void *sft_mm6 = pIcons_LOD_mm6 ? pIcons_LOD_mm6->LoadRaw("dsft.bin", 1) : nullptr,