Mercurial > mm7
comparison mm7_4.cpp @ 3:bf31c505f4d3
13.01.13(MainMenuMessageProc())
author | Ritor1 |
---|---|
date | Sun, 13 Jan 2013 17:41:47 +0600 |
parents | 9c0607679772 |
children | 8e33efd39355 |
comparison
equal
deleted
inserted
replaced
2:89240115d392 | 3:bf31c505f4d3 |
---|---|
5897 { | 5897 { |
5898 pNumMessage = pMessageQueue_50CBD0->uNumMessages; | 5898 pNumMessage = pMessageQueue_50CBD0->uNumMessages; |
5899 do | 5899 do |
5900 { | 5900 { |
5901 if ( uMouseX >= (signed int)pControlsHead->uX && uMouseX <= (signed int)pControlsHead->uZ | 5901 if ( uMouseX >= (signed int)pControlsHead->uX && uMouseX <= (signed int)pControlsHead->uZ |
5902 && uMouseY >= (signed int)pControlsHead->uY && uMouseY <= (signed int)pControlsHead->uW )//mouse movement | 5902 && uMouseY >= (signed int)pControlsHead->uY && uMouseY <= (signed int)pControlsHead->uW )//mouse movement |
5903 { | 5903 { |
5904 pControlParam = pControlsHead->uControlParam; | 5904 pControlParam = pControlsHead->uControlParam; |
5905 if ( (signed int)pNumMessage < 40 ) | 5905 if ( (signed int)pNumMessage < 40 ) |
5906 { | 5906 { |
5907 pMessageQueue_50CBD0->pMessages[pNumMessage].eType = (UIMessageType)pControlsHead->field_1C; | 5907 pMessageQueue_50CBD0->pMessages[pNumMessage].eType = (UIMessageType)pControlsHead->field_1C; |
6232 pRenderer->EndScene(); | 6232 pRenderer->EndScene(); |
6233 ++a5; | 6233 ++a5; |
6234 if ( a5 >= (signed __int16)pTexture2.uHeight ) | 6234 if ( a5 >= (signed __int16)pTexture2.uHeight ) |
6235 SetCurrentMenuID(MENU_MAIN); | 6235 SetCurrentMenuID(MENU_MAIN); |
6236 pRenderer->Present(); | 6236 pRenderer->Present(); |
6237 pCurrentScreen = 0;//Ritor1: temporarily, must be corrected GUI_MainMenuMessageProc() | 6237 pCurrentScreen = 0;//Ritor1: temporarily, must be corrected GUI_MainMenuMessageProc() |
6238 GUI_MainMenuMessageProc(); | 6238 GUI_MainMenuMessageProc(); |
6239 } | 6239 } |
6240 } | 6240 } |
6241 while ( GetCurrentMenuID() == MENU_Credits ); | 6241 while ( GetCurrentMenuID() == MENU_Credits ); |
6242 pAudioPlayer->_4AA258(1); | 6242 pAudioPlayer->_4AA258(1); |