mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
* Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details.
* Pulled in bug fixes from HL2 and HL2MP.
This commit is contained in:
1303
game/client/client_base.vpc
Normal file
1303
game/client/client_base.vpc
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
189
game/client/client_hl2mp.vpc
Normal file
189
game/client/client_hl2mp.vpc
Normal file
@ -0,0 +1,189 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// CLIENT_HL2MP.VPC
|
||||
//
|
||||
// Project Script
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro GAMENAME "hl2mp" [!$SOURCESDK]
|
||||
$Macro GAMENAME "mod_hl2mp" [$SOURCESDK]
|
||||
|
||||
$Include "$SRCDIR\game\client\client_base.vpc"
|
||||
|
||||
$macro VSLIBDIR "." [!$VS2010]
|
||||
$macro VSLIBDIR "VS2010" [$VS2010]
|
||||
|
||||
$Configuration
|
||||
{
|
||||
$Compiler
|
||||
{
|
||||
$AdditionalIncludeDirectories "$BASE;hl2mp\ui,.\hl2mp,$SRCDIR\game\shared\hl2mp,.\hl2,.\hl2\elements,$SRCDIR\game\shared\hl2"
|
||||
$PreprocessorDefinitions "$BASE;HL2MP;HL2_CLIENT_DLL"
|
||||
}
|
||||
}
|
||||
|
||||
$Project "Client (HL2MP)"
|
||||
{
|
||||
$Folder "Source Files"
|
||||
{
|
||||
-$File "$SRCDIR\game\shared\weapon_parse_default.cpp"
|
||||
|
||||
$File "c_team_objectiveresource.cpp"
|
||||
$File "c_team_objectiveresource.h"
|
||||
$File "c_team_train_watcher.cpp"
|
||||
$File "c_team_train_watcher.h"
|
||||
$File "hud_voicestatus.cpp"
|
||||
$File "$SRCDIR\game\shared\predicted_viewmodel.cpp"
|
||||
$File "$SRCDIR\game\shared\predicted_viewmodel.h"
|
||||
$File "$SRCDIR\game\shared\teamplay_round_timer.cpp"
|
||||
$File "$SRCDIR\game\shared\teamplay_round_timer.h"
|
||||
|
||||
$Folder "HL2 DLL"
|
||||
{
|
||||
$File "episodic\c_vort_charge_token.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\basehlcombatweapon_shared.cpp"
|
||||
$File "hl2\c_antlion_dust.cpp"
|
||||
$File "hl2\c_ar2_explosion.cpp"
|
||||
$File "hl2\c_barnacle.cpp"
|
||||
$File "hl2\c_barney.cpp"
|
||||
$File "hl2\c_basehelicopter.cpp"
|
||||
$File "hl2\c_basehelicopter.h"
|
||||
$File "hl2\c_basehlcombatweapon.cpp"
|
||||
$File "hl2\c_basehlcombatweapon.h"
|
||||
$File "hl2\c_basehlplayer.cpp"
|
||||
$File "hl2\c_basehlplayer.h"
|
||||
$File "hl2\c_citadel_effects.cpp"
|
||||
$File "hl2\c_corpse.cpp"
|
||||
$File "hl2\c_corpse.h"
|
||||
$File "hl2\c_env_alyxtemp.cpp"
|
||||
$File "hl2\c_env_headcrabcanister.cpp"
|
||||
$File "hl2\c_env_starfield.cpp"
|
||||
$File "hl2\c_func_tankmortar.cpp"
|
||||
$File "hl2\c_hl2_playerlocaldata.cpp"
|
||||
$File "hl2\c_hl2_playerlocaldata.h"
|
||||
$File "hl2\c_info_teleporter_countdown.cpp"
|
||||
$File "hl2\c_npc_antlionguard.cpp"
|
||||
$File "hl2\c_npc_combinegunship.cpp"
|
||||
$File "hl2\c_npc_manhack.cpp"
|
||||
$File "hl2\c_npc_rollermine.cpp"
|
||||
$File "hl2\c_plasma_beam_node.cpp"
|
||||
$File "hl2\c_prop_combine_ball.cpp"
|
||||
$File "hl2\c_prop_combine_ball.h"
|
||||
$File "hl2\c_rotorwash.cpp"
|
||||
$File "hl2\c_script_intro.cpp"
|
||||
$File "$SRCDIR\game\shared\script_intro_shared.cpp"
|
||||
$File "hl2\c_strider.cpp"
|
||||
$File "hl2\c_te_concussiveexplosion.cpp"
|
||||
$File "hl2\c_te_flare.cpp"
|
||||
$File "hl2\c_thumper_dust.cpp"
|
||||
$File "hl2\c_vehicle_airboat.cpp"
|
||||
$File "hl2\c_vehicle_cannon.cpp"
|
||||
$File "hl2\c_vehicle_crane.cpp"
|
||||
$File "hl2\c_vehicle_crane.h"
|
||||
$File "hl2\c_vehicle_prisoner_pod.cpp"
|
||||
$File "hl2\c_weapon__stubs_hl2.cpp"
|
||||
$File "hl2\c_weapon_crossbow.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\citadel_effects_shared.h"
|
||||
$File "$SRCDIR\game\shared\hl2\env_headcrabcanister_shared.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\env_headcrabcanister_shared.h"
|
||||
$File "hl2\fx_antlion.cpp"
|
||||
$File "hl2\fx_bugbait.cpp"
|
||||
$File "hl2\fx_hl2_impacts.cpp"
|
||||
$File "hl2\fx_hl2_tracers.cpp"
|
||||
$File "hl2\hl2_clientmode.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_gamerules.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_gamerules.h"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_shareddefs.h"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_usermessages.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl_gamemovement.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl_gamemovement.h"
|
||||
$File "hl2\hl_in_main.cpp"
|
||||
$File "hl2\hl_prediction.cpp"
|
||||
$File "hl2\hud_ammo.cpp"
|
||||
$File "hl2\hud_battery.cpp"
|
||||
$File "hl2\hud_blood.cpp"
|
||||
$File "hl2\hud_credits.cpp"
|
||||
$File "hl2\hud_damageindicator.cpp"
|
||||
$File "hl2\hud_flashlight.cpp"
|
||||
$File "hl2\hud_health.cpp"
|
||||
$File "hl2\hud_poisondamageindicator.cpp"
|
||||
$File "hl2\hud_quickinfo.cpp"
|
||||
$File "hud_squadstatus.cpp"
|
||||
$File "hl2\hud_suitpower.cpp"
|
||||
$File "hl2\hud_suitpower.h"
|
||||
$File "hl2\hud_weaponselection.cpp"
|
||||
$File "hl2\hud_zoom.cpp"
|
||||
$File "hl2\shieldproxy.cpp"
|
||||
$File "hl2\vgui_rootpanel_hl2.cpp"
|
||||
}
|
||||
|
||||
$Folder "HL2MP"
|
||||
{
|
||||
$File "hl2mp\c_hl2mp_player.cpp"
|
||||
$File "hl2mp\c_hl2mp_player.h"
|
||||
$File "hl2mp\c_te_hl2mp_shotgun_shot.cpp"
|
||||
$File "hl2mp\clientmode_hl2mpnormal.cpp"
|
||||
$File "hl2mp\clientmode_hl2mpnormal.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\hl2mp_gamerules.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\hl2mp_gamerules.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\hl2mp_player_shared.cpp"
|
||||
$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"
|
||||
|
||||
$Folder "Weapons"
|
||||
{
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_357.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_ar2.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_ar2.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_crossbow.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_crowbar.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_frag.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase_machinegun.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase_machinegun.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbasebasebludgeon.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_physcannon.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_physcannon.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_pistol.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_rpg.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_rpg.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_shotgun.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_slam.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_slam.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_smg1.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_stunstick.cpp"
|
||||
}
|
||||
|
||||
$Folder "UI"
|
||||
{
|
||||
$File "hl2mp\ui\backgroundpanel.cpp"
|
||||
$File "hl2mp\ui\backgroundpanel.h"
|
||||
$File "hl2mp\hl2mp_hud_chat.cpp"
|
||||
$File "hl2mp\hl2mp_hud_chat.h"
|
||||
$File "hl2mp\hl2mp_hud_target_id.cpp"
|
||||
$File "hl2mp\hl2mp_hud_team.cpp"
|
||||
$File "hl2mp\ui\hl2mpclientscoreboard.cpp"
|
||||
$File "hl2mp\ui\hl2mpclientscoreboard.h"
|
||||
$File "hl2mp\ui\hl2mptextwindow.cpp"
|
||||
$File "hl2mp\ui\hl2mptextwindow.h"
|
||||
$File "hl2mp\hud_deathnotice.cpp"
|
||||
}
|
||||
}
|
||||
}
|
||||
$Folder "Libraries"
|
||||
{
|
||||
$File "$SRCDIR\lib\$PLATFORM\release\$VSLIBDIR\libprotobuf.lib" [$WINDOWS]
|
||||
{
|
||||
$Configuration "Debug" { $ExcludedFromBuild "Yes" }
|
||||
}
|
||||
$File "$SRCDIR\lib\$PLATFORM\debug\$VSLIBDIR\libprotobuf.lib" [$WINDOWS]
|
||||
{
|
||||
$Configuration "Release" { $ExcludedFromBuild "Yes" }
|
||||
}
|
||||
$File "$SRCDIR\lib\$PLATFORM\release\libprotobuf.a" [$POSIX]
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -2222,7 +2222,10 @@ void CViewRender::RenderView( const CViewSetup &view, int nClearFlags, int whatT
|
||||
}
|
||||
|
||||
// let vgui know where to render stuff for the forced-to-framebuffer panels
|
||||
vgui::surface()->SetFullscreenViewport( viewFramebufferX, viewFramebufferY, viewFramebufferWidth, viewFramebufferHeight );
|
||||
if( UseVR() )
|
||||
{
|
||||
vgui::surface()->SetFullscreenViewport( viewFramebufferX, viewFramebufferY, viewFramebufferWidth, viewFramebufferHeight );
|
||||
}
|
||||
|
||||
// clear the render target if we need to
|
||||
if( bClear )
|
||||
|
30
game/protobuf_include.vpc
Normal file
30
game/protobuf_include.vpc
Normal file
@ -0,0 +1,30 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// protobuf_include.vpc
|
||||
//
|
||||
// Project Script
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$MacroRequired "PLATFORM"
|
||||
|
||||
$macro VSLIBDIR "." [!$VS2010]
|
||||
$macro VSLIBDIR "VS2010" [$VS2010]
|
||||
|
||||
$Project
|
||||
{
|
||||
$Folder "Libraries"
|
||||
{
|
||||
// Always use the release version of libprotobuf.lib because the debug
|
||||
// version uses iterator debugging, which is incompatible with the rest of
|
||||
// the Valve world.
|
||||
$File "$SRCDIR\lib\$PLATFORM\release\$VSLIBDIR\libprotobuf.lib" [$WINDOWS && $VS2010]
|
||||
$File "$SRCDIR\lib\$PLATFORM\release\$VSLIBDIR\libprotobuf.lib" [$WINDOWS && !$VS2010]
|
||||
{
|
||||
$Configuration "Debug" { $ExcludedFromBuild "Yes" }
|
||||
}
|
||||
$File "$SRCDIR\lib\$PLATFORM\debug\$VSLIBDIR\libprotobuf.lib" [$WINDOWS && !$VS2010]
|
||||
{
|
||||
$Configuration "Release" { $ExcludedFromBuild "Yes" }
|
||||
}
|
||||
$File "$SRCDIR\lib\$PLATFORM\release\libprotobuf.a" [$POSIX]
|
||||
}
|
||||
}
|
@ -576,8 +576,7 @@ void CAI_NetworkManager::LoadNetworkGraph( void )
|
||||
// older node graphs to load for these maps
|
||||
if ( !V_stricmp( szLoweredGameDir, "hl2" ) || !V_stricmp( szLoweredGameDir, "episodic" ) )
|
||||
{
|
||||
if ( filesystem->IsSteam() )
|
||||
bOK = true;
|
||||
bOK = true;
|
||||
}
|
||||
|
||||
if ( !bOK )
|
||||
@ -978,7 +977,6 @@ bool CAI_NetworkManager::IsAIFileCurrent ( const char *szMapName )
|
||||
return true;
|
||||
}
|
||||
|
||||
//if ( filesystem && filesystem->IsSteam() )
|
||||
{
|
||||
const char *pGameDir = CommandLine()->ParmValue( "-game", "hl2" );
|
||||
char szLoweredGameDir[256];
|
||||
|
1044
game/server/server_base.vpc
Normal file
1044
game/server/server_base.vpc
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
295
game/server/server_hl2mp.vpc
Normal file
295
game/server/server_hl2mp.vpc
Normal file
@ -0,0 +1,295 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// SERVER_HL2MP.VPC
|
||||
//
|
||||
// Project Script
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR "..\.."
|
||||
$Macro GAMENAME "hl2mp" [!$SOURCESDK]
|
||||
$Macro GAMENAME "mod_hl2mp" [$SOURCESDK]
|
||||
|
||||
$Include "$SRCDIR\game\server\server_base.vpc"
|
||||
|
||||
$Configuration
|
||||
{
|
||||
$Compiler
|
||||
{
|
||||
$AdditionalIncludeDirectories "$BASE;$SRCDIR\game\shared\hl2,.\hl2,.\hl2mp,$SRCDIR\game\shared\hl2mp"
|
||||
$PreprocessorDefinitions "$BASE;HL2MP;HL2_DLL"
|
||||
}
|
||||
}
|
||||
|
||||
$Project "Server (HL2MP)"
|
||||
{
|
||||
$Folder "Source Files"
|
||||
{
|
||||
$File "ai_relationship.cpp"
|
||||
$File "basegrenade_concussion.cpp"
|
||||
$File "basegrenade_contact.cpp"
|
||||
$File "basegrenade_timed.cpp"
|
||||
$File "EntityFlame.h"
|
||||
$File "hl2\Func_Monitor.cpp"
|
||||
$File "grenadethrown.cpp"
|
||||
$File "grenadethrown.h"
|
||||
$File "h_cycler.cpp"
|
||||
$File "h_cycler.h"
|
||||
$File "monstermaker.cpp"
|
||||
$File "monstermaker.h"
|
||||
$File "physics_bone_follower.h"
|
||||
$File "$SRCDIR\game\shared\predicted_viewmodel.cpp"
|
||||
$File "$SRCDIR\game\shared\predicted_viewmodel.h"
|
||||
$File "$SRCDIR\game\shared\ragdoll_shared.h"
|
||||
$File "$SRCDIR\game\shared\solidsetdefaults.h"
|
||||
$File "$SRCDIR\game\shared\hl2\survival_gamerules.cpp"
|
||||
$File "team_objectiveresource.cpp"
|
||||
$File "team_objectiveresource.h"
|
||||
$File "team_spawnpoint.cpp"
|
||||
$File "team_spawnpoint.h"
|
||||
$File "team_control_point.cpp"
|
||||
$File "team_control_point.h"
|
||||
$File "team_control_point_master.cpp"
|
||||
$File "team_control_point_master.h"
|
||||
$File "team_control_point_round.cpp"
|
||||
$File "team_control_point_round.h"
|
||||
$File "team_train_watcher.cpp"
|
||||
$File "team_train_watcher.h"
|
||||
$File "$SRCDIR\game\shared\teamplayroundbased_gamerules.cpp"
|
||||
$File "$SRCDIR\game\shared\touchlink.h"
|
||||
$File "trigger_area_capture.cpp"
|
||||
$File "trigger_area_capture.h"
|
||||
$File "$SRCDIR\game\shared\teamplay_round_timer.cpp"
|
||||
$File "$SRCDIR\game\shared\teamplay_round_timer.h"
|
||||
|
||||
$Folder "HL2 DLL"
|
||||
{
|
||||
$File "hl2\ai_allymanager.cpp"
|
||||
$File "hl2\ai_behavior_actbusy.cpp"
|
||||
$File "hl2\ai_behavior_actbusy.h"
|
||||
$File "hl2\ai_behavior_functank.cpp"
|
||||
$File "hl2\ai_behavior_functank.h"
|
||||
$File "hl2\ai_behavior_holster.cpp"
|
||||
$File "hl2\ai_behavior_holster.h"
|
||||
$File "hl2\ai_behavior_police.cpp"
|
||||
$File "hl2\ai_behavior_police.h"
|
||||
$File "hl2\ai_goal_police.cpp"
|
||||
$File "hl2\ai_goal_police.h"
|
||||
$File "hl2\ai_interactions.h"
|
||||
$File "hl2\ai_spotlight.cpp"
|
||||
$File "hl2\ai_spotlight.h"
|
||||
$File "hl2\antlion_dust.cpp"
|
||||
$File "hl2\antlion_dust.h"
|
||||
$File "hl2\antlion_maker.cpp"
|
||||
$File "hl2\antlion_maker.h"
|
||||
$File "hl2\ar2_explosion.cpp"
|
||||
$File "hl2\ar2_explosion.h"
|
||||
$File "basebludgeonweapon.cpp"
|
||||
$File "basebludgeonweapon.h"
|
||||
$File "hl2\basehlcombatweapon.cpp"
|
||||
$File "hl2\basehlcombatweapon.h"
|
||||
$File "$SRCDIR\game\shared\hl2\basehlcombatweapon_shared.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\basehlcombatweapon_shared.h"
|
||||
$File "hl2\cbasehelicopter.cpp"
|
||||
$File "hl2\cbasehelicopter.h"
|
||||
$File "hl2\cbasespriteprojectile.cpp"
|
||||
$File "hl2\cbasespriteprojectile.h"
|
||||
$File "hl2\citadel_effects.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\citadel_effects_shared.h"
|
||||
$File "hl2\combine_mine.cpp"
|
||||
$File "hl2\combine_mine.h"
|
||||
$File "hl2\energy_wave.h"
|
||||
$File "hl2\env_alyxemp.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\env_alyxemp_shared.h"
|
||||
$File "hl2\env_headcrabcanister.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\env_headcrabcanister_shared.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\env_headcrabcanister_shared.h"
|
||||
$File "hl2\env_speaker.cpp"
|
||||
$File "hl2\env_starfield.cpp"
|
||||
$File "hl2\func_recharge.cpp"
|
||||
$File "hl2\func_tank.cpp"
|
||||
$File "hl2\func_tank.h"
|
||||
$File "hl2\grenade_ar2.cpp"
|
||||
$File "hl2\grenade_ar2.h"
|
||||
$File "hl2\grenade_bugbait.cpp"
|
||||
$File "hl2\grenade_bugbait.h"
|
||||
$File "hl2\grenade_frag.cpp"
|
||||
$File "hl2\grenade_frag.h"
|
||||
$File "hl2\hl2_ai_network.cpp"
|
||||
$File "hl2\hl2_eventlog.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_gamerules.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_gamerules.h"
|
||||
$File "hl2\hl2_player.cpp"
|
||||
$File "hl2\hl2_player.h"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_player_shared.h"
|
||||
$File "hl2\hl2_playerlocaldata.cpp"
|
||||
$File "hl2\hl2_playerlocaldata.h"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_shareddefs.h"
|
||||
$File "hl2\hl2_triggers.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl2_usermessages.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl_gamemovement.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2\hl_gamemovement.h"
|
||||
$File "$SRCDIR\game\shared\hl2\hl_movedata.h"
|
||||
$File "hl2\hl_playermove.cpp"
|
||||
$File "hl2\info_teleporter_countdown.cpp"
|
||||
$File "hl2\item_ammo.cpp"
|
||||
$File "hl2\item_battery.cpp"
|
||||
$File "hl2\item_dynamic_resupply.cpp"
|
||||
$File "hl2\item_dynamic_resupply.h"
|
||||
$File "hl2\item_healthkit.cpp"
|
||||
$File "hl2\item_itemcrate.cpp"
|
||||
$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"
|
||||
$File "hl2\npc_apcdriver.cpp"
|
||||
$File "hl2\npc_attackchopper.cpp"
|
||||
$File "hl2\npc_attackchopper.h"
|
||||
$File "hl2\npc_barnacle.cpp"
|
||||
$File "hl2\npc_barnacle.h"
|
||||
$File "hl2\npc_barney.cpp"
|
||||
$File "hl2\npc_basescanner.cpp"
|
||||
$File "hl2\npc_basescanner.h"
|
||||
$File "hl2\npc_BaseZombie.cpp"
|
||||
$File "hl2\npc_BaseZombie.h"
|
||||
$File "hl2\npc_breen.cpp"
|
||||
$File "hl2\npc_bullseye.cpp"
|
||||
$File "hl2\npc_bullseye.h"
|
||||
$File "hl2\npc_citizen17.cpp"
|
||||
$File "hl2\npc_citizen17.h"
|
||||
$File "hl2\npc_combine.cpp"
|
||||
$File "hl2\npc_combine.h"
|
||||
$File "hl2\npc_combinecamera.cpp"
|
||||
$File "hl2\npc_combinedropship.cpp"
|
||||
$File "hl2\npc_combinegunship.cpp"
|
||||
$File "hl2\npc_combines.cpp"
|
||||
$File "hl2\npc_combines.h"
|
||||
$File "hl2\npc_cranedriver.cpp"
|
||||
$File "hl2\npc_crow.cpp"
|
||||
$File "hl2\npc_crow.h"
|
||||
$File "hl2\npc_dog.cpp"
|
||||
$File "hl2\npc_eli.cpp"
|
||||
$File "hl2\npc_enemyfinder.cpp"
|
||||
$File "hl2\npc_fisherman.cpp"
|
||||
$File "hl2\npc_gman.cpp"
|
||||
$File "hl2\npc_headcrab.cpp"
|
||||
$File "hl2\npc_headcrab.h"
|
||||
$File "hl2\npc_ichthyosaur.cpp"
|
||||
$File "hl2\npc_kleiner.cpp"
|
||||
$File "hl2\npc_launcher.cpp"
|
||||
$File "hl2\npc_manhack.cpp"
|
||||
$File "hl2\npc_manhack.h"
|
||||
$File "hl2\npc_metropolice.cpp"
|
||||
$File "hl2\npc_metropolice.h"
|
||||
$File "hl2\npc_monk.cpp"
|
||||
$File "hl2\npc_mossman.cpp"
|
||||
$File "hl2\npc_playercompanion.cpp"
|
||||
$File "hl2\npc_playercompanion.h"
|
||||
$File "hl2\npc_PoisonZombie.cpp"
|
||||
$File "hl2\npc_rollermine.cpp"
|
||||
$File "hl2\npc_rollermine.h"
|
||||
$File "hl2\npc_scanner.cpp"
|
||||
$File "hl2\npc_stalker.cpp"
|
||||
$File "hl2\npc_stalker.h"
|
||||
$File "hl2\npc_strider.cpp"
|
||||
$File "hl2\npc_strider.h"
|
||||
$File "npc_talker.cpp"
|
||||
$File "npc_talker.h"
|
||||
$File "hl2\npc_turret_ceiling.cpp"
|
||||
$File "hl2\npc_turret_floor.cpp"
|
||||
$File "hl2\npc_turret_ground.cpp"
|
||||
$File "hl2\npc_vortigaunt_episodic.cpp"
|
||||
$File "hl2\npc_vortigaunt_episodic.h"
|
||||
$File "hl2\npc_zombie.cpp"
|
||||
$File "hl2\point_apc_controller.cpp"
|
||||
$File "hl2\prop_combine_ball.cpp"
|
||||
$File "hl2\prop_combine_ball.h"
|
||||
$File "hl2\prop_thumper.cpp"
|
||||
$File "hl2\proto_sniper.cpp"
|
||||
$File "hl2\rotorwash.cpp"
|
||||
$File "hl2\rotorwash.h"
|
||||
$File "hl2\script_intro.cpp"
|
||||
$File "hl2\script_intro.h"
|
||||
$File "$SRCDIR\game\shared\script_intro_shared.cpp"
|
||||
$File "hl2\vehicle_airboat.cpp"
|
||||
$File "hl2\vehicle_apc.h"
|
||||
$File "hl2\vehicle_crane.cpp"
|
||||
$File "hl2\vehicle_crane.h"
|
||||
$File "hl2\vehicle_prisoner_pod.cpp"
|
||||
$File "hl2\vehicle_viewcontroller.cpp"
|
||||
$File "hl2\weapon_alyxgun.h"
|
||||
$File "hl2\weapon_annabelle.cpp"
|
||||
$File "hl2\weapon_bugbait.cpp"
|
||||
$File "hl2\weapon_crowbar.h"
|
||||
$File "weapon_cubemap.cpp"
|
||||
|
||||
$Folder "unused"
|
||||
{
|
||||
$File "hl2\grenade_beam.cpp"
|
||||
$File "hl2\grenade_beam.h"
|
||||
$File "hl2\grenade_homer.cpp"
|
||||
$File "hl2\grenade_homer.h"
|
||||
$File "hl2\grenade_pathfollower.cpp"
|
||||
$File "hl2\grenade_pathfollower.h"
|
||||
$File "hl2\npc_missiledefense.cpp"
|
||||
$File "hl2\vehicle_apc.cpp"
|
||||
$File "hl2\weapon_cguard.cpp"
|
||||
$File "hl2\weapon_flaregun.cpp"
|
||||
$File "hl2\weapon_flaregun.h"
|
||||
}
|
||||
}
|
||||
|
||||
$Folder "HL2MP"
|
||||
{
|
||||
$File "hl2mp\hl2mp_bot_temp.cpp"
|
||||
$File "hl2mp\hl2mp_bot_temp.h"
|
||||
$File "hl2mp\hl2mp_client.cpp"
|
||||
$File "hl2mp\hl2mp_cvars.cpp"
|
||||
$File "hl2mp\hl2mp_gameinterface.cpp"
|
||||
$File "hl2mp\hl2mp_gameinterface.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\hl2mp_gamerules.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\hl2mp_gamerules.h"
|
||||
$File "hl2mp\hl2mp_player.cpp"
|
||||
$File "hl2mp\hl2mp_player.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\hl2mp_player_shared.cpp"
|
||||
$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"
|
||||
|
||||
$Folder "Weapons"
|
||||
{
|
||||
$File "hl2mp\grenade_satchel.cpp"
|
||||
$File "hl2mp\grenade_satchel.h"
|
||||
$File "hl2mp\grenade_tripmine.cpp"
|
||||
$File "hl2mp\grenade_tripmine.h"
|
||||
$File "hl2mp\te_hl2mp_shotgun_shot.cpp"
|
||||
$File "hl2mp\te_hl2mp_shotgun_shot.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_357.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_ar2.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_ar2.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_crossbow.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_crowbar.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_frag.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase_machinegun.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbase_machinegun.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbasebasebludgeon.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_physcannon.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_physcannon.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_pistol.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_rpg.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_rpg.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_shotgun.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_slam.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_slam.h"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_smg1.cpp"
|
||||
$File "$SRCDIR\game\shared\hl2mp\weapon_stunstick.cpp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -178,11 +178,13 @@ public:
|
||||
|
||||
virtual void ClientCommandKeyValues( edict_t *pEntity, KeyValues *pKeyValues ) {}
|
||||
|
||||
// IsConnectedUserInfoChangeAllowed allows to override FCVAR_NOT_CONNECTED rule when
|
||||
// player is on team spectator or team unassigned for example
|
||||
// Default and previous engine implementation will never allow FCVAR_NOT_CONNECTED cvars
|
||||
// to be changed while connected to a game server
|
||||
virtual bool IsConnectedUserInfoChangeAllowed( CBasePlayer *pPlayer ) { return !IsMultiplayer(); }
|
||||
// IsConnectedUserInfoChangeAllowed allows the clients to change
|
||||
// cvars with the FCVAR_NOT_CONNECTED rule if it returns true
|
||||
virtual bool IsConnectedUserInfoChangeAllowed( CBasePlayer *pPlayer )
|
||||
{
|
||||
Assert( !IsMultiplayer() );
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef CLIENT_DLL
|
||||
|
||||
|
@ -844,7 +844,11 @@ const char *CHL2MPRules::GetGameDescription( void )
|
||||
return "Deathmatch";
|
||||
}
|
||||
|
||||
|
||||
bool CHL2MPRules::IsConnectedUserInfoChangeAllowed( CBasePlayer *pPlayer )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
float CHL2MPRules::GetMapRemainingTime()
|
||||
{
|
||||
// if timelimit is disabled, return 0
|
||||
|
@ -145,6 +145,8 @@ public:
|
||||
|
||||
bool IsTeamplay( void ) { return m_bTeamPlayEnabled; }
|
||||
void CheckAllPlayersReady( void );
|
||||
|
||||
virtual bool IsConnectedUserInfoChangeAllowed( CBasePlayer *pPlayer );
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user