lk1986
圣骑士
圣骑士
  • UID64
  • 发帖数86
  • QQ15151515
  • 社区居民
  • 原创写手
阅读:3465回复:2

《飞飞》五转职业图标五级更换

楼主#
更多 发布于:2019-03-06 09:46
MoverRender.cpp文件

找到
#if __VER >= 16 //__3RD_LEGEND16
 else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel <= 200)
 {
  strPath = MakePath( DIR_ICON, "icon_Hero.dds");
  pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//   pTexture = g_Neuz.m_pLegendIcon[0];
  if(pTexture != NULL)
  {
   point.y -= pTexture->m_size.cy + 4;
   pTexture->Render( &g_Neuz.m_2DRender, point );
  }
 }
#endif // __3RD_LEGEND16

修改为:
#if    __VER >= 16 //__3RD_LEGEND16
      else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 135)
      {
          strPath = MakePath( DIR_ICON, "Legend135.dds");
          pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//            pTexture = g_Neuz.m_pLegendIcon[0];
          if(pTexture != NULL)
          {
              point.y -= pTexture->m_size.cy + 5;
              pTexture->Render( &g_Neuz.m_2DRender, point );
          }
      }
             else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 135 && m_nLevel < 140)
      {
          strPath = MakePath( DIR_ICON, "Legend140.dds");
          pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//            pTexture = g_Neuz.m_pLegendIcon[1];
          if(pTexture != NULL)
          {
              point.y -= pTexture->m_size.cy + 5;
              pTexture->Render( &g_Neuz.m_2DRender, point );
          }
      }
                    else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 145)
      {
          strPath = MakePath( DIR_ICON, "Legend145.dds");
          pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//            pTexture = g_Neuz.m_pLegendIcon[1];
          if(pTexture != NULL)
          {
              point.y -= pTexture->m_size.cy + 5;
              pTexture->Render( &g_Neuz.m_2DRender, point );
          }
      }
                    else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 145 && m_nLevel < 150)
      {
          strPath = MakePath( DIR_ICON, "Legend150.dds");
          pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//            pTexture = g_Neuz.m_pLegendIcon[1];
          if(pTexture != NULL)
          {
              point.y -= pTexture->m_size.cy + 5;
              pTexture->Render( &g_Neuz.m_2DRender, point );
          }
      }
                           else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 150)
      {
          strPath = MakePath( DIR_ICON, "Icon_Legend.dds");
          pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//            pTexture = g_Neuz.m_pLegendIcon[1];
          if(pTexture != NULL)
          {
              point.y -= pTexture->m_size.cy + 5;
              pTexture->Render( &g_Neuz.m_2DRender, point );
          }
      }
#endif // __3RD_LEGEND16

那么现在你五转之后每5级头上的图标将自动更换,.dds的图片请自行收集放入ICON文件夹内
ICO文件百度网盘链接:http://pan.baidu.com/s/1sjPxlCT 密码:7ra9
喜欢1 评分0

最新喜欢:

liulinkanliulin...
regtoemail
精灵王
精灵王
  • UID1179
  • 发帖数1532
  • QQ309104321
  • 社区居民
沙发#
发布于:2023-12-16 08:29
为了一个铜币努力176938000
回复(0) 喜欢(0)     评分
hashcat
骑士
骑士
  • UID1650
  • 发帖数241
  • QQ93652685
板凳#
发布于:2022-10-29 03:18
《飞飞》五转职业图标五级更换
回复(0) 喜欢(0)     评分
游客

返回顶部