X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=confclient%2Fcommands;h=865cc3ee7bcf89ed4578e182052b2d8f94b04a10;hb=0a1f22190fb47ef4301e1aaa10ff7605352565ee;hp=19559de82db992964f4459e2a4b864d45af3ce08;hpb=8226d2e4e1aaaeb3b843b4eb9a178d71cc7896e1;p=plomrogue
diff --git a/confclient/commands b/confclient/commands
index 19559de..865cc3e 100644
--- a/confclient/commands
+++ b/confclient/commands
@@ -1,51 +1,174 @@
-quit quit
-wait wait / next turn
-player_u player up
-player_d player down
-player_l player left
-player_r player right
-to_g_keywin toggle global keys window
-to_mapwin toggle map window
-to_infowin toggle info window
-to_logwin toggle log window
-to_wg_keywin toggle window geometry keys window
-to_wk_keywin toggle window keybinding keys window
-cyc_win_f cycle window selection forwards
-winconf toggle window configuration view
-cyc_win_b cycle window selection backwards
-scrl_l scroll pad left
-scrl_r scroll pad right
-g_keys_d global keybindings nav down
-g_keys_u global keybindings nav up
-g_keys_m global keybindings modify
-shift_f shift window forwards
-shift_b shift window backwards
-grow_h grow window horizontally
-shri_h shrink window horizontally
-grow_v grow window vertically
-shri_v shrink window vertically
-to_height_t toggle window height type
-to_width_t toggle window width type
-w_keys_d win keys nav down
-w_keys_u win keys nav up
-w_keys_m win keys mod
-wg_keys_d win geometry config keybindings nav down
-wg_keys_u win geometry config keybindings nav up
-wg_keys_m win geometry config keybindings modify
-wk_keys_d win keybindings config keybindings nav down
-wk_keys_u win keybindings config keybindings nav up
-wk_keys_m win keybindings config keybindings modify
-reload_conf reload windows and keybindings configuration
-save_conf save windows and keybindings
-map_u map up
-map_d map down
-map_l map left
-map_r map right
-map_c map center player
-to_a_keywin toggle view of available keybindings
-to_inv toggle inventory window
-drop drop object from inventory
-pick pick up object from ground
-inv_d inventory selection down
-inv_u inventory selection up
-use use selected inventory object
+COMMAND ai
+DESCRIPTION 'let AI decide move'
+SERVER_COMMAND ai
+SERVER_ARGUMENT 0
+
+COMMAND wait
+DESCRIPTION 'wait / next turn'
+SERVER_COMMAND wait
+SERVER_ARGUMENT 0
+
+COMMAND move_e
+DESCRIPTION 'move north-east'
+SERVER_COMMAND move
+SERVER_ARGUMENT e
+
+COMMAND move_d
+DESCRIPTION 'move east'
+SERVER_COMMAND move
+SERVER_ARGUMENT d
+
+COMMAND move_c
+DESCRIPTION 'move south-east'
+SERVER_COMMAND move
+SERVER_ARGUMENT c
+
+COMMAND move_x
+DESCRIPTION 'move south-west'
+SERVER_COMMAND move
+SERVER_ARGUMENT x
+
+COMMAND move_s
+DESCRIPTION 'move west'
+SERVER_COMMAND move
+SERVER_ARGUMENT s
+
+COMMAND move_w
+DESCRIPTION 'move north-west'
+SERVER_COMMAND move
+SERVER_ARGUMENT w
+
+COMMAND pick
+DESCRIPTION 'pick up'
+SERVER_COMMAND pick_up
+SERVER_ARGUMENT 0
+
+COMMAND use
+DESCRIPTION 'use object'
+SERVER_COMMAND use
+SERVER_ARGUMENT i
+
+COMMAND drop
+DESCRIPTION 'drop'
+SERVER_COMMAND drop
+SERVER_ARGUMENT i
+
+COMMAND quit
+DESCRIPTION 'quit'
+
+COMMAND cyc_win_f
+DESCRIPTION 'nav down window'
+
+COMMAND cyc_win_b
+DESCRIPTION 'nav up window'
+
+COMMAND shift_f
+DESCRIPTION 'shift down window'
+
+COMMAND shift_b
+DESCRIPTION 'shift up window'
+
+COMMAND scrl_l
+DESCRIPTION 'scroll pad left'
+
+COMMAND scrl_r
+DESCRIPTION 'scroll pad right'
+
+COMMAND keyb_dG
+DESCRIPTION 'nav down global keys'
+
+COMMAND keyb_uG
+DESCRIPTION 'nav up global keys'
+
+COMMAND keyb_mG
+DESCRIPTION 'mod global keys'
+
+COMMAND winconf
+DESCRIPTION 'toggle win config'
+
+COMMAND grow_h
+DESCRIPTION 'grow window width'
+
+COMMAND shri_h
+DESCRIPTION 'shrink window width'
+
+COMMAND grow_v
+DESCRIPTION 'grow window height'
+
+COMMAND shri_v
+DESCRIPTION 'shrink window height'
+
+COMMAND to_break
+DESCRIPTION 'toggle line break type'
+
+COMMAND to_height_t
+DESCRIPTION 'toggle window height type'
+
+COMMAND to_width_t
+DESCRIPTION 'toggle window width type'
+
+COMMAND inv_d
+DESCRIPTION 'nav down object'
+
+COMMAND inv_u
+DESCRIPTION 'nav up object'
+
+COMMAND keyb_dw
+DESCRIPTION 'nav down window keys'
+
+COMMAND keyb_uw
+DESCRIPTION 'nav up window nav'
+
+COMMAND keyb_mw
+DESCRIPTION 'mod window key'
+
+COMMAND keyb_dg
+DESCRIPTION 'nav down win geometry config keys'
+
+COMMAND keyb_ug
+DESCRIPTION 'nav up win geometry config keys'
+
+COMMAND keyb_mg
+DESCRIPTION 'mod win geometry config keys'
+
+COMMAND keyb_dk
+DESCRIPTION 'nav down win keys config keys'
+
+COMMAND keyb_uk
+DESCRIPTION 'nav up win keys config keys'
+
+COMMAND keyb_mk
+DESCRIPTION 'mod win keys config keys'
+
+COMMAND reload_conf
+DESCRIPTION 'reload interface config'
+
+COMMAND save_conf
+DESCRIPTION 'save interface config'
+
+COMMAND to_inv
+DESCRIPTION 'window inventory'
+
+COMMAND to_terrain
+DESCRIPTION 'standing-on window'
+
+COMMAND to_g_keywin
+DESCRIPTION 'window global keys'
+
+COMMAND to_mapwin
+DESCRIPTION 'window map'
+
+COMMAND to_infowin
+DESCRIPTION 'window info'
+
+COMMAND to_logwin
+DESCRIPTION 'window log'
+
+COMMAND to_wg_keywin
+DESCRIPTION 'window geometry keys'
+
+COMMAND to_wk_keywin
+DESCRIPTION 'window keybinding keys'
+
+COMMAND to_look
+DESCRIPTION 'toggle look mode'