Commit Graph
3567 Commits
Author SHA1 Message Date
Matthew Hoops c2af197edb GRAPHICS: Add a Surface wrapper for drawThickLine 2011-10-27 19:20:28 -04:00
Matthew Hoops 627684ca73 GRAPHICS: Make drawThickLine take a thickness in both x and y directions 2011-10-27 19:20:02 -04:00
Matthew Hoops 3f0c9e0910 GRAPHICS: Fix PICT buffer overflow 2011-10-07 11:34:56 -04:00
Matthew Hoops c0dcfc8060 GRAPHICS: Add support for true 32bpp DirectBits images 2011-10-07 11:33:09 -04:00
Matthew Hoops 75d2a43302 GRAPHICS: Add support for multiple CompressedQuickTime calls 2011-10-07 11:32:35 -04:00
Matthew Hoops ed13991f37 GRAPHICS: Properly parse the CompressQuickTime header 2011-10-07 11:32:08 -04:00
Matthew Hoops 583bef28ff GRAPHICS: Rewrite PictDecoder's opcode handling
In preparation for adding support for multiple CompressedQuickTime opcodes
2011-10-07 11:31:41 -04:00
Bastien Bouclet 6ed68710ab Merge remote branch 'upstream/master' into sprint
Conflicts:
	graphics/module.mk
2011-09-18 07:27:15 +02:00
Bastien Bouclet e401269833 VIDEO: Allow using the alpha channel of bink movies. 2011-09-17 15:43:20 +02:00
Giulio Camuffo 0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00
Giulio Camuffo e9267cfec5 GRAPHICS: Overhaul of the matrix classes.
New Matrix<rows, cols> and Transform<T> (with T a matrix) classes
to ease the creation of different matrix classes.
2011-09-14 23:05:44 +02:00
Willem Jan Palenstijn 052177d136 COMMON: Remove some double-underscore defines (reserved) 2011-11-14 14:59:58 +01:00
Eugene Sandulenko 4c08fccf58 GUI: Add support for PNG images in themes 2011-10-23 23:44:14 +01:00
Bastien Bouclet d7575c510a Added the JPEG decoder from ScummVM 2011-09-03 11:35:18 +02:00
Johannes Schickel d9d366dbc9 GRAPHICS: Remove dithering code.
The code is not used anymore and neither the Mohawk developers, who expressed
that they might need dithering for some games, nor DrMcCoy, who wrote it, need
this code anymore.

In the worst case if anyone needs it again, we can revert this commit.
2011-09-06 16:51:04 +02:00
Giulio Camuffo 8426af0885 COMMON: Add a new ostream-like debug class. 2011-08-31 15:37:42 +02:00
Giulio Camuffo 594d9cf38d GRIM: Added Vector2d's getters and setters for its data. 2011-08-31 14:27:38 +02:00
Giulio Camuffo 589ca13702 Added some 2d geometry classes. 2011-08-30 18:46:19 +02:00
Johannes Schickel b1db5fabee GRAPHICS: Formatting. 2011-08-23 15:25:12 +02:00
Johannes Schickel 243779a7eb GRAPHICS: Display warning in case the SJIS.FNT version does not match. 2011-08-23 15:15:29 +02:00
Sven Hesse a1df3a408d GRAPHICS: Fix indentation 2011-08-22 09:53:06 +02:00
Chris Warren-Smith 773f61253c BADA: Fixup indentation using tabs in lieu of space chars 2011-08-21 16:39:09 +10:00
Chris Warren-Smith a31b74f3e9 BADA: Code formatting and style changes following review 2011-08-21 16:39:08 +10:00
Chris Warren-Smith 3019b283f9 BADA: Prevent assertion failure when allocating zero bytes 2011-08-21 16:38:52 +10:00
Chris Warren-Smith cfedd012d6 BADA: Updated code formatting in assignFontToUsage() 2011-08-21 16:38:01 +10:00
Chris Warren-Smith 59739a7a0e BADA: Initial BADA port implementation 2011-08-21 16:37:06 +10:00
Matthew Hoops c75bf3290d GRAPHICS: Add a default Windows cursor
Based on the Mohawk one
2011-08-16 00:30:12 -04:00
Matthew Hoops 91ae23ebf2 GRAPHICS: Add cursor palette start/count functions 2011-08-16 00:19:29 -04:00
Matthew Hoops 1793d92c8b GRAPHICS: Create base Cursor class for Mac/Win cursors 2011-08-16 00:05:31 -04:00
Johannes Schickel 28004ac8d9 GRAPHICS: Slight formatting fix. 2011-08-07 15:30:37 +02:00
Christoph Mallon e35b4f20c1 GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon 23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Eugene Sandulenko 2fa17c44ed JANITORIAL: Remove SVN keywords 2011-08-06 11:30:47 +01:00
Giulio Camuffo f2683ec3e0 GRIM: Use fuzzy comparison to check the angle. 2011-08-03 15:35:22 +02:00
Giulio Camuffo ec053cd9f5 GRIM: Improve calculation of bounding box. 2011-08-02 19:17:32 +02:00
Giulio Camuffo b065107263 GRIM: Partially implemented collisions between actors in walkForward(). 2011-08-01 22:16:15 +02:00
Ori Avtalion c4870a2a20 TinyGL: Silence clang warnings about =- 2011-07-30 11:35:18 +03:00
Pawel Kolodziejski 8dd0f82574 sync with scummvm 2011-07-20 08:02:02 +02:00
Pawel Kolodziejski 5bf4f9316b sync with scummvm dated 03 july 2011 2011-07-20 06:58:19 +02:00
clone2727 6370984b22 Merge pull request #50 from clone2727/bink
Add support for Bink video to SCUMM HE
2011-07-18 16:04:39 -07:00
athrxx c06c05a769 GRAPHICS: remove char/line spacing handling from sjis code
(as discussed with LordHoto this should rather be handled in the engine)
2011-07-10 00:45:00 +02:00
athrxx e3dbae886d SCUMM: Make use of graphics/sjis code for LOOM PCE sjis drawing
Also move font rom loader to graphics/sjis and make the necessary changes there.
2011-07-09 20:07:58 +02:00
Matthew Hoops c270d5be12 GRAPHICS: Note that SCUMM now uses the YUV to RGB code 2011-07-02 21:11:03 -04:00
Johannes Schickel a79f529f4c GRAPHICS: Fix possible memory leak in BdfFont code. 2011-07-01 21:55:21 +02:00
Johannes Schickel fa5f8dc703 GRAPHICS: Rename NewFont to BdfFont. 2011-07-01 21:53:01 +02:00
Johannes Schickel 9e3366d66e GRAPHICS: Format NewFont code with astyle. 2011-07-01 21:20:01 +02:00
Johannes Schickel 8201df7bb6 GRAPHICS: Move NewFont code to a separate file. 2011-07-01 21:10:25 +02:00
Johannes Schickel 16ba176b4f GRAPHICS: Fix SJIS PCE font loading. 2011-07-01 06:13:11 +02:00
Johannes Schickel 77bfaa1bb4 GRAPHICS: More default parameter remove in SJIS code. 2011-07-01 05:51:10 +02:00
Johannes Schickel 933ee5b156 GRAPHICS: Remove default values from FontSJIS::drawChar.
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first
parameter another one "void *", they furthermore have the exact same
number of required parameters. The one "void *" just had a few extra
parameters with default values. This resulted in a bug in SCUMM, where
"VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &"
and thus the method taking "void *" was incorrectly used.

To make it easier to spot such bugs in the future I just removed the default
values and thus disallow such calls.
2011-07-01 05:42:54 +02:00