quake3live/code/cgame
serge_shubin ba2dbb803e Implant QL pmove system into Q3 Team Arena
Replace Q3TA player movement with Quake Live's pmove system,
decompiled from qagamex64.so via Ghidra MCP.

Struct changes:
- playerState_t: +12 bytes (field_08c, field_094, field_09c,
  lastJumpTime, jumped, crouchSlideTimer, forwardmove/rightmove/upmove)
- usercmd_t: +4 bytes (field_15, field_16 between weapon and forwardmove)
- pmove_t: +16 bytes (field_0dc/0e0/0e4/0f8, removed framecount)
- pml_t: +12 bytes (isJumppad, wallContact, isStepJump)
- pm_flags: remapped to QL values (21 flags, several moved/new)

New physics systems:
- Dual VQ3/PQL physics (PMF_PROMODE)
- Double jump, crouch slide, chain/ramp/step jump
- Wall contact movement, grapple hook physics
- 34 server-tunable pmove_* cvars with cgame prediction sync

Network protocol updated for new struct fields and usercmd bytes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 02:57:53 +08:00
..
cg_consolecmds.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_draw.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_drawtools.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_effects.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_ents.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_event.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_info.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_local.h Implant QL pmove system into Q3 Team Arena 2026-03-20 02:57:53 +08:00
cg_localents.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_main.c Implant QL pmove system into Q3 Team Arena 2026-03-20 02:57:53 +08:00
cg_marks.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_newdraw.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_particles.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_players.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_playerstate.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_predict.c Implant QL pmove system into Q3 Team Arena 2026-03-20 02:57:53 +08:00
cg_public.h Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_scoreboard.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_servercmds.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_snapshot.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_syscalls.asm Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_syscalls.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_view.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cg_weapons.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame.def Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame.plg Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame.q3asm Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame.sh Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame.vcxproj Copy game/cgame/ui to missionpack/ for TA configurations 2026-03-18 16:06:35 +08:00
cgame.vcxproj.filters Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore 2026-03-18 13:36:28 +08:00
cgame_ta.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame_ta.q3asm Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
cgame_ta.sh Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
Conscript Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
tr_types.h Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00