summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/stdio_compat.h (follow)
Commit message (Collapse)AuthorAge
* Silence warning in stdio_compat.hFranklin Wei2019-07-19
| | | | Change-Id: I5aecaf6fcf42fbaf2deb933e590dcda6d01ac212
* Quake!Franklin Wei2019-07-19
| | | | | | | | | | | | | | | | | | This ports id Software's Quake to run on the SDL plugin runtime. The source code originated from id under the GPLv2 license. I used https://github.com/ahefner/sdlquake as the base of my port. Performance is, unsurprisingly, not on par with what you're probably used to on PC. I average about 10FPS on ipod6g, but it's still playable. Sound works well enough, but in-game music is not supported. I've written ARM assembly routines for the inner sound loop. Make sure you turn the "brightness" all the way down, or colors will look funky. To run, extract Quake's data files to /.rockbox/quake. Have fun! Change-Id: I4285036e967d7f0722802d43cf2096c808ca5799
* Undef potentially conflicting macros in stdio_compat.hFranklin Wei2017-12-24
| | | | Change-Id: If4af3e3cc16a947127e6253d0b81b684b5abb0c9
* fix redFranklin Wei2017-12-24
| | | | Change-Id: Ib28cfd9037901c7b8bc9b2960ad2c1c9a1e25a69
* Port of Duke Nukem 3DFranklin Wei2017-12-23
| | | | | | | This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
* stdio compat layer for pluginsMarcin Bukat2017-12-23
This is attempt to simplify porting programs to rockbox (as plugins). Currently this compat layer implements: fopen(), fclose(), fflush(), fread(), fwrite(), fseek(), fseeko(), ftell(), ftello(), fgetc(), ungetc(), fputc(), fgets(), clearerr(), ferror(), feof(), fprintf() In order to use it you need to include in ported sources "lib/stdio_compat.h" Change-Id: I5add615dd19c5af9c767ccbfb1bd5a4e466741cb