|
源码 MoverRender.cpp' _. B! I& N+ @; k4 k4 `
0 G! M" N$ g4 a- X
Code:
5 o/ N/ ^4 [! d6 h5 A& y! y1 e7 {) T ?2 R
else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.
/ t' K4 P$ q3 R {
3 {3 |! Y1 P- N //strPath = MakePath( DIR_ICON, "icon_Hero.dds"); ) H/ u) r+ c/ V% O, |2 {/ u9 V5 R
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
* k2 D1 X/ Y5 J7 ?. v6 ]+ Z4 o( R pTexture = g_Neuz.m_pHeroIcon;
% Y$ k$ O% Z1 n. H' B9 [ if(pTexture != NULL)
' f8 p8 q& k7 u- }4 T5 q$ W* e {
0 E. X/ Z. e* \, n point.y -= pTexture->m_size.cy + 5;7 X) Q. i& I7 k$ p' H& f; n1 W
pTexture->Render( &g_Neuz.m_2DRender, point );
! Y/ K1 }3 \) D! B1 k* [ }+ W# a1 n, @5 x/ p1 o
}
6 \) K! h! M) K2 z+ E# N#if __VER >= 16 //__3RD_LEGEND16! m+ [! W% v( e6 I# E
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
/ m8 F+ z4 A/ I* t3 F {8 C5 u1 F$ |: |7 |! j% r
strPath = MakePath( DIR_ICON, "icon_Hero.dds");
8 ]0 \+ U* m' A5 Q& ?3 H: T2 M pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
& d/ y( A, m6 {9 |$ i// pTexture = g_Neuz.m_pLegendIcon[0];8 u4 g- `1 E! ]
if(pTexture != NULL)
% E; U- k' L$ N% O2 ]4 l' s {$ J2 F6 W3 J7 m! }% Q! y
point.y -= pTexture->m_size.cy + 5;
' A$ C N3 G) y5 w; ^ pTexture->Render( &g_Neuz.m_2DRender, point );: u) M# T, [& D1 z2 b: j6 E# u
}
7 w k* C- E5 |5 f- U. h: C2 c# { }
; F3 a* |. s7 v3 F( J5 V/ P6 U else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)" m; i0 l8 Y$ f
{
1 j( t' I7 V# ?* U v strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
; _( d+ w' i! U+ D+ j5 ~ z pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
5 a* r* t9 k& e% M( j1 ]// pTexture = g_Neuz.m_pLegendIcon[1];
% G* r! H8 w! ~5 E if(pTexture != NULL)
G# r- i2 d" K/ L( U, f {
1 @ f7 W0 d6 w3 v4 _' i$ n point.y -= pTexture->m_size.cy + 5;
$ W! ?( E' C& G( z) [( s7 L pTexture->Render( &g_Neuz.m_2DRender, point );# z N: y, ^/ s* S; O! f: `
}3 x i& Y; Q( @ B1 o4 g
}! ?7 c2 N0 j, Q7 F% c
#endif // __3RD_LEGEND16 |3 I* U: @- Y$ n( p, w* L5 m# ^
3 j6 c' f" n. b8 D+ u. `
; `3 n5 q* q9 s3 e7 U9 m. ?6 B3 K1 k; B
|
|