void CDisplayText::DisplayText(const char *text, CObject* pObj, float time, TextType type) { if (pObj == nullptr) return; Math::Vector pos = pObj->GetPosition(); float h = GetIdealHeight(pObj); float d = GetIdealDist(pObj); DisplayText(text, pos, h, d, time, type); }
void CDisplayText::DisplayError(Error err, CObject* pObj, float time) { if (pObj == nullptr) return; Math::Vector pos = pObj->GetPosition(); float h = GetIdealHeight(pObj); float d = GetIdealDist(pObj); DisplayError(err, pos, h, d, time); }
void CDisplayText::DisplayError(Error err, CObject* pObj, float time) { Math::Vector pos; float h, d; if ( pObj == 0 ) return; pos = pObj->GetPosition(0); h = GetIdealHeight(pObj); d = GetIdealDist(pObj); DisplayError(err, pos, h, d, time); }
void CDisplayText::DisplayText(const char *text, CObject* pObj, float time, TextType type) { Math::Vector pos; float h, d; if ( pObj == 0 ) return; pos = pObj->GetPosition(0); h = GetIdealHeight(pObj); d = GetIdealDist(pObj); DisplayText(text, pos, h, d, time, type); }