61616 Commits

Author SHA1 Message Date
Eugene Sandulenko
4cdf4eb4c4 FULLPIPE: Started renames in scene38 2014-01-22 07:27:05 -08:00
uruk
2479a53d65 AVALANCHE: Move kTune and TuneType to Dialogs. 2014-01-22 03:34:45 +01:00
Johannes Schickel
0f36a56b81 OPENGL: Properly query for OpenGL errors.
There might be various error flags and we need to clear all of them to get
precise error results. Thus, we need to call glGetError in a loop to achieve
that.
2014-01-21 23:52:20 +01:00
Johannes Schickel
10a3b3e960 BUILD: Remove now superfluous _taskbar=no in Wii specific configuration. 2014-01-21 23:15:49 +01:00
Johannes Schickel
f93ebdc936 Merge pull request #421 from lordhoto/taskbar-cleanup
BUILD: Taskbar Cleanup/Fixes
2014-01-21 14:15:19 -08:00
Eugene Sandulenko
51c0f0e697 FULLPIPE: Complete sceneHandler38_animateAlcoholics() 2014-01-21 13:17:59 -08:00
David Turner
b098b74e76 Merge pull request #413 from AReim1982/master
WII: Implement changes needed by DevKitPPC R26 and later
2014-01-21 12:23:56 -08:00
Johannes Schickel
db07a1cfac BUILD: Auto detect taskbar support.
Formerly the taskbar support was *always* enabled except when the backend or
user specified that it should be disabled. This causes nasty crashes for
backends which do not have any taskbar support (like DC, Tizen and probably
more which simply did not disable it so far) when defaultErrorHandler was
called for example (Mass Add is also broken for those).
The SDL (and derived backends) worked around missing taskbar support by
simply faking a dummy taskbar implementation (but still claiming in configure
that we feature taskbar integration, ouch).

To avoid all non-SDL backends from manually specifying _taskbar=no I added
some auto detection code which simply only enables taskbar support in case
ScummVM is built on Win32 or libunity is present.
2014-01-21 19:34:32 +01:00
Johannes Schickel
4412e12deb BUILD: Rename libunity support variable to "USE_UNITY" instead of "USE_TASKBAR_UNITY".
This makes it consistent with other library support variables.
2014-01-21 19:01:28 +01:00
Einar Johan Trøan Sømåen
2e93f5aba2 WINTERMUTE: Enable Wintermute by default. 2014-01-21 18:45:23 +01:00
Eugene Sandulenko
711522eeeb FULLPIPE: Started implementation of sceneHandler38_animateAlcoholics() 2014-01-21 07:28:26 -08:00
Eugene Sandulenko
33b6d0878b FULLPIPE: Implement sceneHandler38_propose() 2014-01-21 07:28:25 -08:00
Eugene Sandulenko
5137f609de FULLPIPE: Implement sceneHandler38_point() 2014-01-21 07:28:25 -08:00
Eugene Sandulenko
7d49a97e8c FULLPIPE: Implement sceneHandler38_hammerKick() 2014-01-21 07:28:25 -08:00
AReim1982
eff22cb43d WII: Implement changes needed by DevKitPPC R26 and later
This changes makes ScummVM compilable with newer versions of DevKitPPC. ScummVM can be linked against the original libogc and libfat. That makes some newer WiiMotes work, improves audio-/video-playback and contains various improvements.
2014-01-21 16:03:47 +01:00
Einar Johan Trøan Sømåen
2dfbad8074 WINTERMUTE: Avoid using Graphics::copyFrom to copy FMV-frames.
copyFrom frees and reallocates the surface for every update, as long
as the dimensions and format stay the same, we can do with just a
memcpy.

This gives a tiny improvement in the update-part of the Theora-player
(on the order of a bit more than 1 second saved total in the 1:28 long
J.U.L.I.A.-intro)
2014-01-21 02:25:18 +01:00
Einar Johan Trøan Sømåen
0b76f66edc WINTERMUTE: Special-case FMV-handling to not fill the screen with background color.
If we have only one thing being drawn, and that is opaque, we can
skip filling the render surface with background color.
This shaves another few wasted cycles of the FMV playback. (Since we
now don’t have to write the entire render surface TWICE).

This reduces the time spent in drawTickets() to ~60% of what it was before.
2014-01-21 01:32:49 +01:00
Einar Johan Trøan Sømåen
4f4599b542 WINTERMUTE: Fix bug that prevented the opaque and binary blit speedups from working. 2014-01-21 01:32:40 +01:00
Eugene Sandulenko
273974cca2 FULLPIPE: Implement sceneHandler38_tryTakeBottle() and postHammerKick() 2014-01-19 17:06:38 +04:00
Eugene Sandulenko
055b390bc7 FULLPIPE: Implement sceneHandler38_drink() 2014-01-19 17:02:42 +04:00
Eugene Sandulenko
7e07e3448e FULLPIPE: Implement sceneHandler38() 2014-01-19 16:59:18 +04:00
Eugene Sandulenko
151a13d82d FULLPIPE: Implement scene38_setBottleState() 2014-01-19 16:37:09 +04:00
Eugene Sandulenko
a5a60d565e FULLPIPE: Plug scene38 in 2014-01-19 16:28:47 +04:00
Eugene Sandulenko
f923425692 FULLPIPE: Initial code for scene38 2014-01-19 16:19:43 +04:00
Strangerke
f5748d16eb NEVERHOOD: Add a todo in the readme related to engine data 2014-01-18 14:52:25 +01:00
Strangerke
bd90eddd10 MORTEVIELLE: Enable engine by default 2014-01-18 14:50:09 +01:00
D G Turner
0af3db72c5 CONFIGURE: Disable taskbar integration for Dreamcast.
This caused an exception if a error() call occurs, rather than a
clean exit. This occurred in the defaultErrorHandler() function of
engines/engine.cpp, probably due to g_system->getTaskbarManager()
returning a null pointer.
2014-01-18 12:56:39 +00:00
Torbjörn Andersson
64a58316aa FULLPIPE: Silence GCC warnings. 2014-01-18 13:19:08 +01:00
Eugene Sandulenko
dc7fc44929 FULLPIPE: Renames in scene37. This completes the scene 2014-01-18 13:49:19 +02:00
Eugene Sandulenko
ce69278a48 FULLPIPE: Implement sceneHandler37_updateRing() 2014-01-18 13:42:18 +02:00
Eugene Sandulenko
7445f89353 FULLPIPE: Plug scene37 in 2014-01-18 12:07:28 +02:00
Eugene Sandulenko
d122b201d6 FULLPIPE: Implement sceneHandler37_setRingsState() 2014-01-18 12:06:05 +02:00
Eugene Sandulenko
8a229f5a66 FULLPIPE: Implement sceneHandler37() 2014-01-18 12:01:06 +02:00
Eugene Sandulenko
9a4d233fc5 FULLPIPE: Implement scene37_updateCursor() 2014-01-18 11:28:57 +02:00
Eugene Sandulenko
9dd3c9d2b7 FULLPIPE: Plug scene37 in 2014-01-18 11:26:51 +02:00
Eugene Sandulenko
66e252bafc FULLPIPE: Initial code for scene37 2014-01-18 11:17:57 +02:00
Johannes Schickel
fd312ddfe3 KYRA: Slight formatting fix. 2014-01-18 03:27:57 +01:00
Johannes Schickel
4349ee8b3b SCUMM: Fix some GCC warnings. 2014-01-18 03:27:23 +01:00
Torbjörn Andersson
18ef3ed6b3 KYRA: Make pointers to VQAHeader const
This is just to enforce the idea that VQADecoder owns the VQAHeader
and that the audio/video tracks are only allowed to look at it, not
change it.
2014-01-18 03:18:40 +01:00
Torbjörn Andersson
16d36224e2 KYRA: Restructure the VQA decoder, as suggested by clone2727
Untangled the audio and video track from each other, and the parsing
of the stream from the decoding of its data. Also fixed a memory leak
as it turns out deleting a Surface doesn't free its data. You have to
call free() in it.

I have only checked the intro, not every cutscene, but that seems to
work fine at least.
2014-01-18 03:18:40 +01:00
Torbjörn Andersson
238aa2be2a KYRA: Let the VQA decoder draw directly to the backend
As an alternative to using the Screen class's functions, we can let
the VQA decoder draw directly to the backend. This won't work if the
game uses "hi-res mode", but I don't think that's ever the case for
Malcolm's Revenge. I believe the KyraEngine_MR::playVQA() function
ensures that the screen is properly updated after the movie has
finished.

This almost limits the VQA rewrite to vqa.cpp and vqa.h. Whether it's
better this way than changing the Screen functions to take a 'pitch'
parameter...? I don't know. But it's an alternative.
2014-01-18 03:18:40 +01:00
Torbjörn Andersson
19cb3499f5 KYRA: Rewrite the VQA decoder, using the VideoDecoder classes
There isn't really a lot of benefit to this, but I think it's nicer
if all our video decoders at least try to use the same infrastructure.
2014-01-18 03:18:40 +01:00
Matthew Hoops
c9b2c16680 VIDEO: Fix a typo in the include guard 2014-01-17 21:06:13 -05:00
Matthew Hoops
d73df0d28c VIDEO: Add MJPEG support 2014-01-17 21:02:11 -05:00
Johannes Schickel
417064e311 Merge pull request #417 from digitall/STACK_fixes
ALL: Fix optimization unstable code on checking for null after new.
2014-01-17 17:48:16 -08:00
Matthew Hoops
b23f764028 VIDEO: Rename the Motion JPEG decoder to JPEG to better reflect its purpose
This JPEG is separate from the modified JPEG format used in MJPEG
2014-01-17 19:17:29 -05:00
Matthew Hoops
c8ea0dcd10 NEWS: Fix order of games/engines 2014-01-17 19:04:27 -05:00
Matthew Hoops
131e83d8aa NEWS: Mention HE save changes 2014-01-17 19:02:41 -05:00
clone2727
9d9ced0734 Merge pull request #366 from clone2727/he-saves-target-name
RFC: Make HE games use the target name in all save files
2014-01-17 15:59:44 -08:00
Strangerke
c87074f8a8 MORTEVIELLE: Some refactoring in Action 2014-01-17 21:52:50 +01:00