Mercurial > mm7
comparison mm7_4.cpp @ 710:735dab8d3c9a
Town portal screen + misc gui const replacements
author | Nomad |
---|---|
date | Thu, 21 Mar 2013 20:30:17 +0200 |
parents | d6236f6a9882 |
children | e7c86528a2b3 da130dd3092a |
comparison
equal
deleted
inserted
replaced
709:af08fc9e29c8 | 710:735dab8d3c9a |
---|---|
6087 v94 = sr_sub_47C24C_get_palette(v3, v92, 0, 1); | 6087 v94 = sr_sub_47C24C_get_palette(v3, v92, 0, 1); |
6088 result = stru_F8A590._viewport_space_y; | 6088 result = stru_F8A590._viewport_space_y; |
6089 a2 = stru_F8A590._viewport_space_y; | 6089 a2 = stru_F8A590._viewport_space_y; |
6090 v11 = stru_F8A590._viewport_space_y * pRenderer->uTargetSurfacePitch; | 6090 v11 = stru_F8A590._viewport_space_y * pRenderer->uTargetSurfacePitch; |
6091 v99 = 640 * stru_F8A590._viewport_space_y; | 6091 v99 = 640 * stru_F8A590._viewport_space_y; |
6092 v86 = v4->pLevelOfDetail0; | 6092 v86 = v4->pLevelOfDetail0_prolly_alpha_mask; |
6093 v87 = v4->pLevelOfDetail1; | 6093 v87 = v4->pLevelOfDetail1; |
6094 v88 = v4->pLevelOfDetail2; | 6094 v88 = v4->pLevelOfDetail2; |
6095 v89 = v4->pLevelOfDetail3; | 6095 v89 = v4->pLevelOfDetail3; |
6096 v98 = stru_F8A590._viewport_space_y * pRenderer->uTargetSurfacePitch; | 6096 v98 = stru_F8A590._viewport_space_y * pRenderer->uTargetSurfacePitch; |
6097 v104 = 2 * pBLVRenderParams->field_0_timer_; | 6097 v104 = 2 * pBLVRenderParams->field_0_timer_; |
6569 else | 6569 else |
6570 { | 6570 { |
6571 v49 = v4->uWidthMinus1; | 6571 v49 = v4->uWidthMinus1; |
6572 v47 = v4->uHeightMinus1 << 16; | 6572 v47 = v4->uHeightMinus1 << 16; |
6573 v9 = 16 - v4->uWidthLn2; | 6573 v9 = 16 - v4->uWidthLn2; |
6574 v10 = v4->pLevelOfDetail0; | 6574 v10 = v4->pLevelOfDetail0_prolly_alpha_mask; |
6575 LOBYTE(v2->uAttributes) |= 0x80u; | 6575 LOBYTE(v2->uAttributes) |= 0x80u; |
6576 v48 = v9; | 6576 v48 = v9; |
6577 v50 = v10; | 6577 v50 = v10; |
6578 sub_4AF412(); | 6578 sub_4AF412(); |
6579 ++pBLVRenderParams->uNumFacesRenderedThisFrame; | 6579 ++pBLVRenderParams->uNumFacesRenderedThisFrame; |
10996 } | 10996 } |
10997 v21 = pGlobalTXT_LocalizationStrings[73]; | 10997 v21 = pGlobalTXT_LocalizationStrings[73]; |
10998 LABEL_19: | 10998 LABEL_19: |
10999 strcpy(sHouseName, v21); | 10999 strcpy(sHouseName, v21); |
11000 LABEL_20: | 11000 LABEL_20: |
11001 pDialogueWindow = GUIWindow::Create(0, 0, 640, 480, (enum WindowType)26, 0, (int)sHouseName); | 11001 pDialogueWindow = GUIWindow::Create(0, 0, 640, 480, WINDOW_Transition, 0, (int)sHouseName); |
11002 //if ( BYTE1(pAnimatedRooms[p2DEvents_minus1___02[26 * v9]].field_C) ) | 11002 //if ( BYTE1(pAnimatedRooms[p2DEvents_minus1___02[26 * v9]].field_C) ) |
11003 if ( pAnimatedRooms[p2DEvents[v9 - 1].uAnimationID].uRoomSoundId ) | 11003 if ( pAnimatedRooms[p2DEvents[v9 - 1].uAnimationID].uRoomSoundId ) |
11004 HousePlaySomeSound(v9, 1); | 11004 HousePlaySomeSound(v9, 1); |
11005 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor && uActiveCharacter && pParty->uFlags & 0x30 ) | 11005 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor && uActiveCharacter && pParty->uFlags & 0x30 ) |
11006 pPlayers[uActiveCharacter]->PlaySound(SPEECH_47, 0); | 11006 pPlayers[uActiveCharacter]->PlaySound(SPEECH_47, 0); |