Commit Graph
3567 Commits
Author SHA1 Message Date
Bertrand Augereau 10a947a0be GRAPHICS: Scope reduction of the sometimes unused alpha component in TGADecoder::readHeader 2012-08-30 18:32:27 +02:00
Bertrand Augereau 3b4d713ba1 GRAPHICS: Undefined behaviour/warnings removal in the TGA decoder 2012-08-30 18:13:00 +02:00
Johannes Schickel f87154def8 GRAPHICS: Slight formatting change for consistency. 2012-08-29 15:59:15 +02:00
Johannes Schickel f189d8a541 GRAPHICS: Remove extra semicolon. 2012-08-29 15:58:55 +02:00
Johannes Schickel 933726a7e8 Merge pull request #263 from somaen/tgaloader
GRAPHICS: Add in a TGA-decoder
2012-08-29 06:58:22 -07:00
Einar Johan Trøan Sømåen 47a7df2d0f GRAPHICS: Add in a TGA-decoder 2012-08-29 14:05:54 +02:00
Johannes Schickel eeb3959259 GRAPHICS: Add an in-place Surface PixelFormat conversion. 2012-08-28 02:27:48 +02:00
Johannes Schickel e8cf0adf95 GRAPHICS: Slight cleanup in crossBlit code. 2012-08-28 02:27:48 +02:00
Johannes Schickel a92a509ac8 GRAPHICS: Allow in-place conversion with any color formats in crossBlit. 2012-08-28 02:27:48 +02:00
Johannes Schickel 0d78d46a0e GRAPHICS: Remove crossBlit's dstBpp >= srcBpp limitation. 2012-08-28 02:27:48 +02:00
Johannes Schickel 3a55adbf5e GRAPHICS: Fix a bug in crossBlit with 3Bpp source.
Formerly it added 2 to the source pixel pointer instead of 3.
2012-08-28 02:27:48 +02:00
Johannes Schickel a0f46e9396 GRAPHICS: Remove 3Bpp destination support in crossBlit. 2012-08-28 02:27:47 +02:00
Johannes Schickel ea1bcaad33 GRAPHICS: Refactor crossBlit logic into a template. 2012-08-28 02:27:47 +02:00
Johannes Schickel 05d24e892c GRAPHICS: Clean up crossBlit a bit. 2012-08-28 02:27:47 +02:00
Matthew Hoops bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
Johannes Schickel 5df8c99768 GPRAHICS: Slight cleanup in png.cpp.
This adds an explanation why we use FORBIDDEN_SYMBOL_ALLOW_ALL and removes
some trailing whitespaces.
2012-08-21 02:19:51 +02:00
Johannes Schickel 05eb6eecfc Merge pull request #262 from somaen/pngwithlibpng
GRAPHICS: Reimplement the PNG-decoder using libpng
2012-08-20 17:12:52 -07:00
Einar Johan Trøan Sømåen af05b1b80e GRAPHICS: Reimplement the PNG-decoder using libpng 2012-08-20 21:14:59 +02:00
Pawel Kolodziejski 8bc0a26091 ALL: synced with scummvm 2012-08-20 08:20:05 +02:00
Einar Johan Trøan Sømåen 8982026661 GRAPHICS: Add support for 32bpp BMPs 2012-08-13 02:31:34 +02:00
Matthew Hoops c839fd50b5 GRAPHICS: Clarify format of the palette in ImageDecoder 2012-08-12 17:44:23 -04:00
Johannes Schickel b4196e48b1 GRAPHICS: Add a DPI parameter to loadTTFFont.
Will be used by WME.
2012-08-09 03:13:00 +02:00
Johannes Schickel 50a93c2e71 GRAPHICS: Small formatting fixes in iff.cpp. 2012-07-25 21:07:19 +02:00
Johannes Schickel f1a1938253 GRAPHICS: Serialize PixelFormat for thumbnails and allow 4Bpp surfaces.
This allows any 2Bpp/4Bpp Surfaces to be written via saveThumbnail
and loadThumbnail now. It furthermore will preserve the loaded Surface
in loadThumbnail.
2012-07-14 03:07:48 +02:00
Pawel Kolodziejski 72664703cf ALL: sync with scummvm 2012-07-06 22:05:21 +02:00
Matthew Hoops 91efe792d5 Merge remote branch 'upstream/master' into pegasus 2012-06-24 09:37:53 -04:00
Johannes Schickel 82a553a12c Merge pull request #247 from clone2727/pixelformat-argb-fix
GRAPHICS: Fix colorToARGB's alpha value when no alpha channel is present
2012-06-20 09:24:08 -07:00
Matthew Hoops 625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Matthew Hoops 984e0012d9 GRAPHICS: Fix colorToARGB's alpha value when no alpha channel is present 2012-06-15 23:11:28 -04:00
Johannes Schickel aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel e1e1f01b87 GRAPHICS: Let CursorMan's cursor functions take "const void *" buffers. 2012-06-16 03:28:42 +02:00
Johannes Schickel 0075fa2f98 GRAPHICS: Replace OverlayColor with uint16 in scaler code.
Scalers are actually fixed at 2Bpp right now and not at the
depth of OverlayColor.
2012-06-12 04:18:59 +02:00
Johannes Schickel a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" 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-06-03 02:02:57 +02:00
Matthew Hoops f1f6a82cd5 Merge remote branch 'upstream/master' into pegasus 2012-05-25 00:35:38 -04:00
Matthew Hoops b253a05454 GRAPHICS: Hide the WinCursor implementation 2012-05-14 09:56:56 -04:00
Matthew Hoops d789df8945 GRAPHICS: Add palette start index and color count functions to ImageDecoder 2012-05-14 09:56:56 -04:00
Matthew Hoops e80d622fa5 Merge remote branch 'upstream/master' into pegasus 2012-05-04 23:32:29 -04:00
Matthew Hoops e5808c740a GRAPHICS: Fix 32-bit DirectBits images 2012-05-04 23:18:28 -04:00
Johannes Schickel 3b212fdb51 GRAPHICS: Remove unused function ftFloor26_6 in ttf.cpp. 2012-05-03 23:25:00 +02:00
Johannes Schickel b96143c180 Merge pull request #213 from fuzzie/leak-fixes
The pull request in question is "Memory leak fixes".
2012-05-03 13:45:40 -07:00
Paweł Kołodziejski 308f407969 Merge pull request #613 from tobigun/android
ANDROID: preliminary Android port for ResidualVM
2012-05-02 21:36:07 -07:00
Pawel Kolodziejski 8543f6c1e6 ALL: synced with scummvm 2012-05-03 05:51:15 +02:00
Tobias Gunkel e4c76ee4cf GRAPHICS: add conversion.cpp needed by android port 2012-04-30 19:08:57 +02:00
D G Turner 4d6f2875de GRAPHICS: Fix BMP getPalette function definition.
The BMP decoder getPalette function definition is now identical to
the other image format decoders subclassed from ImageDecoder.
This also fixes a overloaded virtual warning reported by salty-horse.
2012-04-22 16:41:30 +01:00
Andrea Corna 173846c3df TINYGL: Remove an unneeded header 2012-04-21 12:20:06 +02:00
Andrea Corna bd14146a78 TINYGL: Fix some memory leaks 2012-04-21 12:18:42 +02:00
Matthew Hoops c5363006ed GRAPHICS: Only accept JPEG CompressedQuickTime PICT opcodes 2012-04-19 11:49:06 -04:00
Matthew Hoops 9971e74c4c Merge remote branch 'upstream/master' into pegasus
Conflicts:
	base/plugins.cpp
	configure
2012-04-19 08:16:24 -04:00
Andrea Corna a69f29dd3a GRAPHICS: Fix for a Valgrind warning about an uninitialized value 2012-04-18 09:20:23 +02:00
Pawel Kolodziejski e856559777 ALL: sync with scummvm 2012-04-17 15:07:08 +02:00