[Friends] Correctly display the rank
This commit is contained in:
@ -14,6 +14,8 @@ namespace Game
|
||||
CL_ConnectFromParty_t CL_ConnectFromParty = CL_ConnectFromParty_t(0x433D30);
|
||||
CL_DownloadsComplete_t CL_DownloadsComplete = CL_DownloadsComplete_t(0x42CE90);
|
||||
CL_DrawStretchPicPhysical_t CL_DrawStretchPicPhysical = CL_DrawStretchPicPhysical_t(0x4FC120);
|
||||
CL_GetRankForXP_t CL_GetRankForXP = CL_GetRankForXP_t(0x4FF8A0);
|
||||
CL_GetRankIcon_t CL_GetRankIcon = CL_GetRankIcon_t(0x4A7B30);
|
||||
CL_HandleRelayPacket_t CL_HandleRelayPacket = CL_HandleRelayPacket_t(0x5A8C70);
|
||||
CL_ResetViewport_t CL_ResetViewport = CL_ResetViewport_t(0x4A8830);
|
||||
CL_SelectStringTableEntryInDvar_f_t CL_SelectStringTableEntryInDvar_f = CL_SelectStringTableEntryInDvar_f_t(0x4A4560);
|
||||
|
@ -29,6 +29,12 @@ namespace Game
|
||||
typedef void(_cdecl * CL_DrawStretchPicPhysical_t)(float x, float y, float w, float h, float xScale, float yScale, float xay, float yay, const float *color, Game::Material* material);
|
||||
extern CL_DrawStretchPicPhysical_t CL_DrawStretchPicPhysical;
|
||||
|
||||
typedef int(_cdecl* CL_GetRankForXP_t)(int xp);
|
||||
extern CL_GetRankForXP_t CL_GetRankForXP;
|
||||
|
||||
typedef void(__cdecl * CL_GetRankIcon_t)(int level, int prestige, Material** material);
|
||||
extern CL_GetRankIcon_t CL_GetRankIcon;
|
||||
|
||||
typedef void(__cdecl * CL_HandleRelayPacket_t)(Game::msg_t* msg, int client);
|
||||
extern CL_HandleRelayPacket_t CL_HandleRelayPacket;
|
||||
|
||||
|
Reference in New Issue
Block a user