home · contact · privacy
Some cleaning up and comments added to outsourcing misc library stuff into control...
[plomrogue] / src / control.h
1 /* control.h
2  *
3  * Routines for handling user's key press input.
4  */
5
6 #ifndef CONTROL_H
7 #define CONTROL_H
8
9
10
11 #include <stdint.h> /* for uint8_t */
12 struct World;
13
14
15
16 /* Call some meta game / window management actions dependent on key. If the
17  * "quit" action is called, return 1 only instead of doing anything directly.
18  */
19 extern uint8_t meta_keys(int key, struct World * world);
20
21
22
23 #endif