diff --git a/mp/game/mod_hl2mp/bin/client.dll b/mp/game/mod_hl2mp/bin/client.dll index 120d5992c..a3d75b895 100644 Binary files a/mp/game/mod_hl2mp/bin/client.dll and b/mp/game/mod_hl2mp/bin/client.dll differ diff --git a/mp/game/mod_hl2mp/bin/server.dll b/mp/game/mod_hl2mp/bin/server.dll index b74b2cd18..bdfbf9267 100644 Binary files a/mp/game/mod_hl2mp/bin/server.dll and b/mp/game/mod_hl2mp/bin/server.dll differ diff --git a/mp/src/game/client/client_hl2mp.vpc b/mp/src/game/client/client_hl2mp.vpc index 88e18a8ec..de24bbcfc 100644 --- a/mp/src/game/client/client_hl2mp.vpc +++ b/mp/src/game/client/client_hl2mp.vpc @@ -114,6 +114,15 @@ $Project "Client (HL2MP)" $File "hl2\vgui_rootpanel_hl2.cpp" } + $Folder "seco" + { + $File "$SRCDIR\game\client\episodic\flesh_internal_material_proxy.cpp" + $File "$SRCDIR\game\client\game_controls\classmenu.cpp" + $File "$SRCDIR\game\shared\hl2\survival_gamerules.cpp" + $File "$SRCDIR\game\shared\secobmod\weapon_hands.cpp" + $File "$SRCDIR\game\shared\secobmod\weapon_pg.cpp" + } + $Folder "HL2MP" { $File "hl2mp\c_hl2mp_player.cpp" @@ -127,6 +136,8 @@ $Project "Client (HL2MP)" $File "$SRCDIR\game\shared\hl2mp\hl2mp_player_shared.h" $File "$SRCDIR\game\shared\hl2mp\hl2mp_weapon_parse.cpp" $File "$SRCDIR\game\shared\hl2mp\hl2mp_weapon_parse.h" + $File "$SRCDIR\game\client\secobmod\c_vehicle_passenger_seat.cpp" + $File "$SRCDIR\game\client\secobmod\c_weapon_portalgun.cpp" $Folder "Weapons" { diff --git a/mp/src/game/server/server_hl2mp.vpc b/mp/src/game/server/server_hl2mp.vpc index 46d039db6..16c7b71ea 100644 --- a/mp/src/game/server/server_hl2mp.vpc +++ b/mp/src/game/server/server_hl2mp.vpc @@ -61,6 +61,25 @@ $Project "Server (HL2MP)" $File "$SRCDIR\game\shared\teamplay_round_timer.cpp" $File "$SRCDIR\game\shared\teamplay_round_timer.h" + $Folder "seco" + { + $File "$SRCDIR\game\server\ai_behavior_passenger.cpp" + $File "$SRCDIR\game\server\ai_eventresponse.cpp" + $File "$SRCDIR\game\server\episodic\ai_behavior_passenger_companion.cpp" + $File "$SRCDIR\game\server\hl2\ai_behavior_operator.cpp" + $File "$SRCDIR\game\server\hl2\grenade_spit.cpp" + $File "$SRCDIR\game\server\hl2\info_darknessmode_lightsource.cpp" + $File "$SRCDIR\game\server\hl2\npc_alyx_episodic.cpp" + $File "$SRCDIR\game\server\vehicle_choreo_generic.cpp" + $File "$SRCDIR\game\server\secobmod\companioncube.cpp" + $File "$SRCDIR\game\server\secobmod\Func_PortalMonitor1.cpp" + $File "$SRCDIR\game\server\secobmod\Func_PortalMonitor2.cpp" + $File "$SRCDIR\game\server\secobmod\npc_secobmodportal1.cpp" + $File "$SRCDIR\game\server\secobmod\npc_secobmodportal2.cpp" + $File "$SRCDIR\game\server\secobmod\vehicle_passenger_seat.cpp" + $File "$SRCDIR\game\shared\secobmod\weapon_hands.cpp" + $File "$SRCDIR\game\shared\secobmod\weapon_pg.cpp" + } $Folder "HL2 DLL" { $File "hl2\ai_allymanager.cpp" @@ -140,8 +159,6 @@ $Project "Server (HL2MP)" $File "hl2\item_suit.cpp" $File "hl2\look_door.cpp" $File "hl2\monster_dummy.cpp" - $File "hl2\npc_alyx.cpp" - $File "hl2\npc_alyx.h" $File "hl2\npc_antlion.cpp" $File "hl2\npc_antlion.h" $File "hl2\npc_antlionguard.cpp" diff --git a/mp/src/game/server/soundscape.cpp b/mp/src/game/server/soundscape.cpp index 46a7b91dd..215eb5956 100644 --- a/mp/src/game/server/soundscape.cpp +++ b/mp/src/game/server/soundscape.cpp @@ -307,14 +307,7 @@ void CEnvSoundscape::UpdateForPlayer( ss_update_t &update ) // draw myself NDebugOverlay::Box(GetAbsOrigin(), Vector(-10,-10,-10), Vector(10,10,10), 255, 0, 255, 64, NDEBUG_PERSIST_TILL_NEXT_SERVER ); -#ifdef SecobMod__Enable_Fixed_Multiplayer_AI - CBasePlayer *pPlayer = UTIL_GetLocalPlayer(); -#else -// Don't use GetLocalPlayer(), because that prevents multiplayer games using this for testing with a single client in the game - CBasePlayer *pPlayer = UTIL_PlayerByIndex(1); -#endif //SecobMod__Enable_Fixed_Multiplayer_AI - -if ( update.pPlayer ) + if ( update.pPlayer ) { audioparams_t &audio = update.pPlayer->GetAudioParams(); if ( audio.ent.Get() != this ) diff --git a/mp/src/game/shared/baseviewmodel_shared.cpp b/mp/src/game/shared/baseviewmodel_shared.cpp index aba027ce8..150ae9c51 100644 --- a/mp/src/game/shared/baseviewmodel_shared.cpp +++ b/mp/src/game/shared/baseviewmodel_shared.cpp @@ -27,6 +27,13 @@ extern ConVar in_forceuser; #include "iclientmode.h" #endif +#ifdef CLIENT_DLL + #include "c_hl2mp_player.h" + #include "hl2mp_player_shared.h" + #include "weapon_hl2mpbase.h" +#endif // CLIENT_DLL + + // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h"