aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
AgeCommit message (Collapse)Author
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-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
2012-03-13JANITORIAL: Remove unnecessary empty default constructors/destructors.Christoph Mallon
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-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-10-20RELEASE: This is 1.5.0gitEugene Sandulenko
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07PSP: Pass the stream as reference to PngLoader.Christoph Mallon
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-07JANITORIAL: Add missing NL at EOF.Christoph Mallon
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri Avtalion
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning.
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-17PSP: Make logMessage() implementation independent from parent class(es)Max Horn
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-07PSP: Use OSystem's 'slots' for timer/savefile managerMax 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-05-24PSP: Fix compilationMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03PSP: Fix various forbidden symbol clashesMax Horn
2011-05-03PSP: Add FIXME to portdefs.hMax Horn
2011-05-03BACKENDS: Allow various files to use stuff from time.hMax Horn
2011-05-02PSP: fixed cursor disappearance bug in 16-bit gamesBluddy
The 5650 16-bit format doesn't include alpha bits and is treated as having alpha by the PSP hardware. Other formats such as 5551 don't have their alpha bit set in the cursor buffer. Instead of adding it, we just turn on the 'reverse alpha' feature for these bits. The problem was not making an exception for 5650.
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-05-01RELEASE: This is 1.4.0gitEugene Sandulenko
2011-04-28BACKENDS: Fix compilation for various backendsOri Avtalion
Affects: * PS2 * GPH * ELF * MOTO * IPHONE * N64 * DINGUX * WINCE * PSP
2011-04-28PSP: Fix compilationOri Avtalion
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri 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-02-15PSP: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
This change is not tested, but should hopefully work fine.
2011-02-14GIT: ./tools/update-version.pl 1 3 0 gitdhewg
2011-02-12BUILD: Remove explicit references to SVN in revision variable names.Jordi Vilalta Prat
svn-id: r55898
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-12-17PSP: fixed bug exhibited in Gob engine with blacked out video framesYotam Barnoy
The problem was that I was allowing changes to the palette (in this case) even before the separate display thread, which is synchronized to vsync, was done drawing. This caused the palette to change mid-render. The fix is a semaphore synchronizing the threads. svn-id: r54942
2010-11-29BACKENDS: Fix SVN keyword usage.Johannes Schickel
svn-id: r54584
2010-11-19PSP: Remove tabs from README.PSP.Johannes Schickel
svn-id: r54386
2010-11-19PSP: Update README.PSP.in with the latest changes to README.PSP.Johannes Schickel
svn-id: r54384
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
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-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