]> git.lizzy.rs Git - mt.git/blob - sound.go
Add WaitGroup to SerializePkt
[mt.git] / sound.go
1 package mt
2
3 type SoundID int32
4
5 type SoundSrcType uint8
6
7 const (
8         NoSrc  SoundSrcType = iota // nowhere
9         PosSrc                     // pos
10         AOSrc                      // ao
11 )
12
13 //go:generate stringer -linecomment -type SoundSrcType
14
15 type SoundDef struct {
16         Name              string
17         Gain, Pitch, Fade float32
18 }