comparison mm7_2.cpp @ 736:9cc972ebd3cf

.
author Nomad
date Fri, 22 Mar 2013 20:07:55 +0200
parents 6daaa2f18d0d
children 585490c29945 6005142abce0
comparison
equal deleted inserted replaced
735:6daaa2f18d0d 736:9cc972ebd3cf
9454 nullptr, 9454 nullptr,
9455 hOSMenu = nullptr, 9455 hOSMenu = nullptr,
9456 wcxw.hInstance, 9456 wcxw.hInstance,
9457 nullptr); 9457 nullptr);
9458 SetWindowTextW(hWnd, L"Might and MagicŪ VII"); 9458 SetWindowTextW(hWnd, L"Might and MagicŪ VII");
9459
9460 HMENU menu = CreateMenu();
9461 AppendMenuW(menu, MF_ENABLED | MF_STRING, 0x101, L"Open level...");
9462 SetMenu(hWnd, menu);
9459 9463
9460 SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS); 9464 SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
9461 9465
9462 pRenderer = Render::Create(); 9466 pRenderer = Render::Create();
9463 if (!pRenderer) 9467 if (!pRenderer)