source: abuse/trunk/src/configuration.h @ 489

Last change on this file since 489 was 481, checked in by Sam Hocevar, 10 years ago

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

  • Property svn:keywords set to Id
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.