|
源码 MoverRender.cpp
9 c- V9 T$ B( ]
8 B- u; ~ I9 f& ]# B8 ~. pCode:1 b5 N, ^ R% W8 h1 k+ C4 K$ ]
, s) Q, P( T# ]6 E else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.3 }4 I% E+ X; p) L5 j
{" f/ d2 y, p6 V( G7 x! x6 @# a5 @* B2 i
//strPath = MakePath( DIR_ICON, "icon_Hero.dds");
& v* c; R# A q: n# |//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
$ m4 {6 A O2 u( T2 o" j3 K2 \% M pTexture = g_Neuz.m_pHeroIcon; 0 G! ?9 P6 H; a6 T/ j) x8 R; B
if(pTexture != NULL) - l2 l7 I4 J5 k% \, G9 k/ E: t
{
+ w* b! o/ m6 J- Z& J: S- k point.y -= pTexture->m_size.cy + 5;, }) k% ]3 G ]1 @! B X) j; |
pTexture->Render( &g_Neuz.m_2DRender, point );, w/ j$ b' A7 Y4 c( r1 O/ d! y/ u$ ~
}" ~9 v! Y! Q, W9 c, U6 a% z
}
+ w$ F+ K4 p. M/ @: q# ^0 K: c) \#if __VER >= 16 //__3RD_LEGEND160 P! M: P) R% p3 @
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
# `5 I5 Q* S4 P5 B. V {
( G S; Y2 I+ R: T$ N+ c strPath = MakePath( DIR_ICON, "icon_Hero.dds");" A8 A0 G* j' g1 K! d
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );' F3 i' w2 v' [% U4 o
// pTexture = g_Neuz.m_pLegendIcon[0];; C+ o% K" r. T: @
if(pTexture != NULL)3 ]- e# G( h+ z
{
8 M n6 ~1 o0 Z0 n point.y -= pTexture->m_size.cy + 5;
' e4 q( v8 f. P* j, V2 Y pTexture->Render( &g_Neuz.m_2DRender, point );. n' D+ V8 Q9 S& i
}7 h/ ~8 c# ^ L( Q
}& z) r0 k% c+ T
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)* A, B) g/ c7 K9 p+ k, E
{, q3 a& a! i3 M) l9 J" M# b1 u
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
2 m0 E, C$ w/ x- ~# K. }4 }# Y pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
1 y0 }3 |3 d7 R$ X% ^// pTexture = g_Neuz.m_pLegendIcon[1];0 s/ `3 S5 ^7 d$ m8 C: s% \
if(pTexture != NULL)
1 m% {4 E3 f+ ` {
6 p/ q- @% J& ~" n7 W point.y -= pTexture->m_size.cy + 5;
) _1 H* J6 X: H, z: e% S8 I/ E pTexture->Render( &g_Neuz.m_2DRender, point );9 h* h; X+ d- G& ?" e- d8 B
}5 P, i6 F; S) _& A }
}4 N8 h2 Z5 k$ ]4 R
#endif // __3RD_LEGEND16
6 U4 _5 Z0 ^4 @; w. q1 U/ W
8 X4 M8 U' {* s
$ o9 n8 W, Q* n8 i |
|