Commit Graph

61651 Commits

Author SHA1 Message Date
Johannes Schickel
ce383aca1e MAEMO: Get rid of superfluous cast. 2014-01-24 03:28:45 +01:00
Johannes Schickel
495fa910d3 WINCE: Attempt to fix WinCE compilation. 2014-01-24 03:28:45 +01:00
Johannes Schickel
2fe303ce3f Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-23 15:23:12 -08:00
Johannes Schickel
a7f94591b0 BUILD: Enable RTTI on Android.
Thanks to fuzzie for these changes.
2014-01-24 00:22:14 +01:00
Johannes Schickel
29eeb91d4e Merge pull request #423 from lordhoto/engine-path-setup
ENGINES: Make game path addition to SearchMan fully configurable
2014-01-23 14:22:29 -08:00
Alyssa Milburn
6927e570bb ANDROID: Add 32bpp support.
We still prefer 16bpp for performance reasons.
2014-01-23 23:00:00 +01:00
Johannes Schickel
aa87af50b2 Merge pull request #422 from lordhoto/agos-archive
AGOS: Archive code cleanup
2014-01-23 12:56:28 -08:00
Eugene Sandulenko
91ebc07eb9 FULLPIPE: Enable sceneFinal 2014-01-23 12:01:26 -08:00
Eugene Sandulenko
19bf8cf4bf FULLPIPE: Implement sceneHandlerFinal_startFinal() 2014-01-23 12:01:26 -08:00
Eugene Sandulenko
e9ced0784b FULLPIPE: Implement sceneHandlerFinal_fallCoin() 2014-01-23 12:01:25 -08:00
Eugene Sandulenko
c776ec6afa FULLPIPE: More code to sceneFinal 2014-01-23 12:01:25 -08:00
Eugene Sandulenko
7ce04e0383 FULLPIPE: Implement sceneHandlerFinal() 2014-01-23 12:01:25 -08:00
Eugene Sandulenko
34c2ba5ff3 FULLPIPE: Implement sceneFinal_updateCursor() 2014-01-23 12:01:25 -08:00
Eugene Sandulenko
7277ad7aa1 FULLPIPE: Plug sceneFinal in 2014-01-23 12:01:25 -08:00
Eugene Sandulenko
8154da85ad FULLPIPE: Initial code for sceneFinal 2014-01-23 12:01:25 -08:00
Willem Jan Palenstijn
22acfe82d4 Merge pull request #424 from wjp/amigaos4-fs
AMIGAOS4: FSNode fixes
2014-01-23 09:47:48 -08:00
Willem Jan Palenstijn
219a68eeda AMIGAOS4: Clarify virtual fs root node 2014-01-22 23:18:24 +01:00
Willem Jan Palenstijn
d32816c027 AMIGAOS4: Allow getParent() to work for non-directories 2014-01-22 22:54:14 +01:00
Willem Jan Palenstijn
58aaef33c1 AMIGAOS4: Make isReadable return false for non-existent files
This also properly initializes _bIsValid for non-existent files.
For consistency, isWritable() is changed analogously to isReadable(),
even though it should not lead to changes in behaviour.
2014-01-22 22:54:05 +01:00
uruk
3fd28f31a7 AVALANCHE: Implement majorRedraw(). 2014-01-22 18:51:48 +01:00
uruk
c53c4ca626 AVALANCHE: Remove/move variables. 2014-01-22 18:09:25 +01:00
Johannes Schickel
65931d74e3 TINSEL: Take advante of Engine::initializePath.
This makes sure that the game path is only ever added once for the PSX version
of DW1. Most noticably this will make the warning about the game path being
present in SearchSet disappear on startup.
2014-01-22 18:08:32 +01:00
Johannes Schickel
651e280801 ENGINES: Introduce method Engine::initializePath which sets up SearchMan.
This replaces the hardcoded addition of the game path in runGame in
base/main.cpp by an engine configurable one.
2014-01-22 18:07:06 +01:00
uruk
681bc68cf6 AVALANCHE: Remove unused code. 2014-01-22 18:00:44 +01:00
Johannes Schickel
1fa74e355c WINTERMUTE: Two minor formatting fixes. 2014-01-22 17:33:04 +01:00
Eugene Sandulenko
a4fa8fe216 FULLPIPE: Enable scene38. This completes the scene 2014-01-22 07:27:38 -08:00
Eugene Sandulenko
9a881b8334 FULLPIPE: Finish renames in scene38 2014-01-22 07:27:32 -08:00
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
047df69407 AGOS: Use Common::File instead of SearchMan.
This makes sure the hack from Common::File for filenames with a trailing dot
is used as expected.
2014-01-22 00:53:21 +01:00
Johannes Schickel
1cee8439e7 AGOS: Get rid of ArchiveMan in favor of global SearchMan.
This in fact slightly changes the priority order of added archives. Formerly,
all archives in SearchMan were preferred to the customly added ones in
ArchiveMan. All standard paths (i.e. path and extrapath) will be still be
searched before the custom ones (which are all priority 0 right now) but system
specific paths will be searched after (due to their priority being -1). Since
system specific paths shouldn't contain any game data files this should
hopefully be harmless.

This wasn't tested for games with CAB archives.
2014-01-22 00:30:28 +01:00
Johannes Schickel
e560dca6b1 AGOS: Slightly clean up ArchiveMan code.
This removes the (always true) _fallBack flag which determined whether
SearchMan should be searched.
2014-01-22 00:14:26 +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