source: abuse/trunk/src/sdl2port/Makefile.am @ 731

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: 390 bytes
RevLine 
[731]1
2DEFS = @DEFS@
3
4noinst_LIBRARIES = libsdlport.a
5
6libsdlport_a_SOURCES = \
7    video.cpp \
8    event.cpp \
9    sound.cpp sound.h \
10    timing.cpp \
11    jdir.cpp \
12    joystick.cpp joy.h \
13    setup.cpp setup.h \
14    hmi.cpp hmi.h \
15    $(NULL)
16libsdlport_a_LIBADD =
17
18INCLUDES = -I$(srcdir)/../ -I$(srcdir)/../imlib $(SDL_CFLAGS)
19
20CPPFLAGS = @CPPFLAGS@ -DNO_CHECK -DASSETDIR=\"$(assetdir)\"
21
Note: See TracBrowser for help on using the repository browser.