comparison GUI/UI/UIGuilds.cpp @ 2573:0c67be4ec900

DrawTextureIndexed renamed to DrawTextureTransparentColorKey Changing more class Texture to class Image.
author a.parshin
date Sat, 05 Mar 2016 16:25:53 +0200
parents a902abdfc7f2
children a76d408c5132
comparison
equal deleted inserted replaced
2572:d87bfbd3bb3b 2573:0c67be4ec900
3 #include <crtdbg.h> 3 #include <crtdbg.h>
4 4
5 #define _CRT_SECURE_NO_WARNINGS 5 #define _CRT_SECURE_NO_WARNINGS
6 6
7 #include "Engine/Engine.h" 7 #include "Engine/Engine.h"
8
9 #include "GUI/UI/UIShops.h"
8 10
9 #include "..\../Engine/Objects/Items.h" 11 #include "..\../Engine/Objects/Items.h"
10 #include "..\../GUI/GUIWindow.h" 12 #include "..\../GUI/GUIWindow.h"
11 #include "..\../Engine/texts.h" 13 #include "..\../Engine/texts.h"
12 #include "UIHouses.h" 14 #include "UIHouses.h"
155 } 157 }
156 return; 158 return;
157 } 159 }
158 if ( dialog_menu_id == HOUSE_DIALOGUE_GUILD_BUY_BOOKS ) //buy skill 160 if ( dialog_menu_id == HOUSE_DIALOGUE_GUILD_BUY_BOOKS ) //buy skill
159 { 161 {
160 pRenderer->DrawTextureIndexed(8, 8, ShopTexture); 162 pRenderer->DrawTextureAlphaNew(8/640.0f, 8/480.0f, shop_ui_background);
161 v6 = 0; 163 v6 = 0;
162 v62 = 0; 164 v62 = 0;
163 for ( pX = 32; pX < 452; pX += 70 )//расположение в верхнем ряду 165 for ( pX = 32; pX < 452; pX += 70 )//расположение в верхнем ряду
164 { 166 {
165 if ( pParty->SpellBooksInGuilds[window_SpeakInHouse->par1C-139][v6].uItemID ) 167 if ( pParty->SpellBooksInGuilds[window_SpeakInHouse->par1C-139][v6].uItemID )