home · contact · privacy
Moved meta_keys() into new library "control" to soon include all key-press processing.
[plomrogue] / src / control.h
1 /* control.h
2  */
3
4 #ifndef CONTROL_H
5 #define CONTROL_H
6
7
8
9 #include <stdint.h>    /* for uint8_t */
10 #include "yx_uint16.h" /* for yx_uint16 coordinates */
11 struct World;
12
13
14
15 /* Call some meta game / window management actions dependent on key. If the
16  * "quit" action is called, return 1 only instead of doing anything directly.
17  */
18 extern uint8_t meta_keys(int key, struct World * world);
19
20
21
22 #endif