Commit Graph
298 Commits
Author SHA1 Message Date
Max Horn 4aa66fa5aa PSP: Make logMessage() implementation independent from parent class(es) 2011-06-17 20:50:30 +02:00
Max Horn fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Max Horn 0b859e026d PSP: Use OSystem's 'slots' for timer/savefile manager 2011-06-07 14:57:57 +02:00
Max Horn c847522422 BACKENDS: Add OSystem::getDefaultConfigFileName
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-06 15:30:21 +02:00
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Max Horn ce32745d9c BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls 2011-06-04 11:55:56 +02:00
Max Horn 91b889e2d3 COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette 2011-06-04 11:55:56 +02:00
Max Horn e5725fa0f5 PSP: Fix compilation 2011-05-24 00:23:42 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn b737dcbad5 PSP: Fix various forbidden symbol clashes 2011-05-03 11:56:17 +02:00
Max Horn eafc54869c PSP: Add FIXME to portdefs.h 2011-05-03 11:40:11 +02:00
Max Horn 3d4e9fe674 BACKENDS: Allow various files to use stuff from time.h 2011-05-03 11:27:44 +02:00
Bluddy 185337f6a5 PSP: fixed cursor disappearance bug in 16-bit games
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-02 15:48:06 +03:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Eugene Sandulenko 204a9c2e51 RELEASE: This is 1.4.0git 2011-05-01 14:44:20 +03:00
Ori Avtalion 4d485fc741 BACKENDS: Fix compilation for various backends
Affects:
* PS2
* GPH
* ELF
* MOTO
* IPHONE
* N64
* DINGUX
* WINCE
* PSP
2011-04-28 23:24:06 +03:00
Ori Avtalion 130d96e360 PSP: Fix compilation 2011-04-28 20:07:43 +03:00
Ori Avtalion cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Johannes Schickel da734a4af0 ALL/GRAPHICS: Remove Surface::bytesPerPixel. 2011-04-17 21:27:34 +02:00
Johannes Schickel 877004dbdd BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
2011-04-17 21:14:19 +02:00
Johannes Schickel 4d30c6f7c9 PSP: Adapt to setPalette/grabPalette RGBA->RGB change.
This change is not tested, but should hopefully work fine.
2011-02-15 23:57:35 +01:00
dhewg be12529115 GIT: ./tools/update-version.pl 1 3 0 git 2011-02-14 11:21:27 +01:00
Jordi Vilalta Prat a422763833 BUILD: Remove explicit references to SVN in revision variable names.
svn-id: r55898
2011-02-12 16:43:57 +00:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Yotam Barnoy 8d1f3f00ad PSP: fixed bug exhibited in Gob engine with blacked out video frames
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-12-17 10:58:34 +00:00
Johannes Schickel a1d99836cd BACKENDS: Fix SVN keyword usage.
svn-id: r54584
2010-11-29 18:48:43 +00:00
Johannes Schickel dfb2b9cd2f PSP: Remove tabs from README.PSP.
svn-id: r54386
2010-11-19 17:09:47 +00:00
Johannes Schickel 111384473b PSP: Update README.PSP.in with the latest changes to README.PSP.
svn-id: r54384
2010-11-19 16:52:09 +00:00
Johannes Schickel e1030e53a5 BACKENDS: Implement logging API proposed by Max on -devel.
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-18 19:12:14 +00:00
Yotam Barnoy 50e6fe264b PSP: reduced fragmentation by allocating overlay just once
svn-id: r54316
2010-11-18 11:32:53 +00:00
Yotam Barnoy 5c8b4dbee7 PSP: added backtracing function for debugging
Currently not used by anything.

svn-id: r54312
2010-11-18 07:52:04 +00:00
Max Horn abe1959d36 COMMON: Simplify DECLARE_SINGLETON macro
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-16 08:23:13 +00:00
Yotam Barnoy 2e9b304d76 PSP: changed renderer to render huge images properly
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-10 16:22:00 +00:00
Yotam Barnoy f5bfae598c PSP: cleaning up some stuff from plugin merge
svn-id: r54060
2010-11-04 06:28:34 +00:00
Yotam Barnoy 13b904d282 Merge from gsoc2010-plugins
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-03 22:01:01 +00:00
Yotam Barnoy 94c8d0a14d Updated with latest from trunk
svn-id: r53976
2010-10-31 11:08:43 +00:00
Max Horn ac748c2ebd PSP: Enable use of forbidden symbols
svn-id: r53970
2010-10-31 00:01:00 +00:00
Yotam Barnoy 547e028b93 PSP: Improved image viewer movement
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-29 07:55:18 +00:00
Yotam Barnoy 082d9a4465 PSP: corrected png loader to use bit depth rather than palette size
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-29 07:08:24 +00:00
Yotam Barnoy 13b6e0d69a PSP: Fixed ImageViewer code to deallocate TimedMessageDialog
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-27 11:09:03 +00:00
Yotam Barnoy 4af9057eaa PSP: Fix up imageViewer to pause game
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-23 19:01:34 +00:00
Joost Peters d602e4a785 PSP: make vkbd's function keys match their visual representation
svn-id: r53728
2010-10-23 03:09:39 +00:00
Yotam Barnoy d305587495 PSP: added dummy function to allow BS2.5 to build
svn-id: r53635
2010-10-20 05:59:11 +00:00
Yotam Barnoy 00bf6ab791 PSP: add missing return statements to image viewer
svn-id: r53601
2010-10-19 07:37:50 +00:00
Yotam Barnoy 6fc10aeeac PSP: made image in viewer movable by pushing nub continuously
svn-id: r53462
2010-10-14 22:33:32 +00:00
Yotam Barnoy a4537b84bd PSP: made image viewer reset to the first image between engine loads
svn-id: r53460
2010-10-14 22:11:17 +00:00
Yotam Barnoy 7c22545899 PSP: added image viewer for viewing images during games
svn-id: r53455
2010-10-14 13:19:32 +00:00
Yotam Barnoy 90e12a43fd PSP: clarify and fix up display code
Also added support for stretching images, and fixed up displaying of large images as well as PNG files

svn-id: r53454
2010-10-14 13:05:40 +00:00
Jordi Vilalta Prat 8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00