Commit graph

7 commits

Author SHA1 Message Date
Sergei Shubin
734b403b76 Implement QL autohop feature and supporting infrastructure
- bg_pmove.c: PM_CheckJump with full QL autohop logic — PMF_RESPAWNED
  bypassed when autohop opted-in, JumpTimeDeltaMin rate-limits all jumps
  (not just autohop), JUMP_HELD check skipped for autohop users; uses
  cmd.serverTime to match QL binary; pmove_JumpVelocity replaces
  JUMP_VELOCITY under MISSIONPACK
- q_shared.h: add lastJumpTime to non-networked section of playerState_t
- g_client.c: ClientUserinfoChanged and ClientSpawn set/clear
  PMF_AUTOHOP_HELD based on cg_autoHop userinfo key
- bg_public.h: extern vmCvar_t declarations for autohop cvars
- cgame/cg_main.c, cg_local.h: register pmove_AutoHop, pmove_JumpVelocity,
  pmove_JumpTimeDeltaMin, cg_autoHop in cgame
- qcommon/msg.c: expand pm_flags from 16 to 21 bits (PMF_JUMP_SCALE=0x100000)
- quake3.vcxproj: add MISSIONPACK to Debug TA and Release TA configs
- bg_misc.c: fix BG_EvaluateTrajectory error printing tr->trType not tr->trTime
- cg_marks.c: guard CG_ImpactMark against zero-length dir vector

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 19:25:04 +08:00
Sergei Shubin
48685e3f27 Add QL pmove_ cvar declarations and registration
34 pmove_ cvars from qagamex86.dll build 1069, all guarded by
#ifdef MISSIONPACK. Covers ground, air, jump, crouch-slide, strafe,
water, weapon timing, and misc categories. Defaults match QL binary.
No functionality implemented yet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:28:03 +08:00
Sergei Shubin
e8af01e9d3 Add QL PM/PMF flags under MISSIONPACK; ignore Debug_TA build dirs
- PM_TUTORIAL alias (= PM_SPINTERMISSION, value 6) added under MISSIONPACK
- PMF_GRAPPLE_PULL2, PMF_CROUCH_SLIDE, PMF_DOUBLE_JUMP, PMF_AUTOHOP_HELD,
  PMF_NO_ACTION, PMF_JUMP_SCALE (0x8000–0x100000) added under MISSIONPACK,
  matching values from qagamex86.dll build 1069
- .gitignore: add Debug_TA/, *.tlog, *.recipe, *.log

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:13:45 +08:00
Sergei Shubin
5eb0118ee3 Copy game/cgame/ui to missionpack/ for TA configurations
Debug TA and Release TA configs now copy their output DLLs to
workdir/missionpack/ instead of workdir/baseq3/, matching the
Q3 Team Arena directory layout. MISSIONPACK was already defined
for TA configs; this completes the baseline TA setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 16:06:35 +08:00
Sergei Shubin
a1fce2ed93 Add AfterBuild Copy tasks to deploy outputs to workdir
game/cgame/q3_ui copy DLLs to workdir/baseq3/, quake3 copies exe to workdir/.
Uses MSBuild <Copy> task with per-config _CopyOutputFile property; Alpha AXP
configs are skipped (no _CopyOutputFile defined).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 13:53:13 +08:00
Sergei Shubin
f85c79bf5a Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 13:36:28 +08:00
Sergei Shubin
4c57221941 Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00