X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fcontrol.h;fp=src%2Fcontrol.h;h=0000000000000000000000000000000000000000;hb=dd9d65ee727ac7e95801da0f8b5bae7009811802;hp=492b80b1688f8ad176dd57adc7397cac11d86661;hpb=c3d87a1dee96775443fdf73c53e1350af7ca5fc2;p=plomrogue diff --git a/src/control.h b/src/control.h deleted file mode 100644 index 492b80b..0000000 --- a/src/control.h +++ /dev/null @@ -1,33 +0,0 @@ -/* control.h - * - * Routines for handling control input from keyboard or record file. - */ - -#ifndef CONTROL_H -#define CONTROL_H - -#include /* for uint8_t */ - - - -/* 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 config view's geometry / keybindings. */ -extern uint8_t wingeom_control(int key); -extern uint8_t winkeyb_control(int key); - -/* Call via "key" further game/window management actions not influencing the - * player character. If "quit" is called, return 1, else 0. - */ -extern uint8_t meta_control(int key); - - - -#endif