|
|
源码 MoverRender.cpp
- U4 F- M/ R3 w7 r- j2 w" Z3 y! @
Code:+ E% c0 d |5 X4 ]( i
2 E( w7 d0 c! _ ^ else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.
: R, j. X& m- m+ N! Y6 Z {
0 E6 s/ [- |, w& Y9 C2 x4 F [3 Z //strPath = MakePath( DIR_ICON, "icon_Hero.dds"); 5 V3 L/ H% E0 p' H! @6 n
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
& _4 y: ~' l4 s# W pTexture = g_Neuz.m_pHeroIcon; % z( c% T9 E( K
if(pTexture != NULL)
6 ~8 }! w' x3 I7 [6 ?0 Q( n {; I( l! a5 x5 |+ o
point.y -= pTexture->m_size.cy + 5;
$ V) j7 D$ W) j/ s pTexture->Render( &g_Neuz.m_2DRender, point );
& k! c9 s+ D2 q: S. s b& @ }
8 }5 V y/ l7 l& A, c3 [2 O }
! U6 ]3 X. t. @$ i1 d; g#if __VER >= 16 //__3RD_LEGEND16
& W% }0 t9 a. ?/ x else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)4 N) J% a& X) B( [
{
+ i; I/ Q7 x4 ?" G strPath = MakePath( DIR_ICON, "icon_Hero.dds"); h# v. w- w k3 _9 T8 `) s
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );9 F& g/ u$ a( K: ^) E2 T4 s
// pTexture = g_Neuz.m_pLegendIcon[0];9 j5 p6 u: ? B/ \
if(pTexture != NULL)9 x; t7 m& C& x5 ?2 g( m/ c7 \
{
1 H! W' R0 I: Y- {- n& d \; L point.y -= pTexture->m_size.cy + 5;
$ k1 N' d! P7 R pTexture->Render( &g_Neuz.m_2DRender, point );
( |4 j$ s: n0 t0 h) Y* L, ^ }
8 f5 d6 T' Y0 g! L }
0 |/ L+ S, v: W9 |* Y else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
) L6 _* j$ z5 u& I {4 z' F/ t" k, m6 k+ M9 u
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");5 L% c; E8 c6 W3 S4 r
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
4 h6 A( c3 l6 y: V2 Y2 y1 r// pTexture = g_Neuz.m_pLegendIcon[1];& k; d3 i1 v) v4 v
if(pTexture != NULL)
9 q' x/ L& X# t# O9 P {: J' t$ o+ m2 p$ a; w8 g) k2 b! L* K1 X
point.y -= pTexture->m_size.cy + 5;5 w- O3 z- ~& n0 C( Q
pTexture->Render( &g_Neuz.m_2DRender, point );, m/ y5 \ E' b- w
}
+ s2 ]/ v L% w& T# _ }7 H! R) r; Z7 S! s
#endif // __3RD_LEGEND16
& u2 N5 L: j4 s% d: a4 ?
$ d w" t0 D, A8 D _6 x
) x5 i7 Z( L" T" ^ w8 { |
|