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

Last change on this file since 57 was 57, checked in by Sam Hocevar, 14 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
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 */
[2]10#ifndef __CONFIG_HPP_
11#define __CONFIG_HPP_
13enum { HIGH_DETAIL,
15       LOW_DETAIL,
16       POOR_DETAIL };
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
[39]23int get_keycode(char const *str);  // -1 means not a valid key code
Note: See TracBrowser for help on using the repository browser.