阅读:3835回复:2
《飞飞》五转职业图标五级更换
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 |
|
最新喜欢:liulin... |
板凳#
发布于:2023-12-16 08:29
为了一个铜币努力176938000
|
|