@@ -103,9 +103,6 @@ BEGIN_NETWORK_TABLE_NOBASE( CTeamplayRoundBasedRules, DT_TeamplayRoundBasedRules
103103 RecvPropBool( RECVINFO( m_bCheatsEnabledDuringLevel ) ),
104104 RecvPropTime( RECVINFO( m_flCountdownTime ) ),
105105 RecvPropTime( RECVINFO( m_flStateTransitionTime ) ),
106- #ifdef BDSBASE
107- RecvPropString (RECVINFO(m_pszCustomKillIconsFile)),
108- #endif
109106#else
110107 SendPropInt ( SENDINFO( m_iRoundState ), 5 ),
111108 SendPropBool( SENDINFO( m_bInWaitingForPlayers ) ),
@@ -126,9 +123,6 @@ BEGIN_NETWORK_TABLE_NOBASE( CTeamplayRoundBasedRules, DT_TeamplayRoundBasedRules
126123 SendPropBool( SENDINFO( m_bCheatsEnabledDuringLevel ) ),
127124 SendPropTime( SENDINFO( m_flCountdownTime ) ),
128125 SendPropTime( SENDINFO( m_flStateTransitionTime ) ),
129- #ifdef BDSBASE
130- SendPropString (SENDINFO(m_pszCustomKillIconsFile)),
131- #endif
132126#endif
133127END_NETWORK_TABLE ()
134128
@@ -179,9 +173,6 @@ END_SEND_TABLE()
179173BEGIN_DATADESC( CTeamplayRoundBasedRulesProxy )
180174 // Inputs.
181175 DEFINE_INPUTFUNC( FIELD_BOOLEAN, " SetStalemateOnTimelimit" , InputSetStalemateOnTimelimit ),
182- #ifdef BDSBASE
183- DEFINE_INPUTFUNC (FIELD_STRING, " SetCustomKillIconsFile" , InputSetCustomKillIconsFile),
184- #endif
185176END_DATADESC()
186177
187178// -----------------------------------------------------------------------------
@@ -191,16 +182,6 @@ void CTeamplayRoundBasedRulesProxy::InputSetStalemateOnTimelimit( inputdata_t &i
191182{
192183 TeamplayRoundBasedRules ()->SetStalemateOnTimelimit ( inputdata.value .Bool () );
193184}
194-
195- #ifdef BDSBASE
196- // -----------------------------------------------------------------------------
197- // Purpose:
198- // -----------------------------------------------------------------------------
199- void CTeamplayRoundBasedRulesProxy::InputSetCustomKillIconsFile (inputdata_t & inputdata)
200- {
201- TeamplayRoundBasedRules ()->SetCustomKillIconsFile (inputdata.value .String ());
202- }
203- #endif
204185#endif
205186
206187#ifdef GAME_DLL
@@ -547,10 +528,6 @@ CTeamplayRoundBasedRules::CTeamplayRoundBasedRules( void )
547528
548529 m_hWaitingForPlayersTimer = NULL ;
549530 m_bStopWatchShouldBeTimedWin = false ;
550- #else // GAME_DLL
551- #ifdef BDSBASE
552- V_strncpy (m_pszOldCustomKillIconsFile, " " , MAX_PATH);
553- #endif
554531#endif
555532}
556533
@@ -603,13 +580,6 @@ void CTeamplayRoundBasedRules::AddTeamRespawnWaveTime( int iTeam, float flValue
603580
604581 m_TeamRespawnWaveTimes.Set ( iTeam, flNewValue );
605582}
606-
607- #ifdef BDSBASE
608- void CTeamplayRoundBasedRules::SetCustomKillIconsFile (const char * pszCustomKillIconsFile)
609- {
610- V_StripExtension (pszCustomKillIconsFile, m_pszCustomKillIconsFile.GetForModify (), MAX_PATH);
611- }
612- #endif
613583#endif
614584
615585// -----------------------------------------------------------------------------
@@ -3820,14 +3790,6 @@ void CTeamplayRoundBasedRules::OnDataChanged( DataUpdateType_t updateType )
38203790 {
38213791 HandleOvertimeBegin ();
38223792 }
3823-
3824- #ifdef BDSBASE
3825- if (!FStrEq (m_pszOldCustomKillIconsFile, m_pszCustomKillIconsFile))
3826- {
3827- V_strncpy (m_pszOldCustomKillIconsFile, m_pszCustomKillIconsFile, MAX_PATH);
3828- gHUD .RefreshHudTextures (GetCustomKillIconsFile ());
3829- }
3830- #endif
38313793}
38323794#endif // CLIENT_DLL
38333795
0 commit comments