|
源码 MoverRender.cpp$ k X! c$ X1 _0 u# a: N
- G8 D2 M+ S! m1 b8 E1 Z
Code:
9 b4 h8 W( G8 \5 {! H. Q$ m5 H/ f
. V$ G7 P2 I5 C, U else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.
- l8 {% r6 I( c2 d9 L, G F, B {
7 f6 @5 ]/ B+ t3 ` //strPath = MakePath( DIR_ICON, "icon_Hero.dds");
! G2 [4 ]1 l! `, K! E//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
+ x! f: [/ [1 h( ~1 R2 m pTexture = g_Neuz.m_pHeroIcon; 4 h+ ^3 T) ~8 v$ c! R- l( |3 D/ ^: L
if(pTexture != NULL) / @& k r; z& J7 o0 v
{
8 R l9 L# k) o* y+ e/ a" S! G/ x point.y -= pTexture->m_size.cy + 5;+ d- W/ _. p2 v
pTexture->Render( &g_Neuz.m_2DRender, point );
4 q. H. h9 X7 H7 y1 i }
! u g% W& b2 ^. w x2 m }
& Z' T1 z/ h$ d- ^! g#if __VER >= 16 //__3RD_LEGEND16. o; n3 m! |+ W; s+ J6 P0 n; P/ W
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
% w# U/ A3 M8 P) j% Q+ ^ {9 {$ L1 u8 N3 x# {9 S. o6 N
strPath = MakePath( DIR_ICON, "icon_Hero.dds");( B2 C8 s9 K1 U0 z) K. g
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
& \0 H' p6 n9 ?* Z* R0 n+ }// pTexture = g_Neuz.m_pLegendIcon[0];7 J5 l* x) L- L: _
if(pTexture != NULL)
6 k1 G- s# _& e3 D9 @ {* N" S6 { s. d; u: l
point.y -= pTexture->m_size.cy + 5;2 u0 t, f' z( e/ R/ m+ l9 w
pTexture->Render( &g_Neuz.m_2DRender, point );
! d5 U4 E4 b/ } }
1 @! m0 y0 W U( R! \ }
: t6 f5 C8 E& ~0 H% B else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)+ K/ R- L; Q. q/ O) [
{8 O8 x* Q3 |1 ?4 _
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
8 W s1 ]1 E9 Q0 v pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
( }: R& c) V* g+ h2 ^# A// pTexture = g_Neuz.m_pLegendIcon[1];
; G5 t% k$ x- U, a2 l" d9 P2 O if(pTexture != NULL)
$ r7 Z- a/ j7 O7 ]) \ {$ Q* F6 m& x _% F; p, c7 Y2 A: u. P
point.y -= pTexture->m_size.cy + 5;
* `; `/ s' K3 k" [! n4 [) Y pTexture->Render( &g_Neuz.m_2DRender, point );
9 T, ~- s, v# X8 x/ K2 I4 P }; g9 U) V5 G; Q1 Q1 Y6 d
}4 A* L& Z1 R# L3 s2 @
#endif // __3RD_LEGEND16; S; x0 z% a: ~5 W6 }
7 q8 O& D" r) f6 Q
, |8 w3 K. d2 ?4 L/ s |
|