diff options
Diffstat (limited to 'sound.go')
-rw-r--r-- | sound.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sound.go b/sound.go new file mode 100644 index 0000000..953677c --- /dev/null +++ b/sound.go @@ -0,0 +1,16 @@ +package mt + +type SoundID int32 + +type SoundSrcType uint8 + +const ( + NoSrc SoundSrcType = iota + PosSrc + AOSrc +) + +type SoundDef struct { + Name string + Gain, Pitch, Fade float32 +} |