aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds
AgeCommit message (Collapse)Author
2012-06-21COMMON: Allow the savefile manager to create uncompressed savesFilippos Karapetis
These are useful in cases where the files can be used in the original interpreters (such as the exported characters from QFG), in order to avoid confusion in cases where the users are unaware that these saves are compressed and are trying to load them in the original interpreters.
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data.
2012-06-09COMMON: Add tm_wday to our TimeDate structMatthew Hoops
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-02-26NDS: Fix build after common util.h split.D G Turner
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-11-27DS: Remove the unused method OSystem_DS::grabRawScreen().Christoph Mallon
This was removed from OSystem in b51f2f3212ae8a5abbdce4d947ec2d1cad1a0b6f.
2011-11-17COMMON: Move <new> include into scummsys.h.Alyssa Milburn
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work.
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-07JANITORIAL: Add missing NL at EOF.Christoph Mallon
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-08DS: Prevent OSystem destructor from deleting _savefileManagerMax Horn
2011-06-07DS: Use OSystem::_savefileManager slotMax Horn
2011-06-07DS: Use OSystem's 'slot' for timer managerMax Horn
2011-06-06DS: Add custom logMessage() implementationMax Horn
2011-06-06BACKENDS: Add OSystem::getDefaultConfigFileNameMax Horn
This is used to provide default implementations for createConfigWriteStream and createConfigReadStream, which can be used by most backends. Note that backends can still override createConfigRead/WriteStream; this could be useful if settings on some port are not stored in a regular file (think 'Windows registry', for a hypothetical example).
2011-06-06BACKENDS: Unify AudioCD manager instantiationMax Horn
2011-06-04BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState callsMax Horn
2011-06-04COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPaletteMax Horn
2011-06-01Merge branch 'branch-1-3-0' into masterMax Horn
I manually resolved all conflicts, and inspected every single change. Many were due to the version string mismatch and thus easily resolved. The MSVC project files add in the 1-3-0 branch were not merged, neither where the changes to gui/themes/translations.dat. Conflicts: NEWS backends/base-backend.cpp backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp backends/module.mk backends/platform/ds/arm9/makefile backends/platform/psp/README.PSP backends/platform/samsungtv/main.cpp backends/platform/samsungtv/samsungtv.cpp backends/saves/posix/posix-saves.cpp base/commandLine.cpp base/internal_version.h base/main.cpp common/array.h configure devtools/create_project/create_project.cpp dists/android/AndroidManifest.xml dists/android/plugin-manifest.xml dists/iphone/Info.plist dists/irix/scummvm.spec dists/macosx/Info.plist dists/redhat/scummvm-tools.spec dists/redhat/scummvm.spec dists/scummvm.rc dists/slackware/scummvm.SlackBuild dists/wii/meta.xml engines/sci/parser/vocabulary.cpp engines/tinsel/handle.cpp gui/themes/translations.dat
2011-05-31COMMON: Move some code from scummsys.h to relevant portdefs.h filesMax Horn
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25ALL: favour/favourite -> favor/favoriteMatthew Hoops
2011-05-25BUILD: Rename USE_TEXT_CONSOLE -> USE_TEXT_CONSOLE_FOR_DEBUGGERMax Horn
This reduces the similarity in name to the otherwise mostly unrelated DISABLE_TEXT_CONSOLE #define.
2011-05-23DS: Fix compilationMax Horn
2011-05-21DS: Various changesagent-q
- Enable libmad - Remove forced include of scummsys.h, it caused problems in the forbidden symbols code.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03DS: Remove references to DEVKITARMMax Horn
In some places we used $DEVKITARM, but in others we hardcode the path $DEVKITPRO/devkitARM. To ensure consistent behavior, I changed it to the latter everywhere for now. Should it turn out that we really want to have this flexible, we can reintroduce $DEVKITARM in a proper way. In that case, we could augment configure to set DEVKITARM to $DEVKITPRO/devkitARM, if it has not been set yet.
2011-05-03BACKENDS: Allow various files to use stuff from time.hMax Horn
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28NDS: Fix compilationOri Avtalion
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17BACKENDS: Adapt various backends code to set up Surface::format correctly.Johannes Schickel
Note that this change is not tested at all (not even compile wise!).
2011-04-17BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-04-14ALL: colour -> colorMax Horn
2011-02-20DS: Disable symbol garbage collectiondhewg
Only applies when using loadable modules. This requires a second compile run or black voodoo linker tricks. Not implemented at this time. Disable it, so we get DS build failure reports from buildbot (which are useful with all the DISABLE_EVERYTHING defines). The resulting binary might be too big to be usable.
2011-02-15DS: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
This change is not tested, but should hopefully work fine.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-18COMMON: Change wrapBufferedWriteStream() to always disposes wrapped streamMax Horn
This is the only we need right now, and it saves a few bytes per instance. The template approach I used before has the drawback that it increases the binary size, which negates the benefit. Thanks to LordHoto for pointing this out. svn-id: r54344
2010-11-18DS: Add note that ARM_ADPCM is unused (and fix a typo)Max Horn
svn-id: r54335
2010-11-18DS: cleanupMax Horn
svn-id: r54334
2010-11-18DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStreamMax Horn
svn-id: r54332
2010-11-18DS: Port changes from 1.2.0 branch to trunkMax Horn
svn-id: r54325
2010-11-18DS: Add some FIXME/TODO comments on changes that need to be applied to the ↵Max Horn
DS backend svn-id: r54318