|
源码 MoverRender.cpp
' @. \( b! G" r7 |( G: u; i) K/ ]% @6 ^
Code:9 o5 Z+ u# E" E0 A$ A
) |/ d& {9 c7 p# S else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.+ s3 g; m8 |! ?" Q- _% _
{+ k7 V9 @8 B% x
//strPath = MakePath( DIR_ICON, "icon_Hero.dds"); 8 j3 x! e/ {' U, P6 A1 V* w
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );, x/ n f0 X( G- g% f6 F
pTexture = g_Neuz.m_pHeroIcon;
, X7 O5 { w7 S7 w5 m( z( B" ~ if(pTexture != NULL)
$ }( `! l5 g$ d, E1 [ W {
+ D1 w2 ?* W$ t7 \& s/ }- N point.y -= pTexture->m_size.cy + 5;
3 f3 X3 c$ c! V7 { pTexture->Render( &g_Neuz.m_2DRender, point );4 s; ~% e% g& ]2 [) z
}
1 o$ T* ^! q# E }
# m4 O1 v j0 l s. K0 U- P) f' ?2 ?#if __VER >= 16 //__3RD_LEGEND16
9 S- K8 N) a, T( X9 W& B else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)+ K: r- R4 i/ C+ z
{
7 V7 Y8 ^0 ~- j2 A& r3 d strPath = MakePath( DIR_ICON, "icon_Hero.dds");
4 ?0 }$ w7 V9 N2 T pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
4 d0 [) d" c0 y6 G y' K// pTexture = g_Neuz.m_pLegendIcon[0];
* R' [& g2 G% ~' R if(pTexture != NULL)9 N2 }+ w: D8 m( r
{/ q6 N# E) {, Y2 R
point.y -= pTexture->m_size.cy + 5;
# U% y, \4 O8 e; L: J8 l pTexture->Render( &g_Neuz.m_2DRender, point );" I1 x. n& i: ~- I6 J! G" x
}0 N- z5 C* }3 k8 H" s
}
% ^, {2 ?5 A# D$ N# z, P: t else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
; P/ J9 c, v0 B* B" T {( E2 O* f% m0 {
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
- y! W/ c f7 w) l& `2 s1 p pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
( g: J8 ?: Z- T; H& g4 A2 s// pTexture = g_Neuz.m_pLegendIcon[1];
! u6 i/ e" H; _; Z if(pTexture != NULL)
2 @/ T9 y$ s) G- e {- W* s! A- n1 w! \; U
point.y -= pTexture->m_size.cy + 5;
$ A# s% J, ~& h pTexture->Render( &g_Neuz.m_2DRender, point );8 f* n5 B* p- V7 w" }
}9 W& b& r+ G" l" V7 |! e
}7 d- Q; {1 y$ X6 ^& }; |0 U) B
#endif // __3RD_LEGEND16
& U8 ]8 ]. ]+ D5 W
6 |3 }. A" M1 f% [. l) G5 x! J8 i8 x$ K7 X4 S
|
|