Mercurial > mm7
comparison mm7_5.cpp @ 1412:182d58b2a34c
Harmondale falling under terrain fixed
author | Nomad |
---|---|
date | Sat, 27 Jul 2013 14:28:14 +0200 |
parents | c9e3b93ec570 |
children | ff495bf260d9 |
comparison
equal
deleted
inserted
replaced
1411:2423bc2af692 | 1412:182d58b2a34c |
---|---|
2263 } | 2263 } |
2264 sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[35], v69); | 2264 sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[35], v69); |
2265 GameUI_SetFooterString(pTmpBuf.data()); | 2265 GameUI_SetFooterString(pTmpBuf.data()); |
2266 continue; | 2266 continue; |
2267 case UIMSG_ShowFinalWindow: | 2267 case UIMSG_ShowFinalWindow: |
2268 sprintf(pFinalMessage.data(), "%s\n \n%s\n \n%s", pGlobalTXT_LocalizationStrings[151],// "Congratulations Adventurer." | 2268 sprintfex(pFinalMessage.data(), "%s\n \n%s\n \n%s", pGlobalTXT_LocalizationStrings[151],// "Congratulations Adventurer." |
2269 pGlobalTXT_LocalizationStrings[118],// "We hope that you've enjoyed playing Might and Magic VII as much as we did making it. We have saved this screen as MM7_WIN.PCX in your MM7 directory. You can print it out as proof of your accomplishment." | 2269 pGlobalTXT_LocalizationStrings[118],// "We hope that you've enjoyed playing Might and Magic VII as much as we did making it. We have saved this screen as MM7_WIN.PCX in your MM7 directory. You can print it out as proof of your accomplishment." |
2270 pGlobalTXT_LocalizationStrings[167]);// "- The Might and Magic VII Development Team." | 2270 pGlobalTXT_LocalizationStrings[167]);// "- The Might and Magic VII Development Team." |
2271 ModalWindow(pFinalMessage.data(), 196); | 2271 ModalWindow(pFinalMessage.data(), 196); |
2272 uGameState = GAME_STATE_FINAL_WINDOW; | 2272 uGameState = GAME_STATE_FINAL_WINDOW; |
2273 continue; | 2273 continue; |
3433 pGUIWindow_CurrentMenu->ptr_1C = v3; | 3433 pGUIWindow_CurrentMenu->ptr_1C = v3; |
3434 break; | 3434 break; |
3435 case UIMSG_ChangeGameState: | 3435 case UIMSG_ChangeGameState: |
3436 uGameState = GAME_FINISHED; | 3436 uGameState = GAME_FINISHED; |
3437 break; | 3437 break; |
3438 case UIMSG_11: | 3438 case UIMSG_ChangeCursor: |
3439 pMouse->SetCursorBitmap("MICON2"); | 3439 pMouse->SetCursorBitmap("MICON2"); |
3440 break; | 3440 break; |
3441 case UIMSG_3A: | 3441 case UIMSG_3A: |
3442 SetCurrentMenuID(MENU_10); | 3442 SetCurrentMenuID(MENU_10); |
3443 break; | 3443 break; |
3581 //VideoPlayer::dtor(); | 3581 //VideoPlayer::dtor(); |
3582 } | 3582 } |
3583 break; | 3583 break; |
3584 case UIMSG_PlayerCreationRemoveDownSkill: | 3584 case UIMSG_PlayerCreationRemoveDownSkill: |
3585 uPlayerCreationUI_SelectedCharacter = pParam; | 3585 uPlayerCreationUI_SelectedCharacter = pParam; |
3586 __debugbreak(); | |
3586 pGUIWindow_CurrentMenu->pCurrentPosActiveItem = (pGUIWindow_CurrentMenu->pCurrentPosActiveItem - pGUIWindow_CurrentMenu->pStartingPosActiveItem) % 7 | 3587 pGUIWindow_CurrentMenu->pCurrentPosActiveItem = (pGUIWindow_CurrentMenu->pCurrentPosActiveItem - pGUIWindow_CurrentMenu->pStartingPosActiveItem) % 7 |
3587 + pGUIWindow_CurrentMenu->pStartingPosActiveItem + 7 * pParam; | 3588 + pGUIWindow_CurrentMenu->pStartingPosActiveItem + 7 * pParam; |
3588 pParty->pPlayers[0].pActiveSkills[(&pPlayer[uPlayerCreationUI_SelectedCharacter])->GetSkillIdxByOrder(3) | 3589 pParty->pPlayers[0].pActiveSkills[(&pPlayer[uPlayerCreationUI_SelectedCharacter])->GetSkillIdxByOrder(3) |
3589 + 3486 * uPlayerCreationUI_SelectedCharacter] = 0; | 3590 + 3486 * uPlayerCreationUI_SelectedCharacter] = 0; |
3590 break; | 3591 break; |
3597 } | 3598 } |
3598 | 3599 |
3599 //----- (00436427) -------------------------------------------------------- | 3600 //----- (00436427) -------------------------------------------------------- |
3600 double __cdecl get_shading_dist_mist() | 3601 double __cdecl get_shading_dist_mist() |
3601 { | 3602 { |
3602 double result; // st7@2 | 3603 if (uCurrentlyLoadedLevelType == LEVEL_Outdoor) |
3603 | 3604 return (double)pOutdoorCamera->shading_dist_mist; |
3604 if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor) | |
3605 result = (double)pOutdoorCamera->shading_dist_mist; | |
3606 else | 3605 else |
3607 result = 16192.0; | 3606 return 16192.0; |
3608 return result; | |
3609 } | 3607 } |
3610 | 3608 |
3611 //----- (0043648F) -------------------------------------------------------- | 3609 //----- (0043648F) -------------------------------------------------------- |
3612 void Vec3_short__to_RenderVertexSoft(RenderVertexSoft *_this, Vec3_short_ *a2) | 3610 void Vec3_short__to_RenderVertexSoft(RenderVertexSoft *_this, Vec3_short_ *a2) |
3613 { | 3611 { |