61708 Commits

Author SHA1 Message Date
Eugene Sandulenko
491a045eea FULLPIPE: Implement Movement::freePixelData() 2014-01-12 10:59:14 +02:00
D G Turner
4e592c7249 CGE: Remove unecessary void pointer usage in resource file I/O. 2014-01-12 02:59:21 +00:00
Matthew Hoops
1e95a49892 VIDEO: Add support for multiple Smacker audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops
ce82977ea1 VIDEO: Improve support for multiple Bink audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops
d2e31c8d67 VIDEO: Improve support for multiple AVI audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops
da604b530b VIDEO: Allow for audio track selection in video types that support it 2014-01-11 18:43:41 -05:00
johndoe123
592526dc5d NEVERHOOD: Fix "Klaymen! Up here!" in module 1100, scene 2 2014-01-12 00:33:42 +01:00
Eugene Sandulenko
4a0bfb751c FULLPIPE: Implement StaticANIObject::preloadMovements() 2014-01-12 00:48:11 +02:00
Eugene Sandulenko
2d3ac3100c FULLPIPE: Implement StaticANIObject::adjustSomeXY() 2014-01-12 00:48:11 +02:00
Eugene Sandulenko
91baf35726 FULLPIPE: Implement StaticANIObject::calcNextStep() 2014-01-12 00:48:10 +02:00
Johannes Schickel
a29160939a NEVERHOOD: Initialize NeverhoodEngine::_console variable to nullptr.
This fixes a nasty crash in case neverhood.dat is not present.
2014-01-11 23:39:32 +01:00
Marcus Comstedt
9957965257 GUI: Fix menu layout for low-res classic theme
Since clipping is now in place for strings, having text widgets which
are 4 pixels high will no longer work.  Remade the layout to set better
heights, and remove some spacing instead.
2014-01-11 17:48:34 +01:00
Strangerke
24b1ff15ee NEVERHOOD: Set engine to 'built by default' 2014-01-11 17:21:59 +01:00
Einar Johan Trøan Sømåen
12c330c5b9 Merge pull request #418 from JenniBee/md5s
WINTERMUTE: Adding more detection entries.
2014-01-11 07:51:38 -08:00
Einar Johan Trøan Sømåen
6677a973c2 SDL: Avoid having SDL_SRCALPHA set even if we have alpha in the pixelformat. 2014-01-11 16:36:04 +01:00
Einar Johan Trøan Sømåen
7d2dc87df0 WINTERMUTE: Add detection for french, italian, spanish and czech versions of Dirty Split. 2014-01-11 11:37:21 +01:00
Eugene Sandulenko
b19ac169e1 FULLPIPE: Implement MGM::calcLength() 2014-01-11 11:29:26 +02:00
Eugene Sandulenko
8ff8056918 FULLPIPE: Started implementing MGM::calcLength() 2014-01-11 11:29:26 +02:00
Eugene Sandulenko
17b5082a23 FULLPIPE: Implement MovTable destructor 2014-01-11 11:29:26 +02:00
D G Turner
570379bc54 TEENAGENT: Fix missing callback for examining first haystack.
This fixes bug #6492 "TEENAGENT: Engine abort when using hay."
2014-01-10 23:51:44 +00:00
D G Turner
e3502c8f53 CONFIGURE: Add workaround for GCC bug in Dreamcast toolchain. 2014-01-10 21:41:15 +00:00
Eugene Sandulenko
ac41b918c4 FULLPIPE: Fix warning 2014-01-10 21:49:51 +02:00
Eugene Sandulenko
63a51839ce FULLPIPE: Fix warning 2014-01-10 21:48:11 +02:00
Eugene Sandulenko
f710418ae5 FULLPIPE: Implement preloadCallback() 2014-01-10 21:31:18 +02:00
Marcus Comstedt
dd84867997 ANDROID: Set correct blending function
Overlays with alpha channel in ScummVM use pre-multiplied alpha.
Thus, is it necessary to set the source blend function to ONE, not
SOURCE_ALPHA.

While there is no firm decision on the texture format to be used to
cursors, make sure to set the key color to R=G=B=A=0.0, so that it
can be used with either pre-multiplied or non-pre-multiplied blending.
2014-01-10 20:05:32 +01:00
Marcus Comstedt
4b81b1299d GRAPHICS: Fix dest alpha formula in blendPixelPtr
The original alpha computation formula had a problem:  If something was
drawn on top of a pixel that was already fully opaque, there would be
an overflow in the computed alpha, and the destination alpha would be
truncated to 0 (fully transparent).

In commit 264ba4a9 this formula was replaced with another one, which
did not have overflows but also was not correct.

This commits introduces a new formula, where the rounding errors have
been turned in another direction; drawing a fully opaque pixel on top
of a transparent one would result in a pixel which is almost, but not
fully, opaque.  However, this is no problem in practice, since drawing
fully opaque pixels can be achieved with much less code as a special
case, so add that (also improves rendering speed).
2014-01-10 20:04:10 +01:00
Marcus Comstedt
51d7405a7b GRAPHICS: Fix computation of addA in darkenFill()
The old computation had rounding issues, causing alpha to leak into
the red (usually) component.  There's a much easier way to compute it
that does not lead to such problems:  What should really happen is that
the two top bits of the A component should be set to 1 (thus adding
75% alpha).  So compute it that way for speed and precision.
2014-01-10 15:56:53 +01:00
Marcus Comstedt
66ad9e76ee DC: Silenced some stupid warnings 2014-01-10 15:56:52 +01:00
Marcus Comstedt
62828f86a1 DC: Workaround for usleep prototype mismatch 2014-01-10 15:56:51 +01:00
Eugene Sandulenko
a47e2a6b7d FULLPIPE: Started preloadCallback() implementation 2014-01-10 08:46:43 +02:00
Torbjörn Andersson
cbe4c93420 FULLPIPE: Silence GCC warning 2014-01-10 07:41:46 +01:00
Strangerke
b3c377aacd MORTEVIELLE: Get rid of setParent() 2014-01-10 01:46:38 +01:00
Eugene Sandulenko
048e04a072 FULLPIPE: Rename vars in scene33. This completes the scene 2014-01-10 00:42:21 +02:00
Eugene Sandulenko
81be0e77dd FULLPIPE: Implement sceneHandler33_processVents() 2014-01-10 00:42:21 +02:00
Eugene Sandulenko
692b199923 FULLPIPE: Implement sceneHandler33_processJettie() 2014-01-10 00:42:21 +02:00
Eugene Sandulenko
5114398e97 FULLPIPE: Implement sceneHandler33_pour() 2014-01-10 00:42:21 +02:00
Eugene Sandulenko
9cddc195ce FULLPIPE: More code to scene33 2014-01-10 00:42:21 +02:00
Eugene Sandulenko
4d99ced17b FULLPIPE: Implement sceneHandler33_switchVent() 2014-01-10 00:42:21 +02:00
Eugene Sandulenko
10c1707754 FULLPIPE: Implement sceneHandler33_zoneClickProcess() 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
919aca7f9b FULLPIPE: Implement sceneHandler33_clickZones() 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
a5b4db8352 FULLPIPE: Enable scene33 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
3731aff7bb FULLPIPE: Implement sceneHandler33() 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
c02beb4aa5 FULLPIPE: Implement scene33_updateCursor() and setupMusic() 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
cb1150c32d FULLPIPE: Add another destructor stub 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
e1b95be2c1 FULLPIPE: Plug scene33 in 2014-01-10 00:42:20 +02:00
Eugene Sandulenko
709428dead FULLPIPE: Initial code for scene33 2014-01-10 00:42:19 +02:00
Willem Jan Palenstijn
4ad1ad3634 NEWS: Tweak phrasing 2014-01-09 21:10:00 +01:00
johndoe123
4137128cf6 NEVERHOOD: Fix sprite shadows (e.g. when on top in module 1000, scene 1) 2014-01-09 15:33:47 +01:00
Strangerke
d19af62e6b MORTEVIELLE: Get rid of setParent() in TextHandler and SoundManager 2014-01-09 08:32:21 +01:00
Strangerke
d8d4a2c3bb MORTEVIELLE: Get rid of setParent() in Menu and MouseHandler 2014-01-09 08:21:52 +01:00