Mercurial > mm7
comparison Game.cpp @ 2290:d65414f65bd4
add MMT.cpp and MMT.h
author | Ritor1 |
---|---|
date | Sun, 16 Mar 2014 19:34:51 +0600 |
parents | 0cd17b0d36c2 |
children | 9551756f46c4 |
comparison
equal
deleted
inserted
replaced
2289:60293358b4b3 | 2290:d65414f65bd4 |
---|---|
4272 pMessageQueue_50CBD0->PopMessage(&pUIMessageType, &pParam, ¶m2); | 4272 pMessageQueue_50CBD0->PopMessage(&pUIMessageType, &pParam, ¶m2); |
4273 //auto player = &pParty->pPlayers[pParam]; | 4273 //auto player = &pParty->pPlayers[pParam]; |
4274 | 4274 |
4275 switch (pUIMessageType) // For buttons of window MainMenu | 4275 switch (pUIMessageType) // For buttons of window MainMenu |
4276 { | 4276 { |
4277 case UIMSG_MMT_MainMenu_MM7: | |
4278 SetCurrentMenuID(MENU_MAIN); | |
4279 break; | |
4280 | |
4281 case UIMSG_MainMenu_ShowPartyCreationWnd: | 4277 case UIMSG_MainMenu_ShowPartyCreationWnd: |
4282 GUIWindow::Create(495, 172, 0, 0, WINDOW_PressedButton2, (int)pMainMenu_BtnNew, 0); | 4278 GUIWindow::Create(495, 172, 0, 0, WINDOW_PressedButton2, (int)pMainMenu_BtnNew, 0); |
4283 SetCurrentMenuID(MENU_NEWGAME); | 4279 SetCurrentMenuID(MENU_NEWGAME); |
4284 break; | 4280 break; |
4285 case UIMSG_MainMenu_ShowLoadWindow: | 4281 case UIMSG_MainMenu_ShowLoadWindow: |