#
# HELP: SYNOPSIS:
# HELP:     colotux/default/registermouse
# HELP:
# HELP: DESCRIPTION:
# HELP:     Register the mouse gestures used to steer colotux
#

# add setting the turnpoint
! generic/register/mouse/turnpoint global

# add getting information about the current voxel.
! generic/register/mouse/infoclass global

# Add Alt-left click for local jumping
! generic/register/mouse/localjump global

#
# 2D View setup
#

VIEW_SET Planes_XY
# Allow sliding using the mouse
! generic/register/mouse/slideclip engine

# Allow walking using the mouse
! generic/register/mouse/goclip engine

# Look at a voxel using middle button
! generic/register/mouse/lookat engine

#
# Stuff only applying to 3D views
#

VIEW_SET Main

# Allow turning using the mouse
! generic/register/mouse/turn engine

# Allow sliding using the mouse
! generic/register/mouse/slide engine

# Allow walking using the mouse
! generic/register/mouse/go engine
