|
源码 MoverRender.cpp- k/ {3 F3 d9 r, _/ S9 [+ A
8 t2 `* ~0 }9 V' ~) A& Z3 QCode:* t4 G5 ?' H- U# U- d
' o$ u/ A) `0 c+ V8 A3 C H+ x
else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.1 D& Q% Q! H& t2 l+ c* R
{3 H6 u' `1 ^# A7 m2 s
//strPath = MakePath( DIR_ICON, "icon_Hero.dds");
6 g& |; y; X5 M( S- Y! O% n. a1 f//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
. y7 z# Z1 f4 k- }* h& q2 l4 f2 J pTexture = g_Neuz.m_pHeroIcon; 4 R+ ]( Z' x$ g9 T2 S9 c2 g7 \- K
if(pTexture != NULL)
: s; B% V% F) w# w a1 y5 F {
- X, u* @" r0 C+ u8 K3 X3 K point.y -= pTexture->m_size.cy + 5;; q* R7 o: R( w+ n1 `5 a7 u( @ i: B
pTexture->Render( &g_Neuz.m_2DRender, point );+ T5 ?* R* v4 U
}
' P( Q; h7 i( b9 c$ B8 k }- G1 C/ k' P0 Z7 a o% a" S' e
#if __VER >= 16 //__3RD_LEGEND16
2 _; h. ? M/ x7 ^! h2 o else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140); s' K: s* x) h- x+ _1 C
{ R) R( V/ ?3 ]% ^3 Q) w/ W
strPath = MakePath( DIR_ICON, "icon_Hero.dds");
8 z' \% @8 |& B& i2 Z pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff ); T+ @- G7 H' q8 a* M1 Z3 p: l
// pTexture = g_Neuz.m_pLegendIcon[0];: T1 K( g# r7 s& P" O
if(pTexture != NULL)! K4 F! Q) |4 I7 r
{7 W) C1 f2 X$ G: M" t
point.y -= pTexture->m_size.cy + 5;) B( |( v3 {6 D0 D+ c& w* a1 W
pTexture->Render( &g_Neuz.m_2DRender, point );
6 I; W! E5 S2 d! ? }
1 q0 O3 P% _, f$ r2 D }
9 u& U" b/ Q6 W9 D6 x3 r' @8 P else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
, B5 a, j6 C s. r% o8 A {' g) ~% w) [: [* T+ F/ t
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
! c6 Z; Z; I; i$ a4 c J7 U: R pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
/ G' c: ?! f( T2 T" _; E// pTexture = g_Neuz.m_pLegendIcon[1];
t [! e" a" J1 H4 L! O if(pTexture != NULL)+ h w) w$ M8 s' D# B
{
$ G0 H3 o; U+ | ?9 O- P point.y -= pTexture->m_size.cy + 5;* i# {5 R) ^. B2 V, A5 M, j+ |
pTexture->Render( &g_Neuz.m_2DRender, point );/ e! N+ _ o6 d3 Z1 O
}% ^8 H j) J% `) x
}
* Y4 G6 [/ a* R! q; O5 Y#endif // __3RD_LEGEND16
1 i/ w f8 ]2 N6 i5 i+ y
& ?0 P- K3 a* {, S. s" w' _: K A% ]0 `) T N5 e9 w+ |
|
|