From: Christian Heller Date: Wed, 1 May 2013 00:48:42 +0000 (+0200) Subject: Minor keybinding renamings. X-Git-Tag: tce~1331 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/do_todos?a=commitdiff_plain;h=1ac0511e51c3f43957f322aa0017ac6afef4ec20;p=plomrogue Minor keybinding renamings. --- diff --git a/keybindings b/keybindings index fa134d5..cb285c7 100644 --- a/keybindings +++ b/keybindings @@ -13,10 +13,10 @@ 60 cycle backwards 121 shift forwards 89 shift backwards -42 grow hor -95 shrink hor -43 grow ver -45 shrink ver +42 grow horizontally +95 shrink horizontally +43 grow vertically +45 shrink vertically 119 map up 120 map down 97 map left diff --git a/roguelike.c b/roguelike.c index c91140f..5c9ce88 100644 --- a/roguelike.c +++ b/roguelike.c @@ -379,13 +379,13 @@ int main () { shift_window(&win_meta, 'f'); else if (key == get_action_key(world.keybindings, "shift backwards") && win_meta.active != 0) shift_window(&win_meta, 'b'); - else if (key == get_action_key(world.keybindings, "grow hor") && win_meta.active != 0) + else if (key == get_action_key(world.keybindings, "grow horizontally") && win_meta.active != 0) resize_window(&win_meta, '*'); - else if (key == get_action_key(world.keybindings, "shrink hor") && win_meta.active != 0) + else if (key == get_action_key(world.keybindings, "shrink horizontally") && win_meta.active != 0) resize_window(&win_meta, '_'); - else if (key == get_action_key(world.keybindings, "grow ver") && win_meta.active != 0) + else if (key == get_action_key(world.keybindings, "grow vertically") && win_meta.active != 0) resize_window(&win_meta, '+'); - else if (key == get_action_key(world.keybindings, "shrink ver") && win_meta.active != 0) + else if (key == get_action_key(world.keybindings, "shrink vertically") && win_meta.active != 0) resize_window(&win_meta, '-'); else if (key == get_action_key(world.keybindings, "save keys")) save_keybindings(&world);