source-engine/game/shared/hl2mp
Deploy Bot 44cb9a4837 StargateTC port — initial integration into nillerusr/source-engine
P1: Source files
- Copy 9 server stargate files + sg_constants.h + sg_weapons.cpp from
  StargateTCSource/sourcecode/ into game/server/stargate/ and
  game/shared/stargate/.
- Add $Folder "Stargate" block to server_hl2mp.vpc and client_hl2mp.vpc.
- Extend $AdditionalIncludeDirectories with stargate paths.

P2/P3: Gamerules + player patches
- hl2mp_gamerules.h: add TEAM_JAFFA=4, TEAM_UNAS=5 to team enum.
- hl2mp_gamerules.cpp: preserve 5 Stargate spawn classnames in
  s_PreserveEnts[]; rename teams to Tau'ri/Goa'uld/Jaffa/Unas;
  rename game description to "StargateTC"/"StargateTC Teamplay".
- hl2mp_player.cpp: EntSelectSpawnPoint now searches Stargate spawn
  classnames first (torri/goauld/marine/unas) with per-team fallback
  chain to combine/rebel/deathmatch.

Build: 0 errors. Server.dll 13.19MB, client.dll 9.85MB.
Runtime test: window title "StargateTC", live game launches,
HEALTH 100 HUD renders, HL2MP MOTD shown, sky/world geometry renders.
Response system loads 217 rules without crashing (was the original
Mapbase+VS2022 heap-corruption point).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 14:08:44 +01:00
..
hl2mp_gamerules.cpp StargateTC port — initial integration into nillerusr/source-engine 2026-05-25 14:08:44 +01:00
hl2mp_gamerules.h StargateTC port — initial integration into nillerusr/source-engine 2026-05-25 14:08:44 +01:00
hl2mp_player_shared.cpp 1 2020-04-22 12:56:21 -04:00
hl2mp_player_shared.h 1 2020-04-22 12:56:21 -04:00
hl2mp_weapon_parse.cpp 1 2020-04-22 12:56:21 -04:00
hl2mp_weapon_parse.h 1 2020-04-22 12:56:21 -04:00
weapon_357.cpp game: fix 357 crosshair in hl2mp 2022-08-04 16:58:02 +03:00
weapon_ar2.cpp 1 2020-04-22 12:56:21 -04:00
weapon_ar2.h 1 2020-04-22 12:56:21 -04:00
weapon_crossbow.cpp 1 2020-04-22 12:56:21 -04:00
weapon_crowbar.cpp 1 2020-04-22 12:56:21 -04:00
weapon_crowbar.h 1 2020-04-22 12:56:21 -04:00
weapon_frag.cpp 1 2020-04-22 12:56:21 -04:00
weapon_hl2mpbase_machinegun.cpp 1 2020-04-22 12:56:21 -04:00
weapon_hl2mpbase_machinegun.h 1 2020-04-22 12:56:21 -04:00
weapon_hl2mpbase.cpp game: fix previous commit 2022-08-04 00:48:42 +03:00
weapon_hl2mpbase.h game: apply https://developer.valvesoftware.com/wiki/Weapon_Respawn_Fix patch 2022-08-04 00:33:51 +03:00
weapon_hl2mpbasebasebludgeon.cpp 1 2020-04-22 12:56:21 -04:00
weapon_hl2mpbasebasebludgeon.h 1 2020-04-22 12:56:21 -04:00
weapon_hl2mpbasehlmpcombatweapon.cpp 1 2020-04-22 12:56:21 -04:00
weapon_hl2mpbasehlmpcombatweapon.h 1 2020-04-22 12:56:21 -04:00
weapon_physcannon.cpp 1 2020-04-22 12:56:21 -04:00
weapon_physcannon.h 1 2020-04-22 12:56:21 -04:00
weapon_pistol.cpp 1 2020-04-22 12:56:21 -04:00
weapon_rpg.cpp game: rpg missle fixes (hrgve/hl2dm-bugfix@36de43ebc1) 2022-08-16 18:24:49 +03:00
weapon_rpg.h 1 2020-04-22 12:56:21 -04:00
weapon_shotgun.cpp 1 2020-04-22 12:56:21 -04:00
weapon_slam.cpp game: fix hl2mp slam (ValveSoftware/source-sdk-2013#532) 2022-08-16 17:04:26 +03:00
weapon_slam.h 1 2020-04-22 12:56:21 -04:00
weapon_smg1.cpp 1 2020-04-22 12:56:21 -04:00
weapon_stunstick.cpp 1 2020-04-22 12:56:21 -04:00