source: abuse/trunk/src/include/config.hpp @ 2

Last change on this file since 2 was 2, checked in by Sam Hocevar, 18 years ago
  • imported original 0.7.0 tarball
File size: 472 bytes
Line 
1#ifndef __CONFIG_HPP_
2#define __CONFIG_HPP_
3
4enum { HIGH_DETAIL,
5       MEDIUM_DETAIL,
6       LOW_DETAIL,
7       POOR_DETAIL };
8
9
10void key_bindings(int player, int &left, int &right, int &up, int &down, int &b1, int &b2, int &b3,  int &b4);
11void get_key_bindings();
12void get_movement(int player, int &x, int &y, int &b1, int &b2, int &b3, int &b4);
13void config_cleanup();  // free any memory allocated
14int get_keycode(char *str);  // -1 means not a valid key code
15
16#endif
Note: See TracBrowser for help on using the repository browser.