comparison mm7_4.cpp @ 434:137c59c3dbc4

Temple of Moon and Dragon Lair can now be entered.
author Nomad
date Sun, 24 Feb 2013 01:42:35 +0200
parents 8c45cac1c5e1
children 4f451a616d3d
comparison
equal deleted inserted replaced
433:0eaed3e0d75f 434:137c59c3dbc4
1010 side2_dy = (double)(x2z2_y - x1z2_y); 1010 side2_dy = (double)(x2z2_y - x1z2_y);
1011 side2_dx = (double)(grid_pos_x2 - grid_pos_x1); 1011 side2_dx = (double)(grid_pos_x2 - grid_pos_x1);
1012 side1_dx = (double)(grid_pos_x1 - grid_pos_x1); 1012 side1_dx = (double)(grid_pos_x1 - grid_pos_x1);
1013 side2_dz = (double)(grid_pos_z2 - grid_pos_z2); // bug? z2 - z2 1013 side2_dz = (double)(grid_pos_z2 - grid_pos_z2); // bug? z2 - z2
1014 side1_dz = (double)(grid_pos_z2 - grid_pos_z2); // z1 - z2 1014 side1_dz = (double)(grid_pos_z2 - grid_pos_z2); // z1 - z2
1015 Log::Warning(L"%s %s %u\n", __FILE__, __FUNCTION__, __LINE__); 1015 Log::Warning(L"%S %S %u\n", __FILE__, __FUNCTION__, __LINE__);
1016 /* |\ 1016 /* |\
1017 side1 | \ 1017 side1 | \
1018 |____\ 1018 |____\
1019 side 2 */ 1019 side 2 */
1020 } 1020 }
10105 a1.uFrameZ = 366; 10105 a1.uFrameZ = 366;
10106 a1.DrawTitleText(pFontCreate, 0, 2u, 0, v1, 3u); 10106 a1.DrawTitleText(pFontCreate, 0, 2u, 0, v1, 3u);
10107 a1.uFrameX = 483; 10107 a1.uFrameX = 483;
10108 a1.uFrameWidth = 148; 10108 a1.uFrameWidth = 148;
10109 a1.uFrameZ = 334; 10109 a1.uFrameZ = 334;
10110 v2 = (&off_4EB080)[4 * uHouse_ExitPic]; 10110 v2 = pTransitionStrings[uHouse_ExitPic];
10111 if ( !v2 ) 10111 if ( !v2 )
10112 { 10112 {
10113 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[411], v0); 10113 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[411], v0);
10114 v2 = pTmpBuf; 10114 v2 = pTmpBuf;
10115 } 10115 }