|
源码 MoverRender.cpp. q& y3 ]7 j5 o8 X' B$ x& \5 W1 N
( B& n6 u7 h# M: hCode:+ d2 I$ W1 ~9 T3 G) i x5 a: x
}- W- f: n; t9 ?
else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.8 r" T. v' [ s* I
{
4 V: L& Q$ t* w1 y. w/ O/ N //strPath = MakePath( DIR_ICON, "icon_Hero.dds"); 5 E- {: K0 q/ s3 k. x4 r
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
" j6 m- I4 R8 D pTexture = g_Neuz.m_pHeroIcon; * G5 x5 w; T y% f
if(pTexture != NULL) 7 d$ W9 _& i( y- v( N! F
{
: ?* w$ Y6 l0 D+ {2 W point.y -= pTexture->m_size.cy + 5;
' }+ Q# ^5 s3 B! i8 E# \" j4 g# f6 W pTexture->Render( &g_Neuz.m_2DRender, point );
/ U3 Z2 m6 S4 I, J }
: |! r& k( ~2 Z- P: l }
$ m! s/ R" K! J/ K' v#if __VER >= 16 //__3RD_LEGEND16
; F% g+ h, k b) G8 a7 u/ c5 Z! T else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)' T. X, [. @6 T+ r' {- f! y9 x
{
2 K H' n# P2 m( {5 o5 `& r N strPath = MakePath( DIR_ICON, "icon_Hero.dds");
% r" S6 C: |2 T+ O( q5 b1 Q! S pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );" b" q2 S3 p9 Q& R5 T( w
// pTexture = g_Neuz.m_pLegendIcon[0];% d/ E- B0 u9 H. x* g9 A% \$ H
if(pTexture != NULL)% `. o2 J& P- l2 u' z% y
{& ]0 c+ I9 n; y8 D
point.y -= pTexture->m_size.cy + 5;+ Y5 ?+ O* [" W' V8 M' ?6 P
pTexture->Render( &g_Neuz.m_2DRender, point );
) K0 m9 y' l" x: U- s }8 } S% ^8 r: B) B7 o) t. W
}
/ d3 u% ]% L, I2 A else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150), [5 A! [. B9 F6 H: H
{
T$ c0 G4 @0 I L strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
1 E- m# _/ m/ x* w* ^ pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
& K$ B8 ?2 {( C. S: `// pTexture = g_Neuz.m_pLegendIcon[1];
, e; z. k9 L4 `, Y+ K: A if(pTexture != NULL)# m% N( [! O. s* m. _2 p2 B
{
0 V; T7 q0 G" C6 p/ v; B6 i3 G! h point.y -= pTexture->m_size.cy + 5;, o6 j% \- i9 q, F1 S
pTexture->Render( &g_Neuz.m_2DRender, point );
1 n+ C8 g4 p# [5 U/ d" Q+ k9 Q- ~ }
8 ~4 T7 q4 `7 U8 l }' o0 n- A1 b. U
#endif // __3RD_LEGEND16( n2 |2 f: H& R" B
# Y# M5 [+ W" P. n: ?
' p8 i6 o" R ^# K, `- I, h. l( b7 z
|
|