X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fcontrol.h;h=8c44cc0a423a64fff73fa624479f49e1c51459bc;hb=350ef2e2d17e8122e2991466f76a9a083a6303e7;hp=30b2dda06b6d49d624903879535d975d3ad64efb;hpb=d701e79e9297470b56315eefd431c62c9aba28b2;p=plomrogue diff --git a/src/control.h b/src/control.h index 30b2dda..8c44cc0 100644 --- a/src/control.h +++ b/src/control.h @@ -13,24 +13,18 @@ /* Return keycode to action of "name" if available in current window config. */ extern uint16_t get_available_keycode_to_action(char * name); - - /* Control the player character, either via action id "action" or pressed "key". * Return 1 on success, 0 if no appropriate action to trigger was found. */ extern uint8_t player_control_by_key(int key); extern uint8_t player_control_by_id(int action); - - /* Control via "key" active window's geometry / keybindings in respective config * view. */ extern uint8_t wingeom_control(int key); extern uint8_t winkeyb_control(int key); - - /* Call by "key" further game / window management actions that don't influence * the player character. If the "quit" action is called, return 1 (instead of * exiting directly).