Mercurial > mm7
changeset 736:9cc972ebd3cf
.
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 20:07:55 +0200 |
parents | 6daaa2f18d0d |
children | 225d92620998 4b06e19fcdbc |
files | UIHouses.cpp mm7_2.cpp |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/UIHouses.cpp Fri Mar 22 20:01:46 2013 +0200 +++ b/UIHouses.cpp Fri Mar 22 20:07:55 2013 +0200 @@ -1203,7 +1203,7 @@ return; } ShowStatusBarString(pGlobalTXT_LocalizationStrings[155], 2); - PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, HouseSound_4); + PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, HouseSound_Goodbye); pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, v5, 0); break; } @@ -1302,7 +1302,7 @@ return; } ShowStatusBarString(pGlobalTXT_LocalizationStrings[155], 2); // "You don't have enough gold" - PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, HouseSound_4); + PlayHouseSound((unsigned int)window_SpeakInHouse->ptr_1C, HouseSound_Goodbye); pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, v5, 0); break; }
--- a/mm7_2.cpp Fri Mar 22 20:01:46 2013 +0200 +++ b/mm7_2.cpp Fri Mar 22 20:07:55 2013 +0200 @@ -9456,6 +9456,10 @@ wcxw.hInstance, nullptr); SetWindowTextW(hWnd, L"Might and MagicŪ VII"); + + HMENU menu = CreateMenu(); + AppendMenuW(menu, MF_ENABLED | MF_STRING, 0x101, L"Open level..."); + SetMenu(hWnd, menu); SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);