X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=confclient%2Fcommands;h=865cc3ee7bcf89ed4578e182052b2d8f94b04a10;hb=7c9c3b3cc0044de265b845eec1a71d9bc3577105;hp=28ab1228b5c261686e952a08e68ac152d24541ae;hpb=f66a29b78490b1a7013c4acb7595d4b211560750;p=plomrogue
diff --git a/confclient/commands b/confclient/commands
index 28ab122..865cc3e 100644
--- a/confclient/commands
+++ b/confclient/commands
@@ -1,51 +1,174 @@
-wait wait 0 wait / next turn
-use use i use selected inventory object
-drop drop i drop object from inventory
-pick pick_up 0 pick up object from ground
-player_u move N player up
-player_d move S player down
-player_l move W player left
-player_r move E player right
-quit 0 0 quit
-to_g_keywin 0 0 toggle global keys window
-to_mapwin 0 0 toggle map window
-to_infowin 0 0 toggle info window
-to_logwin 0 0 toggle log window
-to_wg_keywin 0 0 toggle window geometry keys window
-to_wk_keywin 0 0 toggle window keybinding keys window
-cyc_win_f 0 0 cycle window selection forwards
-winconf 0 0 toggle window configuration view
-cyc_win_b 0 0 cycle window selection backwards
-scrl_l 0 0 scroll pad left
-scrl_r 0 0 scroll pad right
-g_keys_d 0 0 global keybindings nav down
-g_keys_u 0 0 global keybindings nav up
-g_keys_m 0 0 global keybindings modify
-shift_f 0 0 shift window forwards
-shift_b 0 0 shift window backwards
-grow_h 0 0 grow window horizontally
-shri_h 0 0 shrink window horizontally
-grow_v 0 0 grow window vertically
-shri_v 0 0 shrink window vertically
-to_height_t 0 0 toggle window height type
-to_width_t 0 0 toggle window width type
-w_keys_d 0 0 win keys nav down
-w_keys_u 0 0 win keys nav up
-w_keys_m 0 0 win keys mod
-wg_keys_d 0 0 win geometry config keybindings nav down
-wg_keys_u 0 0 win geometry config keybindings nav up
-wg_keys_m 0 0 win geometry config keybindings modify
-wk_keys_d 0 0 win keybindings config keybindings nav down
-wk_keys_u 0 0 win keybindings config keybindings nav up
-wk_keys_m 0 0 win keybindings config keybindings modify
-reload_conf 0 0 reload windows and keybindings configuration
-save_conf 0 0 save windows and keybindings
-map_u 0 0 map up
-map_d 0 0 map down
-map_l 0 0 map left
-map_r 0 0 map right
-map_c 0 0 map center player
-to_a_keywin 0 0 toggle view of available keybindings
-to_inv 0 0 toggle inventory window
-inv_d 0 0 inventory selection down
-inv_u 0 0 inventory selection up
+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'