comparison mm7_4.cpp @ 1312:ae435824ac4d

books code splitted to separate files
author Gloval
date Wed, 26 Jun 2013 00:22:57 +0400
parents 8c2f689b5f0b
children f0be1fecd642 3358b59b8fe8
comparison
equal deleted inserted replaced
1311:1dee26137a92 1312:ae435824ac4d
5077 int v14; // [sp+70h] [bp-4h]@4 5077 int v14; // [sp+70h] [bp-4h]@4
5078 5078
5079 v1 = *_this - 399; 5079 v1 = *_this - 399;
5080 v2 = (*_this - 400) % 11 + 1; 5080 v2 = (*_this - 400) % 11 + 1;
5081 v11 = 4 * (*_this - 400) / 11; 5081 v11 = 4 * (*_this - 400) / 11;
5082 sprintf(pTmpBuf.data(), "%s%03d", spellbook_texture_filename_suffices[v11 / 4], v2); 5082 // sprintf(pTmpBuf.data(), "%s%03d", spellbook_texture_filename_suffices[v11 / 4], v2); not used
5083 if ( pMouse->GetCursorPos(&a2)->y <= 320 ) 5083 if ( pMouse->GetCursorPos(&a2)->y <= 320 )
5084 v3 = pMouse->GetCursorPos(&a2)->y + 30; 5084 v3 = pMouse->GetCursorPos(&a2)->y + 30;
5085 else 5085 else
5086 v3 = 30; 5086 v3 = 30;
5087 a1.Hint = 0; 5087 a1.Hint = 0;