Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4440 2555d 15h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Android updates from Emile. DONT_BUILD.  
4074 2747d 2h hendricks266 /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Improve SDL2 support as much as I can, for now. The game compiles, links, and starts, but all three renderers either don't display correctly or crash.

To build with SDL2: make RENDERTYPE=SDL SDL_TARGET=2
3494 2977d 1h hendricks266 /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Wii: Fix build.  
3338 3027d 23h hendricks266 /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Clean up and factor jaudiolib.  
3219 3063d 1h hendricks266 /polymer/eduke32/source/jaudiolib/src/driver_sdl.c For novelty, add support for RENDERTYPE=SDL under Windows.

This needs improvements to bring it up to par with winlayer, but it is functional. In particular, a good amount of code from winlayer could be used for both layers, including the profiling timers, the version printing code, and the hInstance and hModule sharing.

Known problems: the mouse cursor is not trapped, and the game starts before the startup window shows options.
3140 3077d 8h Plagman /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Fix warning in jaudiolib due to void ptr arith.  
2777 3217d 12h helixhorned /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Add prototypical SDL 2.X support.

Doesn't work: indexed-color modes, gamma (at least for X11), mouse wheel,
special keys like ENTER or BACKSPACE in the OSD, probably more...

In build/Makefile.shared, we now have logic to autodetect an SDL2 installed
in /usr/local, however OS X and Wii builds follow other Makefile code paths,
it seems. Note that the matching SDL2_mixer must be used then, too.
In source/jaudiolib/src/driver_sdl.c, change the #includes from <SDL/SDL_xxx.h>
to "SDL_xxx.h". SDL wiki says this is the most portable way, hopefully this
doesn't break builds for anyone.
1593 4098d 12h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Very few actual changes... mostly formatting fixes from astyle  
1585 4110d 15h plagman /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Don't process the SDL_mixer effect if we're not done initializing.  
1583 4110d 17h plagman /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Fences access to common resources between the possible SDL_mixer effect thread and the rest of the audio code.  
1487 4269d 0h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c  
1481 4274d 22h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c fixes... mostly sound fuckery  
1474 4278d 2h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c  
1473 4278d 4h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c bring back MIDI support for linux plus a few bug fixes  
1471 4279d 4h terminx /polymer/eduke32/source/jaudiolib/src/driver_sdl.c Initial working commit of JonoF's audiolib re-port... I think