mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Implement/match CNewPlayerTags::FUNC_1006CD80 and FUNC_1006CD90; the nametag pass brackets its batch with these
This commit is contained in:
@@ -76,6 +76,19 @@ void CNewPlayerTags::End()
|
||||
m_pStates->Apply();
|
||||
}
|
||||
|
||||
// the nametag pass brackets its batch with these two instead of Begin/End
|
||||
void CNewPlayerTags::FUNC_1006CD80()
|
||||
{
|
||||
if(m_pSprite)
|
||||
m_pSprite->Begin(D3DXSPRITE_ALPHABLEND);
|
||||
}
|
||||
|
||||
void CNewPlayerTags::FUNC_1006CD90()
|
||||
{
|
||||
if(m_pSprite)
|
||||
m_pSprite->End();
|
||||
}
|
||||
|
||||
void CNewPlayerTags::DeleteDeviceObjects()
|
||||
{
|
||||
SAFE_RELEASE(m_pStates);
|
||||
|
||||
@@ -25,6 +25,8 @@ public:
|
||||
|
||||
void Begin();
|
||||
void End();
|
||||
void FUNC_1006CD80();
|
||||
void FUNC_1006CD90();
|
||||
void Draw(D3DXVECTOR3* pPlayerPos, float fHealth, float fArmor, float fDistanceFromLocalPlayer);
|
||||
|
||||
void DeleteDeviceObjects();
|
||||
|
||||
Reference in New Issue
Block a user