X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=src%2Fcontrol.h;h=492ac88e3811831661774e9efb612b6951e29d1a;hb=4b5302fe73b9aa08819ff740bbf8286352a990fb;hp=889bdbfd366394f1d7a44e29eed7853b8fde05c4;hpb=7290dec4219eaa2325aa00ef6139f715743dba3a;p=plomrogue
diff --git a/src/control.h b/src/control.h
index 889bdbf..492ac88 100644
--- a/src/control.h
+++ b/src/control.h
@@ -15,10 +15,11 @@ extern uint16_t get_available_keycode_to_action(char * name);
-/* Control the player character, either via recorded "action" or pressed "key".
+/* 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 void record_control(int action);
-extern uint8_t player_control(int key);
+extern uint8_t player_control_by_id(int action);
+extern uint8_t player_control_by_key(int key);