|
|
@ -324,14 +324,6 @@ int __MsgFunc_AllowSpec( const char *pszName, int iSize, void *pbuf ) |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void __CmdFunc_CloseCommandMenu(void) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void __CmdFunc_ForceCloseCommandMenu( void ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// This is called every time the DLL is loaded
|
|
|
|
// This is called every time the DLL is loaded
|
|
|
|
void CHud::Init( void ) |
|
|
|
void CHud::Init( void ) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -342,8 +334,6 @@ void CHud::Init( void ) |
|
|
|
HOOK_MESSAGE( SetFOV ); |
|
|
|
HOOK_MESSAGE( SetFOV ); |
|
|
|
HOOK_MESSAGE( Concuss ); |
|
|
|
HOOK_MESSAGE( Concuss ); |
|
|
|
|
|
|
|
|
|
|
|
HOOK_COMMAND( "togglebrowser", ToggleServerBrowser ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HOOK_MESSAGE( ServerName ); |
|
|
|
HOOK_MESSAGE( ServerName ); |
|
|
|
|
|
|
|
|
|
|
|
HOOK_COMMAND( "+commandmenu", OpenCommandMenu ); |
|
|
|
HOOK_COMMAND( "+commandmenu", OpenCommandMenu ); |
|
|
@ -439,6 +429,8 @@ void CHud::Init( void ) |
|
|
|
m_AmmoSecondary.Init(); |
|
|
|
m_AmmoSecondary.Init(); |
|
|
|
m_TextMessage.Init(); |
|
|
|
m_TextMessage.Init(); |
|
|
|
m_StatusIcons.Init(); |
|
|
|
m_StatusIcons.Init(); |
|
|
|
|
|
|
|
m_FlagStat.Init(); |
|
|
|
|
|
|
|
m_Bonus.Init(); |
|
|
|
#if USE_VGUI |
|
|
|
#if USE_VGUI |
|
|
|
GetClientVoiceMgr()->Init(&g_VoiceStatusHelper, (vgui::Panel**)&gViewPort); |
|
|
|
GetClientVoiceMgr()->Init(&g_VoiceStatusHelper, (vgui::Panel**)&gViewPort); |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -448,12 +440,7 @@ void CHud::Init( void ) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#if !USE_VGUI || USE_NOVGUI_SCOREBOARD |
|
|
|
#if !USE_VGUI || USE_NOVGUI_SCOREBOARD |
|
|
|
m_Scoreboard.Init(); |
|
|
|
m_Scoreboard.Init(); |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
m_FlagStat.Init(); |
|
|
|
|
|
|
|
m_Bonus.Init(); |
|
|
|
|
|
|
|
======= |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
>>>>>>> master |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_Menu.Init(); |
|
|
|
m_Menu.Init(); |
|
|
|
|
|
|
|
|
|
|
@ -633,13 +620,9 @@ void CHud::VidInit( void ) |
|
|
|
m_AmmoSecondary.VidInit(); |
|
|
|
m_AmmoSecondary.VidInit(); |
|
|
|
m_TextMessage.VidInit(); |
|
|
|
m_TextMessage.VidInit(); |
|
|
|
m_StatusIcons.VidInit(); |
|
|
|
m_StatusIcons.VidInit(); |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
m_Spectator.VidInit(); |
|
|
|
m_Spectator.VidInit(); |
|
|
|
m_Scoreboard.VidInit(); |
|
|
|
|
|
|
|
m_MOTD.VidInit(); |
|
|
|
|
|
|
|
m_FlagStat.VidInit(); |
|
|
|
m_FlagStat.VidInit(); |
|
|
|
m_Bonus.VidInit(); |
|
|
|
m_Bonus.VidInit(); |
|
|
|
======= |
|
|
|
|
|
|
|
#if USE_VGUI |
|
|
|
#if USE_VGUI |
|
|
|
GetClientVoiceMgr()->VidInit(); |
|
|
|
GetClientVoiceMgr()->VidInit(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -649,7 +632,6 @@ void CHud::VidInit( void ) |
|
|
|
#if !USE_VGUI || USE_NOVGUI_SCOREBOARD |
|
|
|
#if !USE_VGUI || USE_NOVGUI_SCOREBOARD |
|
|
|
m_Scoreboard.VidInit(); |
|
|
|
m_Scoreboard.VidInit(); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
>>>>>>> master |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int CHud::MsgFunc_Logo( const char *pszName, int iSize, void *pbuf ) |
|
|
|
int CHud::MsgFunc_Logo( const char *pszName, int iSize, void *pbuf ) |
|
|
|