1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
/* Curses-specific commands for the curses interface to Xconq.
Copyright (C) 1994, 1995 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. */
/* Single-character commands. */
DEF_CMD( '>' , "grow", "", do_c_grow_map,
"make map take more of screen")
DEF_CMD( '<' , "shrink", "", do_c_shrink_map,
"make map take less of screen")
DEF_CMD( '_' , "set-info-lines", "", do_c_set_info_lines,
"make unit info take more of screen")
DEF_CMD( 'v' , "list-view", "", do_c_change_list_view,
"")
#ifdef DESIGNERS
DEF_CMD( '|' , "set-unit-type", "", do_c_set_unit_type,
"modify paint type (designers only)")
DEF_CMD( '\\' , "add-unit", "", do_c_add_unit,
"build a new unit (designers only)")
DEF_CMD( '~' , "set-terrain-type", "", do_c_set_terrain_type,
"modify paint type (designers only)")
DEF_CMD( '`' , "paint-terrain", "", do_c_paint_terrain,
"modify terrain (designers only)")
#endif /* DESIGNERS */
/* Long name commands. */
DEF_CMD( 0 , "run", "", do_c_run,
"auto-finish for a given number of turns")
DEF_CMD( 0 , "show", "", do_c_show,
"control what map shows on display")
|