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>
This commit is contained in:
Sergei Shubin 2026-03-18 16:13:45 +08:00
parent 5eb0118ee3
commit e8af01e9d3
2 changed files with 18 additions and 1 deletions

4
.gitignore vendored
View file

@ -16,6 +16,7 @@ Backup/
# Build output directories # Build output directories
Debug/ Debug/
Debug_TA/
Release/ Release/
Release_TA/ Release_TA/
x64/ x64/
@ -27,6 +28,9 @@ x64/
*.res *.res
*.sbr *.sbr
*.bsc *.bsc
*.tlog
*.recipe
*.log
# Compiled outputs # Compiled outputs
*.exe *.exe

View file

@ -129,7 +129,10 @@ typedef enum {
PM_DEAD, // no acceleration or turning, but free falling PM_DEAD, // no acceleration or turning, but free falling
PM_FREEZE, // stuck in place with no control PM_FREEZE, // stuck in place with no control
PM_INTERMISSION, // no movement or status bar PM_INTERMISSION, // no movement or status bar
PM_SPINTERMISSION // no movement or status bar PM_SPINTERMISSION, // no movement or status bar
#ifdef MISSIONPACK
PM_TUTORIAL = PM_SPINTERMISSION // QL: tutorial mode (same slot, movement locked)
#endif
} pmtype_t; } pmtype_t;
typedef enum { typedef enum {
@ -154,6 +157,16 @@ typedef enum {
#define PMF_SCOREBOARD 8192 // spectate as a scoreboard #define PMF_SCOREBOARD 8192 // spectate as a scoreboard
#define PMF_INVULEXPAND 16384 // invulnerability sphere set to full size #define PMF_INVULEXPAND 16384 // invulnerability sphere set to full size
#ifdef MISSIONPACK
// QL-specific flags (values matching qagamex86.dll build 1069)
#define PMF_GRAPPLE_PULL2 0x8000 // grapple hook detach / release state
#define PMF_CROUCH_SLIDE 0x10000 // crouch-slide feature active (set from pmove_CrouchSlide at spawn)
#define PMF_DOUBLE_JUMP 0x20000 // double-jump available (set from pmove_DoubleJump at spawn)
#define PMF_AUTOHOP_HELD 0x40000 // jump button held for autohop; inhibits re-jump when not autohop
#define PMF_NO_ACTION 0x80000 // blocks secondary action (PM_CanPerformAction returns false)
#define PMF_JUMP_SCALE 0x100000 // scaled/chain jump velocity accumulation active
#endif
#define PMF_ALL_TIMES (PMF_TIME_WATERJUMP|PMF_TIME_LAND|PMF_TIME_KNOCKBACK) #define PMF_ALL_TIMES (PMF_TIME_WATERJUMP|PMF_TIME_LAND|PMF_TIME_KNOCKBACK)
#define MAXTOUCH 32 #define MAXTOUCH 32