Skip to content

Commit

Permalink
Sync with 'alliedmodders/cs2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Wend4r committed Jan 16, 2025
2 parents 54e78db + d18bab8 commit da77ec4
Show file tree
Hide file tree
Showing 86 changed files with 993 additions and 864 deletions.
2 changes: 1 addition & 1 deletion common/randoverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#if !defined(_STATIC_LINKED) || defined(_SHARED_LIB)

#include "stdlib.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
Expand Down
2 changes: 1 addition & 1 deletion game/client/cbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct studiohdr_t;
#include "vprof.h"

#include "tier0/strtools.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "tier1/utlvector.h"

#include "const.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ using namespace vgui;
#include "ModInfo.h"

// for SRC
#include <vstdlib/random.h>
#include <tier1/random.h>

// memdbgon must be the last include file in a .cpp file!!!
#include <tier0/memdbgon.h>
Expand Down
2 changes: 1 addition & 1 deletion game/client/swarm/gameui/loadingtippanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "keyvalues.h"
#include "vgui/isurface.h"
#include "EngineInterface.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "fmtstr.h"

// memdbgon must be the last include file in a .cpp file!!!
Expand Down
2 changes: 1 addition & 1 deletion game/client/swarm/gameui/swarm/uigamedata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "GameUI_Interface.h"
#include "game/client/IGameClientExports.h"
#include "fmtstr.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "utlbuffer.h"
#include "filesystem/IXboxInstaller.h"
#include "tier1/tokenset.h"
Expand Down
2 changes: 1 addition & 1 deletion game/client/swarm/gameui/swarm/vgamesettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "keyvalues.h"

#include <ctype.h>
#include <vstdlib/random.h>
#include <tier1/random.h>

#include "VDropDownMenu.h"
#include "VHybridButton.h"
Expand Down
2 changes: 1 addition & 1 deletion game/client/swarm/gameui/swarm/vleaderboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "vgui_controls/Button.h"
#include "vgui_controls/ImagePanel.h"
#include "vgui/ILocalize.h"
#include "vstdlib/random.h" // remove once we have real data in the leaderboard
#include "tier1/random.h" // remove once we have real data in the leaderboard
#include "VFlyoutMenu.h"
#include "VHybridButton.h"
#include "VDropDownMenu.h"
Expand Down
2 changes: 1 addition & 1 deletion game/client/swarm/vgui/asw_vgui_computer_stocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "vgui_controls\ComboBox.h"
#include "vgui/IScheme.h"
#include "asw_vgui_ingame_panel.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

class C_ASW_Hack_Computer;
class ImageButton;
Expand Down
2 changes: 1 addition & 1 deletion game/client/swarm/vgui/asw_vgui_computer_weather.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "vgui_controls\ComboBox.h"
#include "vgui/IScheme.h"
#include "asw_vgui_ingame_panel.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

class C_ASW_Hack_Computer;
class ImageButton;
Expand Down
2 changes: 1 addition & 1 deletion game/missionchooser/asw_location_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class KeyValues;
#include "missionchooser/iasw_mission_chooser.h"
#include "utlvector.h"
#include "color.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

class CASW_KeyValuesDatabase;
class CASW_Location;
Expand Down
2 changes: 1 addition & 1 deletion game/missionchooser/asw_map_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "vbsp2lib/simplemapfile.h"
#include "vbsp2lib/simplebspfile.h"
#endif
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "tilegen_core.h"
#include "MapLayout.h"
#include "layout_system/tilegen_layout_system.h"
Expand Down
2 changes: 1 addition & 1 deletion game/missionchooser/asw_mission_text_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "asw_mission_text_database.h"
#include "keyvalues.h"
#include "filesystem.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "vprof.h"

// memdbgon must be the last include file in a .cpp file!!!
Expand Down
2 changes: 1 addition & 1 deletion game/missionchooser/asw_spawn_selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//===============================================================================
#include "asw_spawn_selection.h"
#include "filesystem.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
Expand Down
2 changes: 1 addition & 1 deletion game/missionchooser/layout_system/tilegen_layout_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

#include "utlvector.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "tilegen_class_interfaces.h"
#include "tilegen_expressions.h"
#include "RoomTemplate.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "vgui/mousecode.h"
#include "vgui/IScheme.h"
#include "ConfigManager.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

class CScrollingWindow;
class CKV_Editor_Base_Panel;
Expand Down
2 changes: 1 addition & 1 deletion game/server/ai_basenpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include "mathlib/mathlib.h"
#include "bone_setup.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "tier0/strtools.h"
#include "doors.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/ai_basenpc_schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "ai_speech.h"
#include "game.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "ndebugoverlay.h"
#include "env_debughistory.h"
#include "ai_behavior.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/baseentity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "team.h"
#include "sendproxy.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "baseentity.h"
#include "collisionutils.h"
#include "coordsize.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/baseflex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "choreoevent.h"
#include "choreoscene.h"
#include "choreoactor.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "tier0/strtools.h"
#include "keyvalues.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/buttons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "doors.h"
#include "ndebugoverlay.h"
#include "spark.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "tier0/strtools.h"
#include "buttons.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/effects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "baseparticleentity.h"
#include "ndebugoverlay.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "env_wind_shared.h"
#include "filesystem.h"
#include "engine/IEngineSound.h"
Expand Down
4 changes: 2 additions & 2 deletions game/server/enginecallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
#endif

#ifdef POSIX
#define random random_valve// stdlib.h defined random()..., and so does vstdlib/random.h
#define random random_valve// stdlib.h defined random()..., and so does tier1/random.h
#endif

#include "tier3/tier3.h"
#include "tier2/tier2_logging.h"

class IFileSystem; // include FileSystem.h
class IUniformRandomStream; // include vstdlib/random.h
class IUniformRandomStream; // include tier1/random.h
class IEngineSound; // include engine/IEngineSound.h
class IVEngineServer;
class IStaticPropMgrServer;
Expand Down
2 changes: 1 addition & 1 deletion game/server/explode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "explode.h"
#include "ai_basenpc.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "tier0/strtools.h"
#include "shareddefs.h"

Expand Down
2 changes: 1 addition & 1 deletion game/server/flex_expresser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "choreoevent.h"
#include "choreoscene.h"
#include "choreoactor.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "tier0/strtools.h"
#include "keyvalues.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/func_break.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "in_buttons.h"
#include "physics.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "SoundEmitterSystem/isoundemittersystembase.h"
#include "globals.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/gameinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include "func_areaportalwindow.h"
#include "igamesystem.h"
#include "init_factory.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "env_wind_shared.h"
#include "engine/IEngineSound.h"
#include "ispatialpartition.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/genericactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "ai_hull.h"
#include "ai_baseactor.h"
#include "tier0/strtools.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"

// memdbgon must be the last include file in a .cpp file!!!
Expand Down
2 changes: 1 addition & 1 deletion game/server/gib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "soundent.h"
#include "func_break.h" // For materials
#include "player.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "ai_utils.h"
#include "EntityFlame.h"

Expand Down
2 changes: 1 addition & 1 deletion game/server/grenadethrown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "cbase.h"
#include "grenadethrown.h"
#include "ammodef.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/h_ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "cbase.h"
#include "game.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "movevars_shared.h"

// memdbgon must be the last include file in a .cpp file!!!
Expand Down
2 changes: 1 addition & 1 deletion game/server/h_cycler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "ai_motor.h"
#include "basecombatweapon.h"
#include "animation.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "h_cycler.h"
#include "Sprite.h"

Expand Down
2 changes: 1 addition & 1 deletion game/server/hl2/env_speaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "game.h"
#include <ctype.h>
#include "entitylist.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "ndebugoverlay.h"
#include "soundscape.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/hl2/npc_combinegunship.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "explode.h" // temp (sjb)
#include "smoke_trail.h" // temp (sjb)
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "ar2_explosion.h"
#include "te_effect_dispatch.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/logicentities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "globalstate.h"
#include "ndebugoverlay.h"
#include "saverestore_utlvector.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "gameinterface.h"

// memdbgon must be the last include file in a .cpp file!!!
Expand Down
2 changes: 1 addition & 1 deletion game/server/message_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "in_buttons.h"
#include "soundent.h"
#include "ndebugoverlay.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "game.h"

Expand Down
2 changes: 1 addition & 1 deletion game/server/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "team.h"
#include "particle_smokegrenade.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "movehelper_server.h"
#include "igamemovement.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "game.h"
#include <ctype.h>
#include "entitylist.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "ndebugoverlay.h"
#include "soundscape.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/swarm/asw_buzzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "game.h"
#include "ai_interactions.h"
#include "IEffects.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "movevars_shared.h"
#include "npcevent.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/swarm/asw_env_explosion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "decals.h"
#include "asw_env_explosion.h"
#include "dlight.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "tier0/strtools.h"
#include "shareddefs.h"
#include "asw_gamerules.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/swarm/asw_marine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "npcevent.h"
#include "entitylist.h"
#include "activitylist.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "sceneentity.h"
#include "asw_marine.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/swarm/asw_marine_schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "npcevent.h"
#include "entitylist.h"
#include "activitylist.h"
#include "vstdlib/random.h"
#include "tier1/random.h"
#include "engine/IEngineSound.h"
#include "sceneentity.h"
#include "asw_marine.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/swarm/asw_voting_missions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "asw_player.h"
#include "missionchooser/iasw_mission_chooser.h"
#include "missionchooser/iasw_mission_chooser_source.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
Expand Down
2 changes: 1 addition & 1 deletion game/server/te_breakmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//=============================================================================//
#include "cbase.h"
#include "basetempentity.h"
#include "vstdlib/random.h"
#include "tier1/random.h"

// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
Expand Down
Loading

0 comments on commit da77ec4

Please sign in to comment.