home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / curses / ccmd.def < prev    next >
Encoding:
Text File  |  1995-03-21  |  1.5 KB  |  56 lines  |  [TEXT/R*ch]

  1. /* Curses-specific commands for the curses interface to Xconq.
  2.    Copyright (C) 1994 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(  '+' , "list order", "", do_c_change_list_order,
  12.   "")
  13.  
  14. DEF_CMD(  '_' , "list filter", "", do_c_change_list_filter,
  15.   "")
  16.  
  17. DEF_CMD(  '>' , "grow", "", do_c_grow_map,
  18.   "make map take more of screen")
  19.  
  20. DEF_CMD(  '<' , "shrink", "", do_c_shrink_map,
  21.   "make map take less of screen")
  22.  
  23. DEF_CMD(  'i' , "occ", "U", do_c_occupant,
  24.   "look at occupant(s)")
  25.  
  26. /* (should be generic) */
  27. DEF_CMD(  'e' , "embark", "U", do_embark,
  28.   "embark units onto transport occupying same unit")
  29.  
  30. DEF_CMD(  'v' , "list type", "", do_c_change_list_type,
  31.   "")
  32.  
  33. #ifdef DESIGNERS
  34.  
  35. DEF_CMD(  '|' , "set unit type", "", do_c_set_unit_type,
  36.   "modify paint type (designers only)")
  37.  
  38. DEF_CMD( '\\' , "add unit", "", do_c_add_unit,
  39.   "build a new unit (designers only)")
  40.  
  41. DEF_CMD(  '~' , "set terrain type", "", do_c_set_terrain_type,
  42.   "modify paint type (designers only)")
  43.  
  44. DEF_CMD(  '`' , "paint terrain", "", do_c_paint_terrain,
  45.   "modify terrain (designers only)")
  46.  
  47. #endif /* DESIGNERS */
  48.  
  49. /* Long name commands. */
  50.  
  51. DEF_CMD(   0  , "both", "", do_c_use_both_chars,
  52.   "toggle display of terrain chars in both char positions")
  53.  
  54. DEF_CMD(   0  , "follow action", "", do_c_follow_action,
  55.   "toggle action following")
  56.