aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2010-10-29PSP: corrected png loader to use bit depth rather than palette sizeYotam Barnoy
Sometimes we can have an 8bit file for example that has a palette of 16 colors or less, so we need to go by the bit depth rather than inferring the bit depth from the palette size. svn-id: r53917
2010-10-27PSP: Fixed ImageViewer code to deallocate TimedMessageDialogYotam Barnoy
Not deallocating it before loading the next image causes fragmentation in memory which eventually prevents big things from being loaded into memory. svn-id: r53873
2010-10-25ANDROID: Add --disable-timidity to the recommended flagsAngus Lees
svn-id: r53809
2010-10-25ANDROID: Don't trust eglChooseConfig and refilter/sort results manuallyAngus Lees
It seems some Android versions and devices (eg Droid) don't implement eglChooseConfig according to spec and the first result isn't the best choice. Implement our own filtering / scoring to workaround this. svn-id: r53808
2010-10-25ANDROID: Provide an alternate partial texture update for stride != widthAngus Lees
The new one copies into a temp buffer and only does one glTexSubImage2D. I'm led to believe that this is faster on some devices (but slower on others). Disabled for now, but someone might want to try both versions on their slow device. Also manually set glColor before calling DrawTexiOES, following mention of a bug in a discussion I stumbled across. DrawTexiOES-use is disabled for now, so this is a noop. svn-id: r53803
2010-10-25ANDROID: Force extra screen update when updating overlay.Angus Lees
This appears to work around a blank screen bug Nexus1. I never tracked it down, but as far as I can tell it is triggered by multiple overlapping updates before flushing the texture to screen. This condition only happens in the overlay atm so an extra redraw isn't the end of the world. (Also remove an unused _full_screen_dirty property) svn-id: r53801
2010-10-24SDL/win32: fix lf, thx msvcMartin Kiewitz
svn-id: r53768
2010-10-24SDL/w32: add ability to hide consoleMartin Kiewitz
feature is currently commented out - waiting till discussion has ended svn-id: r53767
2010-10-23PSP: Fix up imageViewer to pause gameYotam Barnoy
The only real way to pause the game is to take over the event loop, which is a little sad... Also fixed a possible crash when loading an image that was to big, by only rendering when we have _init set. svn-id: r53741
2010-10-23DINGUX: fix compilation for the opengl branchFabio Battaglia
Moved events related code to backends/events/dinguxsdl/* and move graphics related code to backends/graphics/dinguxsdl/* Subclass OSystem_POSIX instead of OSystem_SDL svn-id: r53730
2010-10-23PSP: make vkbd's function keys match their visual representationJoost Peters
svn-id: r53728
2010-10-21OPENGL: Add an SdlEventSource member to OSystem_SDL instead of subclassing ↵Johannes Schickel
SdlEventSource. Derived backends are allowed to overwrite that member in case they need special handling of SDL events. svn-id: r53675
2010-10-21GPH: Rename README (package build step uses the README-GPH name)Julien Templier
svn-id: r53661
2010-10-20OPENPANDORA: Clean up support scripts and README.John Willis
svn-id: r53641
2010-10-20GPH: Cleanup Readme and support scripts.John Willis
GP2X: Cleanup Readme. SDL: Change a few backend defines to GPH_DEVICE from the device name (blocking main and loadGFXMode so they can be written elsewhere). svn-id: r53639
2010-10-20PSP: added dummy function to allow BS2.5 to buildYotam Barnoy
svn-id: r53635
2010-10-19PSP: add missing return statements to image viewerYotam Barnoy
svn-id: r53601
2010-10-15COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::StringMax Horn
Almost all places where we used XMLParser::parseIntegerKey were using it like this: XMLParser::parseIntegerKey(str.c_str(), ...) Since this makes the code harder to read, I overloaded the method to also accept Commmon::String directly. Also removed all .c_str() invocations where necessary. svn-id: r53479
2010-10-14PSP: made image in viewer movable by pushing nub continuouslyYotam Barnoy
svn-id: r53462
2010-10-14PSP: made image viewer reset to the first image between engine loadsYotam Barnoy
svn-id: r53460
2010-10-14PSP: added image viewer for viewing images during gamesYotam Barnoy
svn-id: r53455
2010-10-14PSP: clarify and fix up display codeYotam Barnoy
Also added support for stretching images, and fixed up displaying of large images as well as PNG files svn-id: r53454
2010-10-13SYMBIAN: Add makefiles for TOON StruckLars Persson
svn-id: r53443
2010-10-13OPENGL: More cleanup.Johannes Schickel
svn-id: r53441
2010-10-13OPENGL: Cleanup.Johannes Schickel
svn-id: r53436
2010-10-13OPENGL: Get rid of one ugly cast.Johannes Schickel
svn-id: r53435
2010-10-13OPENGL: Cleanup.Johannes Schickel
svn-id: r53434
2010-10-13OPENGL: Replace SdlEventManager by SdlEventSource.Johannes Schickel
Formerly SdlEventManager was a subclass of DefaultEventManager but did not really have anything in common with the idea of our EventManager interface. Now I made a new object SdlEventSource which only subclasses EventSource and which is responsible for obtaining events from SDL (and processing them). svn-id: r53433
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-10-13SOUND: Allow TiMidity support to be disabled via configure.Johannes Schickel
svn-id: r53395
2010-10-12OPENPANDORA: Add latest backend code from branch-1-2-0.John Willis
* Ooops, forgot to sync this with HEAD. Sorry about that. svn-id: r53162
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-10-10PSP: factored PngLoader out of virtual keyboard for further useYotam Barnoy
svn-id: r53108
2010-10-06PSP: rewrote input code and added an input modeYotam Barnoy
The old input code was getting too messy. A redesign made it easier to modify and add several modes and combos, including one for 1st person games which benefit from a different control scheme. A combo switches between the modes. I also added directional support while the virtual keyboard is visible, using the nub. This allows moving around in the text in some games, and moving the character while typing for others (e.g. AGI) svn-id: r53042
2010-10-03EVENTS: Apply backspace hack to keyrepeat tooWillem Jan Palenstijn
svn-id: r52993
2010-09-30I18N: Add translation for wince specific titles for key mapping dialogThierry Crozat
Also backport fix from branch on translation of default title for key mapping dialog. svn-id: r52959
2010-09-29IPHONE: The overlay will now always be in the native device resolutionOystein Eftevaag
svn-id: r52939
2010-09-28ALL: Fixup some #define namesMax Horn
svn-id: r52935
2010-09-28SDL: Fix for 32 bit mode support (untested; might be good for backporting, ↵Max Horn
not sure, somebody should verify) svn-id: r52934
2010-09-25DINGUX: remove wrong comment and fill the readme with some infosFabio Battaglia
svn-id: r52894
2010-09-25PSP: ME MP3: cache stereo statusYotam Barnoy
Bad timing can cause stereo status not to be picked up if at some point a MAD _header is not initialized. svn-id: r52890
2010-09-25SYMBIAN : Updated version nr to 1.13 in package fileLars Persson
svn-id: r52882
2010-09-23PSP: fix issue in ME MP3 code. Release and init the ME when seeking.Yotam Barnoy
Without this fix, the ME allocates more and more memory with every seek until it can't work. svn-id: r52868
2010-09-23SYMBIAN : Add addSysArchivesToSearchSet to support local data files ↵Lars Persson
properly. (Instead of using extrapath) svn-id: r52864
2010-09-23SYMBIAN : Remove application resource include not used.Lars Persson
svn-id: r52863
2010-09-23SYMBIAN : Updated define for S60v3 detectionLars Persson
svn-id: r52862
2010-09-22Additional include paths for Symbian^3Lars Persson
svn-id: r52854
2010-09-22Added include paths for Symbian^3 SDK supportLars Persson
svn-id: r52853
2010-09-21ADded translations.dat to pkg filesLars Persson
svn-id: r52840
2010-09-20PSP: switch from wrapping memcpy to defining our own memcpyYotam Barnoy
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's. svn-id: r52817