Skip to content

Commit 39f6dde

Browse files
committed
Sync latest code from Team Fortress 2
- Latest code as of 2025/05/14 - Include matsys_controls code to avoid vgui_controls changes being ABI. Closes: #1249
1 parent ba5fe68 commit 39f6dde

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+11899
-38
lines changed

src/game/client/c_point_commentary_node.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,10 @@ void CHudCommentary::Paint()
441441
// Draw the speaker names
442442
// Get our scheme and font information
443443
vgui::HScheme scheme = vgui::scheme()->GetScheme( "ClientScheme" );
444-
vgui::HFont hFont = vgui::scheme()->GetIScheme(scheme)->GetFont( "CommentaryDefault" );
444+
vgui::HFont hFont = vgui::scheme()->GetIScheme(scheme)->GetFont( "CommentaryDefault", true );
445445
if ( !hFont )
446446
{
447-
hFont = vgui::scheme()->GetIScheme(scheme)->GetFont( "Default" );
447+
hFont = vgui::scheme()->GetIScheme(scheme)->GetFont( "Default", true );
448448
}
449449
vgui::surface()->DrawSetTextFont( hFont );
450450
vgui::surface()->DrawSetTextColor( clr );

src/game/client/clientmode_shared.cpp

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -837,23 +837,26 @@ void ClientModeShared::StartMessageMode( int iMessageModeType )
837837
}
838838

839839
#if defined( TF_CLIENT_DLL )
840-
bool bSuspensionInMatch = GTFGCClientSystem() && GTFGCClientSystem()->BHaveChatSuspensionInCurrentMatch();
841-
if ( !cl_enable_text_chat.GetBool() || bSuspensionInMatch )
840+
if ( iMessageModeType == MM_SAY || iMessageModeType == MM_SAY_TEAM )
842841
{
843-
CBaseHudChat *pHUDChat = ( CBaseHudChat * ) GET_HUDELEMENT( CHudChat );
844-
if ( pHUDChat )
842+
bool bSuspensionInMatch = GTFGCClientSystem() && GTFGCClientSystem()->BHaveChatSuspensionInCurrentMatch();
843+
if ( !cl_enable_text_chat.GetBool() || bSuspensionInMatch )
845844
{
846-
const char *pszReason = "#TF_Chat_Disabled";
847-
if ( bSuspensionInMatch )
845+
CBaseHudChat *pHUDChat = ( CBaseHudChat * ) GET_HUDELEMENT( CHudChat );
846+
if ( pHUDChat )
848847
{
849-
pszReason = "#TF_Chat_Unavailable";
850-
}
848+
const char *pszReason = "#TF_Chat_Disabled";
849+
if ( bSuspensionInMatch )
850+
{
851+
pszReason = "#TF_Chat_Unavailable";
852+
}
851853

852-
char szLocalized[100];
853-
g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find( pszReason ), szLocalized, sizeof( szLocalized ) );
854-
pHUDChat->ChatPrintf( 0, CHAT_FILTER_NONE, "%s ", szLocalized );
854+
char szLocalized[100];
855+
g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find( pszReason ), szLocalized, sizeof( szLocalized ) );
856+
pHUDChat->ChatPrintf( 0, CHAT_FILTER_NONE, "%s ", szLocalized );
857+
}
858+
return;
855859
}
856-
return;
857860
}
858861
#endif // TF_CLIENT_DLL
859862

src/game/client/hud_closecaption.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ void CHudCloseCaption::CreateFonts( void )
15961596
{
15971597
vgui::IScheme *pScheme = vgui::scheme()->GetIScheme( GetScheme() );
15981598

1599-
m_hFonts[CCFONT_NORMAL] = pScheme->GetFont( "CloseCaption_Normal", true );
1599+
m_hFonts[CCFONT_NORMAL] = pScheme->GetFont( "CloseCaption", true );
16001600

16011601
if ( IsPC() )
16021602
{

src/game/client/tf/tf_hud_mann_vs_machine_status.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,14 @@ void CWaveStatusPanel::UpdateEnemyCounts( void )
851851

852852
if ( pPanel->m_pEnemyCountImageBG )
853853
{
854-
pPanel->m_pEnemyCountImageBG->SetBgColor( m_clrNormal );
854+
if ( support[i].iFlags & MVM_CLASS_FLAG_MINIBOSS )
855+
{
856+
pPanel->m_pEnemyCountImageBG->SetBgColor( m_clrMiniBoss );
857+
}
858+
else
859+
{
860+
pPanel->m_pEnemyCountImageBG->SetBgColor( m_clrNormal );
861+
}
855862
}
856863

857864
if ( pPanel->m_pEnemyCountCritBG )

src/game/client/tf/tf_hud_scope.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,4 +525,4 @@ void CHudScope::Paint( void )
525525
if( bDisableClipping )
526526
g_pMatSystemSurface->DisableClipping( false );
527527

528-
}
528+
}

src/game/client/voice_menu.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
static int g_ActiveVoiceMenu = 0;
1919

20+
#if defined( TF_CLIENT_DLL )
21+
extern ConVar tf_voice_command_suspension_mode;
22+
#endif
23+
2024
void OpenVoiceMenu( int index )
2125
{
2226
// do not show the menu if the player is dead or is an observer
@@ -28,7 +32,7 @@ void OpenVoiceMenu( int index )
2832
return;
2933

3034
#if defined ( TF_CLIENT_DLL )
31-
if ( GTFGCClientSystem() && GTFGCClientSystem()->BHaveChatSuspensionInCurrentMatch() )
35+
if ( GTFGCClientSystem() && GTFGCClientSystem()->BHaveChatSuspensionInCurrentMatch() && tf_voice_command_suspension_mode.GetInt() == 1 )
3236
{
3337
CBaseHudChat *pHUDChat = ( CBaseHudChat * ) GET_HUDELEMENT( CHudChat );
3438
if ( pHUDChat )

src/game/server/tf/bot/tf_bot.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,9 +704,9 @@ DEFINE_SCRIPTFUNC( IsOnAnyMission, "Return true if this bot has a current missio
704704
DEFINE_SCRIPTFUNC_WRAPPED( SetMissionTarget, "Set this bot's mission target to the given entity" )
705705
DEFINE_SCRIPTFUNC_WRAPPED( GetMissionTarget, "Get this bot's current mission target" )
706706

707-
DEFINE_SCRIPTFUNC( SetBehaviorFlag, "Set the given behavior flag(s) for this bot" )
708-
DEFINE_SCRIPTFUNC( ClearBehaviorFlag, "Clear the given behavior flag(s) for this bot" )
709-
DEFINE_SCRIPTFUNC( IsBehaviorFlagSet, "Return true if the given behavior flag(s) are set for this bot" )
707+
DEFINE_SCRIPTFUNC_WRAPPED( SetBehaviorFlag, "Set the given behavior flag(s) for this bot" )
708+
DEFINE_SCRIPTFUNC_WRAPPED( ClearBehaviorFlag, "Clear the given behavior flag(s) for this bot" )
709+
DEFINE_SCRIPTFUNC_WRAPPED( IsBehaviorFlagSet, "Return true if the given behavior flag(s) are set for this bot" )
710710

711711
DEFINE_SCRIPTFUNC_WRAPPED( SetActionPoint, "Set the given action point for this bot" )
712712
DEFINE_SCRIPTFUNC_WRAPPED( GetActionPoint, "Get the given action point for this bot" )

src/game/server/tf/bot/tf_bot.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,9 @@ class CTFBot: public NextBotPlayer< CTFPlayer >, public CGameEventListener
331331
void SetBehaviorFlag( unsigned int flags );
332332
void ClearBehaviorFlag( unsigned int flags );
333333
bool IsBehaviorFlagSet( unsigned int flags ) const;
334+
void ScriptSetBehaviorFlag( int flags ) { this->SetBehaviorFlag( (unsigned int)flags ); }
335+
void ScriptClearBehaviorFlag( int flags ) { this->ClearBehaviorFlag( (unsigned int)flags ); }
336+
bool ScriptIsBehaviorFlagSet( int flags ) const { return this->IsBehaviorFlagSet( (unsigned int)flags ); }
334337

335338
bool FindSplashTarget( CBaseEntity *target, float maxSplashRadius, Vector *splashTarget ) const;
336339

@@ -358,11 +361,11 @@ class CTFBot: public NextBotPlayer< CTFPlayer >, public CGameEventListener
358361
CBaseEntity *GetMissionTarget( void ) const;
359362
void SetMissionString( CUtlString string );
360363
CUtlString *GetMissionString( void );
361-
void ScriptSetMission( unsigned int mission, bool resetBehaviorSystem = true ) { this->SetMission( (MissionType)mission, resetBehaviorSystem ); }
362-
void ScriptSetPrevMission( unsigned int mission ) { this->SetPrevMission( (MissionType)mission ); }
363-
unsigned int ScriptGetMission( void ) const { return (unsigned int)this->GetMission(); }
364-
unsigned int ScriptGetPrevMission( void ) const { return (unsigned int)this->GetPrevMission(); }
365-
bool ScriptHasMission( unsigned int mission ) const { return this->HasMission( (MissionType)mission ); }
364+
void ScriptSetMission( int mission, bool resetBehaviorSystem = true ) { this->SetMission( (MissionType)mission, resetBehaviorSystem ); }
365+
void ScriptSetPrevMission( int mission ) { this->SetPrevMission( (MissionType)mission ); }
366+
int ScriptGetMission( void ) const { return (int)this->GetMission(); }
367+
int ScriptGetPrevMission( void ) const { return (int)this->GetPrevMission(); }
368+
bool ScriptHasMission( int mission ) const { return this->HasMission( (MissionType)mission ); }
366369
void ScriptSetMissionTarget( HSCRIPT hTarget ) { this->SetMissionTarget( ToEnt( hTarget ) ); }
367370
HSCRIPT ScriptGetMissionTarget( void ) const { return ToHScript( this->GetMissionTarget() ); }
368371

src/game/server/tf/entity_currencypack.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,17 @@ void CCurrencyPack::ComeToRest( void )
210210
}
211211
}
212212
}
213+
213214
// Or a func_respawnroom (robots can drop money in their own spawn)
214215
for ( int i = 0; i < IFuncRespawnRoomAutoList::AutoList().Count(); i++ )
215216
{
216-
CFuncRespawnRoom *pRespawnRoom = static_cast<CFuncRespawnRoom*>( IFuncRespawnRoomAutoList::AutoList()[i] );
217+
CFuncRespawnRoom *pRespawnRoom = static_cast<CFuncRespawnRoom *>( IFuncRespawnRoomAutoList::AutoList()[ i ] );
217218
Vector vecMins, vecMaxs;
218219
pRespawnRoom->GetCollideable()->WorldSpaceSurroundingBounds( &vecMins, &vecMaxs );
219220
if ( IsPointInBox( GetCollideable()->GetCollisionOrigin(), vecMins, vecMaxs ) )
220221
{
221222
TFGameRules()->DistributeCurrencyAmount( m_nAmount );
223+
222224
m_bTouched = true;
223225
UTIL_Remove( this );
224226
}

src/game/server/tf/tf_player.cpp

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ extern ConVar sv_vote_allow_spectators;
277277
ConVar sv_vote_late_join_time( "sv_vote_late_join_time", "90", FCVAR_NONE, "Grace period after the match starts before players who join the match receive a vote-creation cooldown" );
278278
ConVar sv_vote_late_join_cooldown( "sv_vote_late_join_cooldown", "300", FCVAR_NONE, "Length of the vote-creation cooldown when joining the server after the grace period has expired" );
279279

280+
extern ConVar tf_voice_command_suspension_mode;
280281
extern ConVar tf_feign_death_duration;
281282
extern ConVar spec_freeze_time;
282283
extern ConVar spec_freeze_traveltime;
@@ -19993,7 +19994,20 @@ bool CTFPlayer::ShouldShowVoiceSubtitleToEnemy( void )
1999319994
//-----------------------------------------------------------------------------
1999419995
bool CTFPlayer::CanSpeakVoiceCommand( void )
1999519996
{
19996-
return ( gpGlobals->curtime > m_flNextVoiceCommandTime );
19997+
if ( tf_voice_command_suspension_mode.GetInt() == 1 )
19998+
return false;
19999+
20000+
if ( gpGlobals->curtime <= m_flNextVoiceCommandTime )
20001+
return false;
20002+
20003+
// misyl: New F2P voice command rate-limiting path.
20004+
if ( BHaveChatSuspensionInCurrentMatch() && tf_voice_command_suspension_mode.GetInt() == 2 )
20005+
{
20006+
if ( !m_RateLimitedVoiceCommandTokenBucket.BTakeToken( gpGlobals->curtime ) )
20007+
return false;
20008+
}
20009+
20010+
return true;
1999720011
}
1999820012

1999920013
//-----------------------------------------------------------------------------

src/game/server/tf/tf_player.h

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,46 @@ enum EAmmoSource
6666
kAmmoSource_ResourceMeter, // it regenerated after a cooldown
6767
};
6868

69+
extern ConVar tf_voice_command_suspension_rate_limit_bucket_count;
70+
extern ConVar tf_voice_command_suspension_rate_limit_bucket_refill_rate;
71+
72+
class CVoiceCommandBucketSizer
73+
{
74+
public:
75+
int GetBucketSize() const { return tf_voice_command_suspension_rate_limit_bucket_count.GetInt(); }
76+
float GetBucketRefillRate() const { return tf_voice_command_suspension_rate_limit_bucket_refill_rate.GetFloat(); }
77+
};
78+
79+
template <typename TBucketSizer>
80+
class CRateLimitingTokenBucket : public TBucketSizer
81+
{
82+
public:
83+
CRateLimitingTokenBucket()
84+
: m_nBucket( this->GetBucketSize() )
85+
{
86+
}
87+
88+
bool BTakeToken( float flNow )
89+
{
90+
// misyl: This token bucket doesn't go negative, so you don't ever dig yourself into a hole by spamming.
91+
// You might want that if you use this class, feel free to add something to the BucketSizer.
92+
93+
int nNewBucket = MIN( m_nBucket + ( flNow - m_flLastTokenTaken ) / this->GetBucketRefillRate(), this->GetBucketSize() ) - 1;
94+
if ( nNewBucket <= 0 )
95+
{
96+
return false;
97+
}
98+
99+
m_nBucket = nNewBucket;
100+
m_flLastTokenTaken = flNow;
101+
102+
return true;
103+
}
104+
private:
105+
float m_flLastTokenTaken = 0.0f;
106+
int m_nBucket = 0;
107+
};
108+
69109
//=============================================================================
70110
//
71111
// TF Player
@@ -483,6 +523,8 @@ class CTFPlayer : public CBaseMultiplayerPlayer, public IHasAttributes, public I
483523
float m_flNextVoiceCommandTime;
484524
int m_iVoiceSpamCounter;
485525

526+
CRateLimitingTokenBucket<CVoiceCommandBucketSizer> m_RateLimitedVoiceCommandTokenBucket;
527+
486528
float m_flNextSpeakWeaponFire;
487529

488530
virtual int CalculateTeamBalanceScore( void );

src/game/shared/saverestore.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ void CSave::Log( const char *pName, fieldtype_t fieldType, void *value, int coun
333333
byte *pColor = &pValue[iCount*4];
334334
Q_snprintf( szTempBuf, sizeof( szTempBuf ), "(%d %d %d %d)", ( int )pColor[0], ( int )pColor[1], ( int )pColor[2], ( int )pColor[3] );
335335
Q_strncat( szBuf, szTempBuf, sizeof( szTempBuf ), COPY_ALL_CHARACTERS );
336+
break;
336337
}
337338
case FIELD_EMBEDDED:
338339
case FIELD_CUSTOM:

src/game/shared/tf/tf_gamemovement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ int CTFGameMovement::CheckStuck( void )
13771377
m_pTFPlayer->GetTeam()->GetName(),
13781378
m_pTFPlayer->GetAbsOrigin().x, m_pTFPlayer->GetAbsOrigin().y, m_pTFPlayer->GetAbsOrigin().z );
13791379

1380-
m_pTFPlayer->CommitSuicide(false, true);
1380+
m_pTFPlayer->CommitSuicide( false, true );
13811381
}
13821382
else
13831383
{

src/game/shared/tf/tf_gamerules.cpp

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,13 @@ ConVar tf_competitive_required_late_join_confirm_timeout( "tf_competitive_requir
11071107

11081108
ConVar tf_gamemode_community ( "tf_gamemode_community", "0", FCVAR_REPLICATED | FCVAR_NOTIFY | FCVAR_DEVELOPMENTONLY );
11091109

1110+
ConVar tf_voice_command_suspension_mode( "tf_voice_command_suspension_mode", "2", FCVAR_REPLICATED, "0 = None | 1 = No Voice Commands | 2 = Rate Limited" );
1111+
11101112
#ifdef GAME_DLL
1113+
1114+
ConVar tf_voice_command_suspension_rate_limit_bucket_count( "tf_voice_command_suspension_rate_limit_bucket_count", "5" ); // Bucket size of 5.
1115+
ConVar tf_voice_command_suspension_rate_limit_bucket_refill_rate( "tf_voice_command_suspension_rate_limit_bucket_refill_rate", "6" ); // 6s
1116+
11111117
void cc_powerup_mode( IConVar *pConVar, const char *pOldString, float flOldValue )
11121118
{
11131119
ConVarRef var( pConVar );
@@ -10127,7 +10133,12 @@ VoiceCommandMenuItem_t *CTFGameRules::VoiceCommand( CBaseMultiplayerPlayer *pPla
1012710133
if ( pTFPlayer )
1012810134
{
1012910135
if ( pTFPlayer->BHaveChatSuspensionInCurrentMatch() )
10130-
return NULL;
10136+
{
10137+
if ( tf_voice_command_suspension_mode.GetInt() == 1 )
10138+
{
10139+
return NULL;
10140+
}
10141+
}
1013110142

1013210143
if ( pTFPlayer->m_Shared.InCond( TF_COND_HALLOWEEN_GHOST_MODE ) )
1013310144
{

src/game/shared/tf/tf_item_powerup_bottle.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,16 +279,16 @@ void CTFPowerupBottle::ReapplyProvision( void )
279279
// Refill weapon clips
280280
for ( int i = 0; i < MAX_WEAPONS; i++ )
281281
{
282-
CTFWeaponBase *pWeapon = dynamic_cast<CTFWeaponBase*>(pTFPlayer->GetWeapon(i));
282+
CTFWeaponBase *pWeapon = dynamic_cast<CTFWeaponBase *>( pTFPlayer->GetWeapon( i ) );
283283
if ( !pWeapon )
284284
continue;
285285

286286
// ACHIEVEMENT_TF_MVM_USE_AMMO_BOTTLE
287287
if ( TFGameRules() && TFGameRules()->IsMannVsMachineMode() )
288288
{
289289
if ( ( pWeapon->UsesPrimaryAmmo() && !pWeapon->HasPrimaryAmmo() ) ||
290-
( pWeapon->UsesSecondaryAmmo() && !pWeapon->HasSecondaryAmmo() ) ||
291-
( pWeapon->IsEnergyWeapon() && !pWeapon->Energy_HasEnergy() ) )
290+
( pWeapon->UsesSecondaryAmmo() && !pWeapon->HasSecondaryAmmo() ) ||
291+
( pWeapon->IsEnergyWeapon() && !pWeapon->Energy_HasEnergy() ) )
292292
{
293293
pTFPlayer->AwardAchievement( ACHIEVEMENT_TF_MVM_USE_AMMO_BOTTLE );
294294
}
@@ -298,7 +298,7 @@ void CTFPowerupBottle::ReapplyProvision( void )
298298

299299
if ( iShareBottle && pHealTarget )
300300
{
301-
CTFWeaponBase *pPatientWeapon = dynamic_cast<CTFWeaponBase*>(pHealTarget->GetWeapon(i));
301+
CTFWeaponBase *pPatientWeapon = dynamic_cast<CTFWeaponBase *>( pHealTarget->GetWeapon( i ) );
302302
if ( !pPatientWeapon )
303303
continue;
304304

src/game/shared/tf/tf_player_shared.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9698,7 +9698,9 @@ void CTFPlayerShared::StunPlayer( float flTime, float flReductionAmount, int iSt
96989698

96999699
float flRemapAmount = RemapValClamped( flReductionAmount, 0.0, 1.0, 0, 255 );
97009700

9701+
#ifdef GAME_DLL
97019702
int iOldStunFlags = GetStunFlags();
9703+
#endif
97029704

97039705
// Already stunned
97049706
bool bStomp = false;

src/game/shared/tf/tf_weapon_flamethrower.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@ bool CTFFlameThrower::EffectMeterShouldFlash( void )
21102110
//-----------------------------------------------------------------------------
21112111
Vector CTFFlameThrower::GetMuzzlePosHelper( bool bVisualPos )
21122112
{
2113-
Vector vecMuzzlePos;
2113+
Vector vecMuzzlePos = vec3_origin;
21142114
CTFPlayer *pOwner = GetTFPlayerOwner();
21152115
if ( pOwner )
21162116
{

src/game/shared/tf/tf_weaponbase.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,11 +424,14 @@ void CTFWeaponBase::Activate( void )
424424
GiveDefaultAmmo();
425425
}
426426

427-
void CTFWeaponBase::GiveDefaultAmmo(void)
427+
//-----------------------------------------------------------------------------
428+
// Purpose:
429+
//-----------------------------------------------------------------------------
430+
void CTFWeaponBase::GiveDefaultAmmo( void )
428431
{
429432
BaseClass::GiveDefaultAmmo();
430433

431-
if (IsEnergyWeapon())
434+
if ( IsEnergyWeapon() )
432435
{
433436
m_flEnergy = Energy_GetMaxEnergy();
434437
}
72 Bytes
Binary file not shown.
1.47 KB
Binary file not shown.
16 Bytes
Binary file not shown.
40 Bytes
Binary file not shown.
64 Bytes
Binary file not shown.

src/lib/public/linux64/appframework.a

24.5 KB
Binary file not shown.

src/lib/public/linux64/gcsdk_sdk.a

1.77 KB
Binary file not shown.
-13.3 MB
Binary file not shown.

src/lib/public/x64/appframework.lib

40 Bytes
Binary file not shown.

src/lib/public/x64/bitmap.lib

120 Bytes
Binary file not shown.

src/lib/public/x64/choreoobjects.lib

192 Bytes
Binary file not shown.

src/lib/public/x64/datamodel.lib

104 Bytes
Binary file not shown.

src/lib/public/x64/dmxloader.lib

48 Bytes
Binary file not shown.

src/lib/public/x64/gcsdk_sdk.lib

1.63 KB
Binary file not shown.

src/lib/public/x64/libz.lib

128 Bytes
Binary file not shown.
-12.7 MB
Binary file not shown.

src/lib/public/x64/particles.lib

88 Bytes
Binary file not shown.

src/lib/public/x64/shaderlib.lib

128 Bytes
Binary file not shown.

src/lib/public/x64/tier2.lib

152 Bytes
Binary file not shown.

src/lib/public/x64/tier3.lib

28 Bytes
Binary file not shown.

src/lib/public/x64/vpklib.lib

96 Bytes
Binary file not shown.

src/lib/public/x64/vtf.lib

32 Bytes
Binary file not shown.

src/public/const.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
#define FL_INWATER (1<<9) // In water
122122

123123
// NOTE if you move things up, make sure to change this value
124-
#define PLAYER_FLAG_BITS 10
124+
#define PLAYER_FLAG_BITS 32
125125

126126
#define FL_FLY (1<<10) // Changes the SV_Movestep() behavior to not need to be on ground
127127
#define FL_SWIM (1<<11) // Changes the SV_Movestep() behavior to not need to be on ground (but stay in water)

src/public/gcsdk/msgprotobuf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class CProtoBufMsgBase
101101

102102
virtual ~CProtoBufMsgBase();
103103

104+
bool BIsInitialized() const;
104105
bool InitFromPacket( IMsgNetPacket * pNetPacket );
105106
bool BAsyncSend( IProtoBufSendHandler & pSender ) const;
106107
bool BAsyncSendWithPreSerializedBody( IProtoBufSendHandler & pSender, const byte *pubBody, uint32 cubBody ) const;

0 commit comments

Comments
 (0)