/* X11-specific commands for the X11 interface to Xconq.
   Copyright (C) 1993-1995, 1997, 1998 Stanley T. Shebs.

Xconq is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.  See the file COPYING.  */

DEF_CMD(  '{' , "zoom-out", "", do_x_zoom_out,
  "zoom out to see less map detail")

DEF_CMD(  '}' , "zoom-in", "", do_x_zoom_in,
  "zoom in to see more map detail")

DEF_CMD(  'v'  , "flash", "", do_x_flash,
  "flash the current position")

DEF_CMD(   0  , "close", "", do_x_map_close,
  "")

DEF_CMD(   0  , "map", "", do_x_map,
  "open a new map window")

DEF_CMD(   0  , "meridians", "", do_x_meridians,
  "set meridian interval, in arc minutes")

DEF_CMD(   0  , "rv", "", do_x_reverse_video,
  "")

DEF_CMD(   0  , "pattern", "", do_x_prefer_pattern,
  "set preference for patterned terrain")

DEF_CMD(   0  , "side", "", do_x_side_closeup,
  "")

DEF_CMD(   0  , "solid", "", do_x_prefer_solid_color,
  "set preference for solid color terrain")

DEF_CMD(   0  , "unit", "", do_x_unit_closeup,
  "")

DEF_CMD(   0  , "orders", "", do_x_orders_popup,
  "")

DEF_CMD(   0  , "world-map", "", do_x_world_map,
  "open a new window that is zoomed to show the whole world")

#ifdef DESIGNERS

DEF_CMD(  '|' , "set-unit-type", "", do_x_set_unit_type,
  "modify unit type (designers only)")

DEF_CMD( '\\' , "add-unit", "", do_x_add_unit,
  "build a new unit (designers only)")

DEF_CMD(  '~' , "set-terrain-type", "", do_x_set_terrain_type,
  "modify paint type (designers only)")

DEF_CMD(  '`' , "paint-terrain", "", do_x_paint_terrain,
  "modify terrain (designers only)")

#endif /* DESIGNERS */

#ifdef DEBUGGING

DEF_CMD(   0  , "mono", "", do_x_fake_mono,
  "pretend to be a monochrome display")

#endif
