//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CHud::VidInit( void ) { for ( int i = 0; i < GetHudList().Count(); i++ ) { GetHudList()[ i ]->VidInit(); } ResetHUD(); }
int CHud :: MsgFunc_ResetHUD(const char *pszName, int iSize, void *pbuf ) { //This used to be 0, but the server sends a byte over, so it's changed now. - Solokiller ASSERT( iSize == 1 ); ResetHUD(); return 1; }
//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CHud::VidInit(void) { for (int i = 0; i < m_HudList.Size(); i++) { m_HudList[i]->VidInit(); } ResetHUD(); }
//----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CHud::OnRestore() { ResetHUD(); }
void CHud::MsgFunc_ResetHUD( bf_read &msg ) { ResetHUD(); }