comparison UI/Books/UIMapBook.cpp @ 2197:42c8807225a2

UIMSG_SpellBook_PressTab continue
author Ritor1
date Fri, 31 Jan 2014 17:30:36 +0600
parents 5b27c035a241
children d9caf2b3d8d5
comparison
equal deleted inserted replaced
2196:628a0ad87136 2197:42c8807225a2
110 pRenderer->DrawTextureTransparent(pBtn_Book_1->uX, pBtn_Book_1->uY, pTex_book_button1_off); 110 pRenderer->DrawTextureTransparent(pBtn_Book_1->uX, pBtn_Book_1->uY, pTex_book_button1_off);
111 v19 = pTex_book_button1_on; 111 v19 = pTex_book_button1_on;
112 } 112 }
113 pRenderer->DrawTextureTransparent(pBtn_Book_2->uX, pBtn_Book_2->uY, v19); 113 pRenderer->DrawTextureTransparent(pBtn_Book_2->uX, pBtn_Book_2->uY, v19);
114 uNumMaxBeacons = 1; 114 uNumMaxBeacons = 1;
115 if ( HIBYTE(pPlayer->pActiveSkills[14]) & 1 || (pPlayer->pActiveSkills[14] & 0x80u) != 0 ) 115 if ( HIBYTE(pPlayer->pActiveSkills[PLAYER_SKILL_WATER]) & 1 || (pPlayer->pActiveSkills[PLAYER_SKILL_WATER] & 0x80u) != 0 )
116 { 116 {
117 uNumMaxBeacons = 5; 117 uNumMaxBeacons = 5;
118 } 118 }
119 else 119 else
120 { 120 {
121 if ( pPlayer->pActiveSkills[14] & 0x40 ) 121 if ( pPlayer->pActiveSkills[PLAYER_SKILL_WATER] & 0x40 )
122 uNumMaxBeacons = 3; 122 uNumMaxBeacons = 3;
123 } 123 }
124 if ( uNumMaxBeacons > 0 ) 124 if ( uNumMaxBeacons > 0 )
125 { 125 {
126 for ( BeaconID = 0; BeaconID < uNumMaxBeacons; BeaconID++ ) 126 for ( BeaconID = 0; BeaconID < uNumMaxBeacons; BeaconID++ )