(https://i.imgur.com/E5NSZvG.png)
Descargar
You require the following to view this post content:
- Debes dar las gracias a este tema para ver su contenido.
- You need to log in to view this content, please login or register.
Contraseña: gamesmu.com
Main
----------------
Central.cpp
#include "CustomRanking.
Controller.cpp
#include "CustomRanking.h"
-----------------------------------------------
#if(CUSTOM_RANKING_NEW)
gRanking.ClickRanking(wParam);
-----------------------------------------------
// --
case VK_F8:
{
gCustomRanking.OpenWindow();
-----------------------------------------------
Interface.cpp
#include "CustomRanking.h"
-----------------------------------------------
#if(CUSTOM_RANKING_NEW)
gRanking.BingImg();
#endif
-----------------------------------------------
#if(CUSTOM_RANKING_NEW)
gRanking.Draw();
-----------------------------------------------
pLoadImage("Custom\\NutXepHang\\ButtonA.tga" , 0x17908, GL_LINEAR, GL_REPEAT, 1, 0);
pLoadImage("Custom\\NutXepHang\\ButtonB.tga" , 0x17909, GL_LINEAR, GL_REPEAT, 1, 0);
pLoadImage("Custom\\NutXepHang\\Ranking.tga" , 0x17906, GL_LINEAR, GL_REPEAT, 1, 0);
stdafx.h
#define CUSTOM_RANKING_NEW 1 // ON
------------------------------------------------
Protocol.cpp
#if(CUSTOM_RANKING_NEW)
case 0xD3:
switch (((lpMsg[0] == 0xC1) ? lpMsg[3] : lpMsg[4]))
{
case 0x40: //
{
gRanking.GCReqInfoCharTop((DATA_VIEWTOPRANKING*)lpMsg);
return 1;
}
break;
}
#endif
-------------------------------------------------
#include "CustomRanking.h"
-------------------------------------------------
#if(CUSTOM_RANKING_NEW)
struct UP_SEND_REQ
{
PSBMSG_HEAD h;
};
-------------------------------------------------
ItemManager.h
#if(CUSTOM_RANKING_NEW)
int CItemManager::GetItemLevel(int mIndexItem);
#endif
-------------------------------------------------
#if(CUSTOM_RANKING_NEW)
int CItemManager::GetItemLevel(int mIndexItem) // OK
{
std::map<int, ITEM_INFO>::iterator LC = this->m_ItemInfo.find(mIndexItem);
if (LC != this->m_ItemInfo.end())
{
return LC->second.Level;
}
return -1;
}
#endif]