X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=confclient%2Fcommands;h=f5b987e450dbf2aa29633580083770df111f508b;hb=8cc9157f2275ba9992a647af9f6165d16ba30e0d;hp=502ede7f9570a4de913f4c49a74fe7cf1e4ed0d1;hpb=c53b1488c5a53e8b12cb3a631763f98010420690;p=plomrogue
diff --git a/confclient/commands b/confclient/commands
index 502ede7..f5b987e 100644
--- a/confclient/commands
+++ b/confclient/commands
@@ -1,51 +1,189 @@
-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 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 g_keys_d
+DESCRIPTION 'nav down global keys'
+
+COMMAND g_keys_u
+DESCRIPTION 'nav up global keys'
+
+COMMAND g_keys_m
+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 w_keys_d
+DESCRIPTION 'nav down window keys'
+
+COMMAND w_keys_u
+DESCRIPTION 'nav up window nav'
+
+COMMAND w_keys_m
+DESCRIPTION 'mod window key'
+
+COMMAND wg_keys_d
+DESCRIPTION 'nav down win geometry config keys'
+
+COMMAND wg_keys_u
+DESCRIPTION 'nav up win geometry config keys'
+
+COMMAND wg_keys_m
+DESCRIPTION 'mod win geometry config keys'
+
+COMMAND wk_keys_d
+DESCRIPTION 'nav down win keys config keys'
+
+COMMAND wk_keys_u
+DESCRIPTION 'nav up win keys config keys'
+
+COMMAND wk_keys_m
+DESCRIPTION 'mod win keys config keys'
+
+COMMAND reload_conf
+DESCRIPTION 'reload interface config'
+
+COMMAND save_conf
+DESCRIPTION 'save interface config'
+
+COMMAND map_u
+DESCRIPTION 'map up'
+
+COMMAND map_d
+DESCRIPTION 'map down'
+
+COMMAND map_l
+DESCRIPTION 'map left'
+
+COMMAND map_r
+DESCRIPTION 'map right'
+
+COMMAND map_c
+DESCRIPTION 'map center player'
+
+COMMAND to_a_keywin
+DESCRIPTION 'window keys of active window'
+
+COMMAND to_inv
+DESCRIPTION 'window inventory'
+
+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_autofocus
+DESCRIPTION 'toggle auto-center'