summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl (follow)
Commit message (Collapse)AuthorAge
* Quake: attempt 2duke3dFranklin Wei2018-02-11
| | | | Change-Id: I4285036e967d7f0722802d43cf2096c808ca5799
* duke3d: remove debug codeFranklin Wei2018-02-07
| | | | | | | Increments are cheap, but they aren't free. Hopefully this' will squeeze out some fraction of a FPS. Change-Id: If99408ed0ac4ad5f754778e0f48d467bd93cc2e0
* sdl: remove non-rockbox driversFranklin Wei2018-02-07
| | | | | | | We never use any of these other drivers, so having them around just takes up space. Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
* sdl: fix freeze on startup on PP targetsFranklin Wei2018-02-04
| | | | | | | | | Using the coprocessor was a good idea in theory, but didn't actually work. This moves all SDL threads to the main core, which isn't ideal, but at least works. Additionally, this also adds some good-practice stuff such as setting the default sample rate on exit. Change-Id: If1636b33d439000ec7c4e50f46e8d002708d3121
* duke3d: clean up whitespace in game.cFranklin Wei2018-01-18
| | | | | | | It was absolutely horrendous before; this should make it easier to work with going forward. No functional changes (hopefully). Change-Id: I2dff2d5b2e88725dc586cd968a29052ee4947bb1
* duke3d: improve greylib supportFranklin Wei2018-01-18
| | | | Change-Id: I44f7fd383bd1aa7c9bfc114977acfc2e0f1dd0c8
* duke3d: misc stuff (DON'T PUSH)Franklin Wei2018-01-05
| | | | | | | | Mostly debugging output to the FPS line. Also changes tools/configure to always cross-compile a 32-bit simulator to support duke's horrendous pointer casting. Please don't push this. Change-Id: I3df6c633b5af017f33055dc4f9257738aaf66cfb
* sdl: support greylib video (untested)Franklin Wei2018-01-05
| | | | | | | | | | This is a very early attempt at getting greylib to work in SDL. The driver gives SDL a virtual 24-bit color framebuffer, which it then averages to grayscale in the update step. This works in the simulator, but has not been tested on real hardware yet. I think only the fastest greylib targets will be able to even run duke. Change-Id: Id9b82fe6273627aae3667d534755804f9112f798
* sdl: clean up audio driverFranklin Wei2018-01-05
| | | | | | | | This prevents a (highly improbable) race condition when exiting, and uses pcm_set_frequency() instead of mixer_set_frequency(), since that seems like the Right Thing to Do (TM). Change-Id: Icb6a4597843215f08b3835490ac63f67c9a04736
* duke3d: bump audio sample rate to 22.1KHzFranklin Wei2018-01-05
| | | | | | Recent optimizations to sound mixing should allow this, up from 16KHz. Change-Id: I0ba5742c934118a3a6505b8dc58578b0cfe8ea77
* Add a test_sdl pluginFranklin Wei2018-01-05
| | | | | | | This plugin plays a rough sine wave and is mostly useful for debugging crashes associated with SDL. Probably not worth merging. Change-Id: I58ea675f6f996c15bff11fd35445456e41f9fd60
* duke3d: further optimize audio mixingFranklin Wei2018-01-05
| | | | | | | | | Rather than holding intermediate results as fixed-point, this converts them directly to normal integers (in the range of the PCM sample) while mixing, instead of waiting till the end to perform a separate shifting step. Also, this precalculates some constants in the reverb code. Change-Id: Ie04e444d145bc28ce67eef9ae0ead6d328acf28a
* duke3d: unregister timer on exitFranklin Wei2018-01-05
| | | | | | This was leading to a crash upon audio playback after running the game. Change-Id: I1e9961da443c21e3eff38bcf9877ffa75a922715
* duke3d: rewrite sound mixing to use fixed-pointFranklin Wei2017-12-26
| | | | | | Gives significant performance improvement on ipod6g. Change-Id: I1e8462bec197acb10e770c796240b5001df52440
* duke3d: use hardware FPU if availableFranklin Wei2017-12-26
| | | | Change-Id: Idd9fad7bc0604a553c282a0f8c663ad44030ecac
* fix red once moreFranklin Wei2017-12-24
| | | | Change-Id: I6290cc6cca468c197656236d3dd31c3f72c53842
* attempt to fix sysfont.h errorsFranklin Wei2017-12-24
| | | | Change-Id: Icc67dc777d3a2269ececbf4fbe34d78d7bd34087
* fix redFranklin Wei2017-12-24
| | | | Change-Id: Ib28cfd9037901c7b8bc9b2960ad2c1c9a1e25a69
* fix redFranklin Wei2017-12-23
| | | | Change-Id: I20f1bd6f0208f6108d68fb59206b09dd9da4f1af
* 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