source: abuse/trunk/src/config.hpp @ 112

Last change on this file since 112 was 57, checked in by Sam Hocevar, 12 years ago
  • Move each header to the same directory as its corresponding source, to get a better idea of which files are likely to export symbols.
File size: 742 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *
5 *  This software was released into the Public Domain. As with most public
6 *  domain software, no warranty is made or implied by Crack dot Com or
7 *  Jonathan Clark.
8 */
9
10#ifndef __CONFIG_HPP_
11#define __CONFIG_HPP_
12
13enum { HIGH_DETAIL,
14       MEDIUM_DETAIL,
15       LOW_DETAIL,
16       POOR_DETAIL };
17
18
19void key_bindings(int player, int &left, int &right, int &up, int &down, int &b1, int &b2, int &b3,  int &b4);
20void get_key_bindings();
21void get_movement(int player, int &x, int &y, int &b1, int &b2, int &b3, int &b4);
22void config_cleanup();  // free any memory allocated
23int get_keycode(char const *str);  // -1 means not a valid key code
24
25#endif
Note: See TracBrowser for help on using the repository browser.