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
Strangerke
0a5d92527d
AVALANCHE: Avoid check in isHolding when _thing isn't set
2014-01-09 07:54:25 +01:00
Paul Gilbert
dfe3d8b4ce
VOYEUR: Preliminary savegame functionality
2014-01-08 23:31:34 -05:00
Filippos Karapetis
5a43fef4e6
NEWS: Added support for The Neverhood
2014-01-08 21:36:03 +02:00
Eugene Sandulenko
67c70168ad
FULLPIPE: Rest of destructor stubs
2014-01-08 18:48:34 +02:00
Eugene Sandulenko
71c8d5edd0
FULLPIPE: Stubbed and implemented some class destructors
2014-01-08 18:37:39 +02:00
Eugene Sandulenko
a40c607573
FULLPIPE: Complete ObjstateCommand class
2014-01-08 15:26:37 +02:00
Eugene Sandulenko
70f7770c6a
FULLPIPE: Started fixing ObjstateCommand object inheritance
2014-01-08 11:35:23 +02:00
Eugene Sandulenko
19fb0d11bc
FULLPIPE: Implement MessageQueue::insertExCommandAt()
2014-01-08 11:21:57 +02:00
Eugene Sandulenko
d423b5b1fe
FULLPIPE: Implement MGM::getStaticsIndex()
2014-01-08 10:58:26 +02:00
Eugene Sandulenko
5e0236e7ad
FULLPIPE: Rename remaining vars in scene32. This completes the scene
2014-01-07 17:26:59 +02:00
Eugene Sandulenko
9313c540af
FULLPIPE: Started renames in scene32
2014-01-07 17:20:15 +02:00
Eugene Sandulenko
b495a16812
FULLPIPE: Implement sceneHandler32_trySit()
2014-01-07 17:14:57 +02:00
Eugene Sandulenko
929c868c5e
FULLPIPE: Implement sceneHandler32_spin()
2014-01-07 17:09:57 +02:00
Eugene Sandulenko
d821719c47
FULLPIPE: Implement sceneHandler32_potLogic()
2014-01-07 16:57:06 +02:00
Eugene Sandulenko
ae5389af8b
FULLPIPE: Implement sceneHandler32_ladderLogic()
2014-01-07 16:50:52 +02:00
Eugene Sandulenko
7292a08b8a
FULLPIPE: Implement sceneHandler32_buttonPush()
2014-01-07 16:43:33 +02:00
Eugene Sandulenko
a7ae2b4452
FULLPIPE: yet more code to scene32
2014-01-07 16:35:40 +02:00