[saco] Implement/match CNewPlayerTags::FUNC_1006CD80 and FUNC_1006CD90; the nametag pass brackets its batch with these

This commit is contained in:
ricardoofnl
2026-09-03 00:53:30 +07:00
parent 5b5922b77b
commit e1835e9e99
2 changed files with 15 additions and 0 deletions
+13
View File
@@ -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);
+2
View File
@@ -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();