|
|
源码 MoverRender.cpp0 |9 h( i2 D. h- N z
8 D# s5 l2 ~ ~4 VCode:
% B, h& R' H4 H6 [9 [
}- z, i& U: w else if(checkhero == LEGEND_CLASS_HERO) //憉憃AI煝慽.* y1 \4 O2 }& I- b
{
o) I% v6 j# V4 u: g, W2 k6 k //strPath = MakePath( DIR_ICON, "icon_Hero.dds"); " l, S' @) J4 R/ n( ~( K0 F6 H
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff ); T Q: ^1 O8 s2 u1 o
pTexture = g_Neuz.m_pHeroIcon; 7 h" N: t2 [4 K2 G, l3 b N
if(pTexture != NULL)
7 r* L2 i0 L& K1 k7 |) I {
9 t# E1 @/ M. _ n2 L0 Z. U point.y -= pTexture->m_size.cy + 5;! s- q/ {7 g3 A# p# R. A1 v
pTexture->Render( &g_Neuz.m_2DRender, point );
: y# B7 o I* G& _( C, s9 A }
6 k$ U" h0 S+ P$ J+ T2 E. z }
1 U! A9 S( w5 i, z! ?4 f#if __VER >= 16 //__3RD_LEGEND16
( q$ U# x" S3 R/ H# R; @" k1 a else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
3 m- X* S* D0 x7 E, @ {
6 K* D4 d, V; Q% T( Z. p strPath = MakePath( DIR_ICON, "icon_Hero.dds");/ T: G9 f9 w( B
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
" L2 B) ?) R2 y: b" }& Q9 s$ h, D( T6 y// pTexture = g_Neuz.m_pLegendIcon[0];5 h& o8 F$ m* D/ n
if(pTexture != NULL), l( T B( G; j0 r" a) E, G# ^
{
6 s3 ?9 N* A# \ point.y -= pTexture->m_size.cy + 5;) I6 w! P; d# ~9 L# f4 H. V' Q
pTexture->Render( &g_Neuz.m_2DRender, point );
5 w; A/ P& `7 q/ {! F& Y, s }
& c. X& @9 p6 H1 A! M7 _ }
5 N" ~ b% Y5 ~# ^# ] else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)! l0 X# M$ \ _2 ^4 v: B
{3 w( S$ }+ U7 f) n& S
strPath = MakePath( DIR_ICON, "icon_Hero1.dds");
! d' w$ s! u( V+ j: `5 p! ~ pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
& |7 p2 H5 n/ L3 v- R// pTexture = g_Neuz.m_pLegendIcon[1];# d4 r8 B. n/ R `6 W) ^. d! Y, E; l
if(pTexture != NULL)
3 |( D" M7 o, M7 Y" T3 o8 J {
6 O+ o5 a4 B R2 v. n point.y -= pTexture->m_size.cy + 5;4 q% ]9 P, b2 C) ?' i. R% V+ K2 {
pTexture->Render( &g_Neuz.m_2DRender, point );- q7 H r9 y/ p1 }
}& ?+ o! o* ?* b6 V$ e( ~9 K
}
5 U0 J: U! `5 C4 x/ V; D0 |9 \#endif // __3RD_LEGEND16 b% r$ }* d5 x8 h1 k+ S/ P% G/ c
2 `; G0 G& Z/ r, |. n
+ }2 M1 _. D) g/ y3 I+ } |
|