summaryrefslogtreecommitdiff
path: root/playerpos.go
diff options
context:
space:
mode:
Diffstat (limited to 'playerpos.go')
-rw-r--r--playerpos.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/playerpos.go b/playerpos.go
index 1a388af..eeeeca4 100644
--- a/playerpos.go
+++ b/playerpos.go
@@ -15,12 +15,19 @@ const (
ZoomKey
)
+type PlayerPosFlags uint8
+
+const (
+ InvertCam PlayerPosFlags = 1
+)
+
type PlayerPos struct {
Pos100, Vel100 [3]int32
Pitch100, Yaw100 int32
Keys Keys
FOV80 uint8
WantedRange uint8 // in MapBlks.
+ Flags PlayerPosFlags
}
func (p PlayerPos) Pos() (pos Pos) {