飞飞世界论坛
标题:
三转图标改变
[打印本页]
作者:
admin
时间:
2016-1-10 03:35
标题:
三转图标改变
源码 MoverRender.cpp
4 I6 M# V @, o6 }. F
" x* s: }( J1 k( S
Code:
4 B @2 J' u8 ^$ P
, r' ~ l3 f* g" Y/ `; N
else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.
; n7 S2 `) U6 |$ {5 ]
{
`1 S, U4 [" }8 v7 B
//strPath = MakePath( DIR_ICON, "icon_Hero.dds");
: U% S5 z# |& Y& j
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
. R' V$ s+ y" ^& H9 |$ W
pTexture = g_Neuz.m_pHeroIcon;
) F, ?* `* Z. K+ w5 z0 w
if(pTexture != NULL)
4 K# p _! h; ] W
{
' k' v# K: j; p* f8 L
point.y -= pTexture->m_size.cy + 5;
& N, N$ r& R3 @/ y/ T' `
pTexture->Render( &g_Neuz.m_2DRender, point );
! v) T% `3 W# C6 H- H. V& C( M1 @$ p
}
+ J. H# W8 t, [
}
6 q/ G: f$ b" @
#if __VER >= 16 //__3RD_LEGEND16
% G% K; W0 t2 w! x: S& `, ?: o
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
; p! `4 n$ t- O$ q7 r3 I3 L7 ], W
{
- p; Y1 d* e" f4 H
strPath = MakePath( DIR_ICON, "icon_Hero.dds");
" a3 D7 V3 n8 J; ^- l$ Y% s
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
( N9 I, x. _1 _- t: l: N
// pTexture = g_Neuz.m_pLegendIcon[0];
3 {. [; g8 q) J8 z/ W
if(pTexture != NULL)
3 k! w: d" S1 X. w v; l, i
{
! k0 x, z6 P1 {( s2 c. x9 ]& H* X
point.y -= pTexture->m_size.cy + 5;
4 y8 U& V4 Z5 }& j
pTexture->Render( &g_Neuz.m_2DRender, point );
! [* b2 ^: X9 v. i, U
}
: y4 O8 y( N3 m) { u8 \. z/ I
}
. y6 n8 y2 C8 n* ?7 w
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
( e Q+ D/ Z. w+ S5 I, E4 n2 h$ v
{
8 s6 C) I# E/ U
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
: R' O( }8 V& R* y* n% I2 M
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
0 A+ V: t9 o% X4 H ~
// pTexture = g_Neuz.m_pLegendIcon[1];
, A* I% S5 S- [( ~# f
if(pTexture != NULL)
y, W- s$ }. u8 Z
{
& e6 V( c3 `9 D& Q# ^) N- F
point.y -= pTexture->m_size.cy + 5;
% L1 N$ S% C7 t
pTexture->Render( &g_Neuz.m_2DRender, point );
# U* l! |* ?* ]" H3 e
}
5 W& }4 x' z8 x+ p2 R8 s+ h; J# }
}
( t% R5 N, u! p, \% ^8 y7 T& b5 u' w
#endif // __3RD_LEGEND16
) e$ z- t! A3 b E6 ?8 f# N
. O1 L9 Y5 F: |; q' O
! G# c& Z9 `6 i- Z% `/ [
欢迎光临 飞飞世界论坛 (http://ffwold.com/)
Powered by Discuz! X3.2