Skip to content

Commit

Permalink
game: client: Remove g15
Browse files Browse the repository at this point in the history
  • Loading branch information
tyabus committed Oct 1, 2023
1 parent b886cb2 commit 8753524
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 1,913 deletions.
12 changes: 0 additions & 12 deletions game/client/cdll_client_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
#include "tier3/tier3.h"
#include "avi/iavi.h"
#include "avi/iquicktime.h"
#include "ihudlcd.h"
#include "toolframework_client.h"
#include "hltvcamera.h"
#include "hltvreplaysystem.h"
Expand Down Expand Up @@ -1884,12 +1883,6 @@ void CHLClient::HudUpdate( bool bActive )
// run vgui animations
vgui::GetAnimationController()->UpdateAnimations( Plat_FloatTime() );

if ( hudlcd )
{
hudlcd->SetGlobalStat( "(time_int)", VarArgs( "%d", (int)gpGlobals->curtime ) );
hudlcd->SetGlobalStat( "(time_float)", VarArgs( "%.2f", gpGlobals->curtime ) );
}

// I don't think this is necessary any longer, but I will leave it until
// I can check into this further.
C_BaseTempEntity::CheckDynamicTempEnts();
Expand Down Expand Up @@ -2491,11 +2484,6 @@ CEG_NOINLINE void CHLClient::LevelInitPreEntity( char const* pMapName )

ClientVoiceMgr_LevelInit();

if ( hudlcd )
{
hudlcd->SetGlobalStat( "(mapname)", pMapName );
}

C_BaseTempEntity::ClearDynamicTempEnts();
clienteffects->Flush();
view->LevelInit();
Expand Down
1 change: 0 additions & 1 deletion game/client/client_base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ target_sources(${OUTBINNAME} PRIVATE "${SRCDIR}/public/vallocator.cpp")
target_sources(${OUTBINNAME} PRIVATE "${SRCDIR}/public/vgui_controls/vgui_controls.cpp")
target_sources(${OUTBINNAME} PRIVATE "${SRCDIR}/public/jigglebones.cpp")
target_sources(${OUTBINNAME} PRIVATE "${SRCDIR}/public/phonemeconverter.cpp")
target_sources(${OUTBINNAME} PRIVATE "hud_lcd.cpp")
target_sources(${OUTBINNAME} PRIVATE "in_mouse.cpp")
target_sources(${OUTBINNAME} PRIVATE "in_steamcontroller.cpp")
target_sources(${OUTBINNAME} PRIVATE "mumble.cpp")
Expand Down
13 changes: 0 additions & 13 deletions game/client/cstrike15/cs_hud_chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "engine/IEngineSound.h"
#include "radio_status.h"
#include "bot/shared_util.h"
#include "ihudlcd.h"
#include "voice_status.h"
#include <vgui/IScheme.h>

Expand Down Expand Up @@ -178,18 +177,6 @@ void CHudChat::ChatPrintf(int iPlayerIndex, int iFilter, const char* fmt, ...)
return;
}

if (hudlcd)
{
if (*pmsg < 32)
{
hudlcd->AddChatLine(pmsg + 1);
}
else
{
hudlcd->AddChatLine(pmsg);
}
}

line->SetText("");

int iNameStart = 0;
Expand Down
7 changes: 0 additions & 7 deletions game/client/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "filesystem.h"
#include <vgui_controls/AnimationController.h>
#include <vgui/ISurface.h>
#include "hud_lcd.h"
#if defined( CSTRIKE15 )
#include "c_cs_player.h"
#include "cs_gamerules.h"
Expand Down Expand Up @@ -400,8 +399,6 @@ void CHud::Init( void )
// Create all the Hud elements
CHudElementHelper::CreateAllElements();

gLCD.Init();

// Initialize all created elements
for ( int i = 0; i < GetHudList().Count(); i++ )
{
Expand Down Expand Up @@ -473,8 +470,6 @@ void CHud::InitFonts()
//-----------------------------------------------------------------------------
void CHud::Shutdown( void )
{
gLCD.Shutdown();

// Delete all the Hud elements
int iMax = GetHudList().Count();
for ( int i = iMax-1; i >= 0; i-- )
Expand Down Expand Up @@ -1136,8 +1131,6 @@ void CHud::UpdateHud( bool bActive )
m_iKeyBits &= ( ~( IN_WEAPON1|IN_WEAPON2 ));

GetClientMode()->Update();

gLCD.Update();
}

void CHud::OnSplitScreenStateChanged()
Expand Down
13 changes: 0 additions & 13 deletions game/client/hud_basechat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "ienginevgui.h"
#include "c_playerresource.h"
#include "cstrike15/c_cs_playerresource.h"
#include "ihudlcd.h"
#include "vgui/IInput.h"
#include "vgui/ILocalize.h"
#include "multiplay_gamerules.h"
Expand Down Expand Up @@ -1947,18 +1946,6 @@ void CBaseHudChat::ChatPrintf( int iPlayerIndex, int iFilter, const char *fmt, .
return;
}

if ( hudlcd )
{
if ( *pmsg < 32 )
{
hudlcd->AddChatLine( pmsg + 1 );
}
else
{
hudlcd->AddChatLine( pmsg );
}
}

line->SetText( "" );

int iNameStart = 0;
Expand Down
Loading

0 comments on commit 8753524

Please sign in to comment.