source: abuse/tags/pd/macabuse/inc/config.hpp

Last change on this file was 49, checked in by Sam Hocevar, 12 years ago
  • Imported original public domain release, for future reference.
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.