comparison UIBooks.cpp @ 819:9359c114f98c

More on screenshot
author Nomad
date Tue, 26 Mar 2013 14:14:39 +0200
parents e7c86528a2b3
children dfd683c4f538
comparison
equal deleted inserted replaced
818:352c5161fade 819:9359c114f98c
427 } 427 }
428 pRenderer->DrawTextureTransparent(v1, v12, v14); 428 pRenderer->DrawTextureTransparent(v1, v12, v14);
429 if ( !byte_5C6D50[dword_506528] ) 429 if ( !byte_5C6D50[dword_506528] )
430 { 430 {
431 v2 = achievedAwardsIndex[dword_506528]; 431 v2 = achievedAwardsIndex[dword_506528];
432 a1.uFrameWidth = 460; 432 a1.uFrameWidth = game_viewport_width;
433 a1.uFrameX = 8; 433 a1.uFrameX = game_viewport_x;
434 a1.uFrameY = 8; 434 a1.uFrameY = game_viewport_y;
435 a1.uFrameHeight = 344; 435 a1.uFrameHeight = game_viewport_height;
436 v3 = (const char *)pStorylineText->StoreLine[v2].pPageTitle;//field_4[]; 436 v3 = (const char *)pStorylineText->StoreLine[v2].pPageTitle;//field_4[];
437 a1.uFrameZ = 467; 437 a1.uFrameZ = game_viewport_z;
438 a1.uFrameW = 351; 438 a1.uFrameW = game_viewport_w;
439 if ( v3 ) 439 if ( v3 )
440 a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, v3, 3u); 440 a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, v3, 3u);
441 } 441 }
442 a1.uFrameX = 48; 442 a1.uFrameX = 48;
443 a1.uFrameY = 70; 443 a1.uFrameY = 70;
530 v11 = pTex_tab_an_7b__zoot_on; 530 v11 = pTex_tab_an_7b__zoot_on;
531 v9 = pViewport->uViewportTL_Y + 38; 531 v9 = pViewport->uViewportTL_Y + 38;
532 v1 = pViewport->uViewportTL_X + 398; 532 v1 = pViewport->uViewportTL_X + 398;
533 } 533 }
534 pRenderer->DrawTextureTransparent(v1, v9, v11); 534 pRenderer->DrawTextureTransparent(v1, v9, v11);
535 a1.uFrameWidth = 460; 535 a1.uFrameWidth = game_viewport_width;
536 a1.uFrameHeight = 344; 536 a1.uFrameHeight = game_viewport_height;
537 a1.uFrameX = 8; 537 a1.uFrameX = game_viewport_x;
538 a1.uFrameY = 8; 538 a1.uFrameY = game_viewport_y;
539 a1.uFrameZ = 467; 539 a1.uFrameZ = game_viewport_z;
540 a1.uFrameW = 351; 540 a1.uFrameW = game_viewport_w;
541 a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, pGlobalTXT_LocalizationStrings[174], 3u); 541 a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, pGlobalTXT_LocalizationStrings[174], 3u);
542 a1.uFrameX = 48; 542 a1.uFrameX = 48;
543 a1.uFrameY = 70; 543 a1.uFrameY = 70;
544 a1.uFrameWidth = 360; 544 a1.uFrameWidth = 360;
545 a1.uFrameHeight = 264; 545 a1.uFrameHeight = 264;
794 dword_506568 = 5; 794 dword_506568 = 5;
795 v23 = pViewport->uViewportTL_Y + 302; 795 v23 = pViewport->uViewportTL_Y + 302;
796 v7 = pViewport->uViewportTL_X + 397; 796 v7 = pViewport->uViewportTL_X + 397;
797 LABEL_46: 797 LABEL_46:
798 pRenderer->DrawTextureTransparent(v7, v23, v30); 798 pRenderer->DrawTextureTransparent(v7, v23, v30);
799 a1.uFrameWidth = 460; 799 a1.uFrameWidth = game_viewport_width;
800 a1.uFrameHeight = 344; 800 a1.uFrameHeight = game_viewport_height;
801 a1.uFrameX = 8; 801 a1.uFrameX = game_viewport_x;
802 a1.uFrameY = 8; 802 a1.uFrameY = game_viewport_z;
803 a1.uFrameZ = 467; 803 a1.uFrameZ = game_viewport_z;
804 a1.uFrameW = 467; 804 a1.uFrameW = game_viewport_w;
805 a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, pGlobalTXT_LocalizationStrings[154], 3u); 805 a1.DrawTitleText(pBook2Font, 0, 0x16u, 0, pGlobalTXT_LocalizationStrings[154], 3u);
806 a1.uFrameX = 48; 806 a1.uFrameX = 48;
807 a1.uFrameY = 70; 807 a1.uFrameY = 70;
808 a1.uFrameWidth = 360; 808 a1.uFrameWidth = 360;
809 a1.uFrameHeight = 264; 809 a1.uFrameHeight = 264;
1002 dword_506538 = 0; 1002 dword_506538 = 0;
1003 dword_50653C = 0; 1003 dword_50653C = 0;
1004 dword_506540 = 0; 1004 dword_506540 = 0;
1005 DrawBook_Map_sub(97, 49, 361, 313, 0); 1005 DrawBook_Map_sub(97, 49, 361, 313, 0);
1006 pRenderer->DrawTextureTransparent(75, 22, pTexture_mapbordr); 1006 pRenderer->DrawTextureTransparent(75, 22, pTexture_mapbordr);
1007 map_window.uFrameWidth = 460; 1007 map_window.uFrameWidth = game_viewport_width;
1008 map_window.uFrameHeight = 344; 1008 map_window.uFrameHeight = game_viewport_height;
1009 map_window.uFrameX = 8; 1009 map_window.uFrameX = game_viewport_x;
1010 map_window.uFrameY = 8; 1010 map_window.uFrameY = game_viewport_y;
1011 map_window.uFrameZ = 467; 1011 map_window.uFrameZ = game_viewport_z;
1012 map_window.uFrameW = 467; 1012 map_window.uFrameW = game_viewport_w;
1013 map_id = pMapStats->GetMapInfo(pCurrentMapName); 1013 map_id = pMapStats->GetMapInfo(pCurrentMapName);
1014 if ( map_id ) 1014 if ( map_id )
1015 map_window.DrawTitleText(pBook2Font, -14, 12, 0, pMapStats->pInfos[map_id].pName, 3); 1015 map_window.DrawTitleText(pBook2Font, -14, 12, 0, pMapStats->pInfos[map_id].pName, 3);
1016 map_window.uFrameX = 0; 1016 map_window.uFrameX = 0;
1017 sprintf(party_coord, pGlobalTXT_LocalizationStrings[659], pParty->vPosition.x, pParty->vPosition.y); //"x: %d y: %d" 1017 sprintf(party_coord, pGlobalTXT_LocalizationStrings[659], pParty->vPosition.x, pParty->vPosition.y); //"x: %d y: %d"