
-- \todo Ideally these should be set engine-side wrapped as a userdata so that no one
--       can screw around with them, but this'll do for now...

-- Use bit.checkBit to see if it's set
VM_EXTERNAL               = 0  -- Set if not viewing from player position.
VM_TRACK                  = 1  -- Set if viewer is tracking target.
VM_DEAD_VIEW              = 2  -- Set if viewer is watching from dead view.
VM_CHASE                  = 3  -- Chase view.
VM_OTHER_SHIP             = 4  -- View from another ship.
VM_EXTERNAL_CAMERA_LOCKED = 5  -- External camera is locked in place (ie controls move ship not camera)
VM_WARP_CHASE             = 6  -- View while warping out (form normal view mode)
VM_PADLOCK_UP             = 7
VM_PADLOCK_REAR           = 8
VM_PADLOCK_LEFT           = 9
VM_PADLOCK_RIGHT          = 10
VM_WARPIN_ANCHOR          = 11 -- special warpin camera mode
VM_TOPDOWN                = 12 -- Camera is looking down on ship
VM_FREECAMERA             = 13 -- Camera is not attached to any particular object, probably under SEXP control
