home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Xconq 7.1.0 / src / xconq-7.1.0 / curses / ccmd.def < prev    next >
Encoding:
Text File  |  1996-07-07  |  1.3 KB  |  46 lines  |  [TEXT/R*ch]

  1. /* Curses-specific commands for the curses interface to Xconq.
  2.    Copyright (C) 1994, 1995 Stanley T. Shebs.
  3.  
  4. Xconq is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.  See the file COPYING.  */
  8.  
  9. /* Single-character commands. */
  10.  
  11. DEF_CMD(  '>' , "grow", "", do_c_grow_map,
  12.   "make map take more of screen")
  13.  
  14. DEF_CMD(  '<' , "shrink", "", do_c_shrink_map,
  15.   "make map take less of screen")
  16.  
  17. DEF_CMD(  '_' , "set-info-lines", "", do_c_set_info_lines,
  18.   "make unit info take more of screen")
  19.  
  20. DEF_CMD(  'v' , "list-view", "", do_c_change_list_view,
  21.   "")
  22.  
  23. #ifdef DESIGNERS
  24.  
  25. DEF_CMD(  '|' , "set-unit-type", "", do_c_set_unit_type,
  26.   "modify paint type (designers only)")
  27.  
  28. DEF_CMD( '\\' , "add-unit", "", do_c_add_unit,
  29.   "build a new unit (designers only)")
  30.  
  31. DEF_CMD(  '~' , "set-terrain-type", "", do_c_set_terrain_type,
  32.   "modify paint type (designers only)")
  33.  
  34. DEF_CMD(  '`' , "paint-terrain", "", do_c_paint_terrain,
  35.   "modify terrain (designers only)")
  36.  
  37. #endif /* DESIGNERS */
  38.  
  39. /* Long name commands. */
  40.  
  41. DEF_CMD(   0  , "run", "", do_c_run,
  42.   "auto-finish for a given number of turns")
  43.  
  44. DEF_CMD(   0  , "show", "", do_c_show,
  45.   "control what map shows on display")
  46.