Last change
on this file since 731 was
731,
checked in by jjsimpso, 8 years ago
|
sdlport: Add support for SDL2, inculding the game controller API. Configure
script will check for SDL2 and use it if present, otherwise it will fall
back to SDL v1. Some old SDL v1 features not implemented yet on SDL2, such
as saving screenshots.
core: Small change for SDL2 game controller API to disable the game
controller in the save/load game menu.
Summary of game controller API changes:
- Enable with -gamepad
- Tested with PS3 dualshock 3.
- D-pad moves, right analog controls aiming
- X: change weapon, []: jump, R1: fire, L1: special ability, /\:use/activate
- All menu navigation requires the mouse, which is disabled during
normal game play.
|
File size:
483 bytes
|
Line | |
---|
1 | // |
---|
2 | // Abuse - dark 2D side-scrolling platform game |
---|
3 | // |
---|
4 | // Copyright (c) 2011 Jochen Schleu <jjs@jjs.at> |
---|
5 | // This program is free software; you can redistribute it and/or |
---|
6 | // modify it under the terms of the Do What The Fuck You Want To |
---|
7 | // Public License, Version 2, as published by Sam Hocevar. See |
---|
8 | // http://sam.zoy.org/projects/COPYING.WTFPL for more details. |
---|
9 | // |
---|
10 | |
---|
11 | #ifndef __HMI_HPP_ |
---|
12 | #define __HMI_HPP_ |
---|
13 | |
---|
14 | uint8_t* load_hmi(char const *filename, uint32_t &data_size); |
---|
15 | |
---|
16 | #endif |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.