aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
AgeCommit message (Collapse)Author
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
2010-11-04PSP: cleaning up some stuff from plugin mergeYotam Barnoy
svn-id: r54060
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-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
2010-10-31PSP: Enable use of forbidden symbolsMax Horn
svn-id: r53970
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-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