Skip to content

Commit

Permalink
Add distance and avol filter for Sven Co-op.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 20, 2024
1 parent bcaf917 commit f74012c
Show file tree
Hide file tree
Showing 7 changed files with 354 additions and 167 deletions.
18 changes: 9 additions & 9 deletions Plugins/CaptionMod/enginedef.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

#define CVOXFILESENTENCEMAX 1536

#define SND_VOLUME (1<<0) // a byte
#define SND_ATTENUATION (1<<1) // a byte
#define SND_LARGE_INDEX (1<<2) // a long
#define SND_PITCH (1<<3)
#define SND_SENTENCE (1<<4)
#define SND_STOP (1<<5)
#define SND_CHANGE_VOL (1<<6)
#define SND_CHANGE_PITCH (1<<7)
#define SND_SPAWNING (1<<8)
#define SND_VOLUME (1<<0) // a byte 1
#define SND_ATTENUATION (1<<1) // a byte 2
#define SND_LARGE_INDEX (1<<2) // a long 4
#define SND_PITCH (1<<3) //8
#define SND_SENTENCE (1<<4) //0x10
#define SND_STOP (1<<5) //0x20
#define SND_CHANGE_VOL (1<<6) //0x40
#define SND_CHANGE_PITCH (1<<7) //0x80
#define SND_SPAWNING (1<<8) //0x100

#define MAX_QPATH 64 // max length of a quake game pathname

Expand Down
Loading

0 comments on commit f74012c

Please sign in to comment.