aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2010-11-18DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStreamMax Horn
svn-id: r54332
2010-11-18DS: Remove write buffering in DSFileStream, use wrapBufferedWriteStream insteadMax Horn
svn-id: r54331
2010-11-18DS: Avoid needlessly allocating temporary Common::String instancesMax Horn
svn-id: r54329
2010-11-18COMMON: Make implementation of Buffered*Stream classes internalMax Horn
svn-id: r54326
2010-11-18DS: Port changes from 1.2.0 branch to trunkMax Horn
svn-id: r54325
2010-11-18DS: Two more 'FILE' related fixes/workaroundsMax Horn
svn-id: r54321
2010-11-18DS: Add some FIXME/TODO comments on changes that need to be applied to the ↵Max Horn
DS backend svn-id: r54318
2010-11-18DS: Fix compilation despite use of 'forbidden' symbolsMax Horn
svn-id: r54317
2010-11-18PSP: reduced fragmentation by allocating overlay just onceYotam Barnoy
svn-id: r54316
2010-11-18PSP: added backtracing function for debuggingYotam Barnoy
Currently not used by anything. svn-id: r54312
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-10PSP: changed renderer to render huge images properlyYotam Barnoy
The PSP HW wasn't able to calculate the proper stretching when given the whole image size on a huge image. This is also a better way to do it because we're not overwriting tiles of the texture. svn-id: r54190
2010-11-09N64: correct wrong check in romfs stream codeFabio Battaglia
my implementation of romfs_seek is based on lseek, not on fseek, so it returns the offset on successful completion, not 0, corrected the check in RomfsStream::seek(). svn-id: r54151
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-05WINCE: Remove tons of obsolete workaround code for 'missing' headers and funcsMax Horn
svn-id: r54089
2010-11-05PLUGINS: Simplify ELF plugin providers & DLObject subclassesMax Horn
* Remove DLObject virtual methods allocSegment and freeSegment. As long as all DLObject implementations use memalign + free to allocate/release segments, there is no point in wrapping those. This enables further simplifications. * Add TemplatedELFPlugin template class. Use this instead of explicit ELFPlugin subclasses. * Rename DLObject::discard_symtab to discardSymtab svn-id: r54082
2010-11-05PLUGINS: Add EM_SH to elf32.h (e_machine type used by DC backend)Max Horn
svn-id: r54081
2010-11-04GPH: Update README-GPH to suggest even more WiKi reading.John Willis
svn-id: r54064
2010-11-04PSP: cleaning up some stuff from plugin mergeYotam Barnoy
svn-id: r54060
2010-11-04DS: moved build-ds.sh to DS directory. It's currently unused but has a good ↵Yotam Barnoy
way of reducing dynamic size svn-id: r54059
2010-11-04DC: remove multi-build of dc-provider that slipped in with plugin merge.Yotam Barnoy
svn-id: r54058
2010-11-04COMMON: Undo changes to common/ptr.h, remove Common::ScopedPtrCMax Horn
The deletePointer() method approach cannot work, as it is called by the destructor of the base class. A possible correct solution would be to enhance ScopedPtr with a "deleter" object like SharedPtr. But this seems overkill as long as we need it in only one place. svn-id: r54057
2010-11-03Merge from gsoc2010-pluginsYotam Barnoy
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work. svn-id: r54051
2010-11-03Dummy file creation through SVN to allow merging gsoc plugins via mercurialYotam Barnoy
svn-id: r54046
2010-11-02OPENPANDORA: Add FORBIDDEN_SYMBOL_ALLOW_ALL define to enable use of ↵John Willis
forbidden symbols. svn-id: r54041
2010-11-01SYMBIAN: Trigger a compiler error on systems where __GCC32__ is set, instead ↵Max Horn
of producing incorrect code svn-id: r54005
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31GP2X: Fix warnings about unused declsMax Horn
svn-id: r53982
2010-10-31WINCE: Fix assert() implementationMax Horn
svn-id: r53980
2010-10-31WINCE: Code formattingMax Horn
svn-id: r53979
2010-10-31WINCE: Enable use of forbidden symbols, cleanupMax Horn
I tried to untangle the header interdependencies a bit, but this is still quite a mess. This commit also fixes some warnings. svn-id: r53978
2010-10-31PS2: Enable another use of forbidden symbolsMax Horn
svn-id: r53977
2010-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
2010-10-31WINDOWS: Enable use of forbidden symbolsMax Horn
svn-id: r53972
2010-10-31IPHONE: Enable use of forbidden symbolsMax Horn
svn-id: r53971
2010-10-31PSP: Enable use of forbidden symbolsMax Horn
svn-id: r53970
2010-10-30PS2: Enable use of forbidden symbolsMax Horn
svn-id: r53969
2010-10-30SDL: Fix SDL plugin provider code (used e.g. by Dingux port)Max Horn
svn-id: r53968
2010-10-30GPH: Enable use of forbidden symbolsMax Horn
svn-id: r53964
2010-10-30LINUXMOTO: Enable use of forbidden symbolsMax Horn
svn-id: r53963
2010-10-30GP2x: Enable use of forbidden symbolsMax Horn
svn-id: r53962
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-10-29PSP: Improved image viewer movementYotam Barnoy
Before the limit was arbitrary. Now we check the proper location on screen and move in increments relative to the size on screen. svn-id: r53918
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