comparison UI/UIHouses.cpp @ 1655:a7eebb6ee7a2

Window Resize (change arguments to MM7_Initialize)
author Nomad
date Wed, 18 Sep 2013 11:13:38 +0200
parents d453ed393d6e
children 620b6ba3e6b8
comparison
equal deleted inserted replaced
1654:d11b5669f089 1655:a7eebb6ee7a2
3418 { 3418 {
3419 if ( pNPC->greet ) 3419 if ( pNPC->greet )
3420 { 3420 {
3421 house_window.uFrameWidth = game_viewport_width; 3421 house_window.uFrameWidth = game_viewport_width;
3422 house_window.uFrameZ = 452; 3422 house_window.uFrameZ = 452;
3423 pInString = pNPCStats->pNPCGreetings[pNPC->greet].pGreeting[((pNPC->uFlags & 3) == 2)]; 3423 pInString = pNPCStats->pNPCGreetings[pNPC->greet].pGreetings[((pNPC->uFlags & 3) == 2)];
3424 //pInString = (char *)*(&pNPCStats->field_17884 + ((pNPC->uFlags & 3) == 2) + 2 * pNPC->greet); 3424 //pInString = (char *)*(&pNPCStats->field_17884 + ((pNPC->uFlags & 3) == 2) + 2 * pNPC->greet);
3425 pRenderer->GetLeather(8, 352 - (pFontArrus->CalcTextHeight(pInString, &house_window, 13, 0) + 7), 3425 pRenderer->GetLeather(8, 352 - (pFontArrus->CalcTextHeight(pInString, &house_window, 13, 0) + 7),
3426 pIcons_LOD->GetTexture(uTextureID_Leather), pIcons_LOD->GetTexture(uTextureID_Leather)->uTextureHeight 3426 pIcons_LOD->GetTexture(uTextureID_Leather), pIcons_LOD->GetTexture(uTextureID_Leather)->uTextureHeight
3427 - (pFontArrus->CalcTextHeight(pInString, &house_window, 13, 0) + 7)); 3427 - (pFontArrus->CalcTextHeight(pInString, &house_window, 13, 0) + 7));
3428 pRenderer->DrawTextureIndexed(8, 347 - (pFontArrus->CalcTextHeight(pInString, &house_window, 13, 0) + 7), pTexture_591428); 3428 pRenderer->DrawTextureIndexed(8, 347 - (pFontArrus->CalcTextHeight(pInString, &house_window, 13, 0) + 7), pTexture_591428);