Commit Graph

78223 Commits

Author SHA1 Message Date
Thierry Crozat
5fd376d020 BASE: Auto-detect option now uses the specified path 2016-10-29 17:56:47 +01:00
iskrich
d65f2b3821 BASE: Formatting code 2016-10-29 17:56:47 +01:00
iskrich
598407a425 BASE: Add --auto-detect command
Allows to display games in the current directory that are compatible with ScummVM.

This option enables the user to find games in the directory from which ScummVM was launched. In terminal it looks like:

--------------------------------------------------------------------------------------

$ scummvm --auto-detect

ID                   Description
-------------------- ---------------------------------------------------------
drascula             Drascula: The Vampire Strikes Back (DOS/English)
queen                Flight of the Amazon Queen (Talkie/DOS/English)

--------------------------------------------------------------------------------------

The current directory is defined as dir(".") then using EngineMan.detectGames to recognise games.
2016-10-29 17:56:47 +01:00
Eugene Sandulenko
9e54089fe7 DIRECTOR: Mark current cast loading method as D2 2016-10-29 08:07:19 -07:00
Eugene Sandulenko
85dd217cc0 DIRECTOR: Fix D4+ score reading 2016-10-29 08:07:19 -07:00
Eugene Sandulenko
703178e033 DIRECTOR: Rework Channel data parsing 2016-10-29 08:07:19 -07:00
Eugene Sandulenko
9f35d6fdc6 DIRECTOR: Added more debug output to cast reading 2016-10-29 08:07:19 -07:00
Eugene Sandulenko
53fd38f56d DIRECTOR: Fix crash when there is no shared casts present 2016-10-29 08:07:19 -07:00
Eugene Sandulenko
f2251c0d71 DIRECTOR: Fixing Score reading in RIFX format 2016-10-29 08:07:19 -07:00
Thierry Crozat
3ae52a61af COMMON: Add referencing and destruction of the OSDMessageQueue instance
Registering the OSDMessageQueue instance as an event source is now done
right after the event manager is initialised. This ensures that it is created in a
sensible place and not for example in another thread). Also registering the
event source is moved to a separate function instead of being in the constructor
to remove any issue in case some code tries to display a OSD Message very early
on (the instance would be created then, but it would be registered as an event
source later).
2016-10-29 15:13:32 +01:00
Thierry Crozat
cbfa598446 OPENGL: Remove hack to avoid issues with OSD messages from other threads 2016-10-29 15:13:32 +01:00
Thierry Crozat
0908fd2225 MT32: Use OSDMessageQueue to post OSD messages from the MT32 thread 2016-10-29 15:13:32 +01:00
Thierry Crozat
8906868ee0 CLOUD: Use OSDMessageQueue to post OSD messages from the cloud thread 2016-10-29 15:13:32 +01:00
Thierry Crozat
e732186724 COMMON: Add OSDMessageQueue singleton
This class can be used to get messages to display on the OSD from
any thread. Those messages are then passed to the backend in the
graphic thread.
2016-10-29 15:13:32 +01:00
Paul Gilbert
fe2ab0f3b7 TITANIC: Fix infinite recursion loading object resources 2016-10-29 07:54:52 -04:00
Paul Gilbert
4740f16b7f TITANIC: Fix playing cutscenes to the very of a video 2016-10-28 22:59:17 -04:00
Paul Gilbert
a6477a8606 TITANIC: Fix room transition cutscenes 2016-10-28 22:50:30 -04:00
Paul Gilbert
2466edc4b8 TITANIC: Fix scanning for rooms in parseView 2016-10-28 22:31:06 -04:00
Paul Gilbert
cf6ae0cd5e TITANIC: More renaming and debug logging 2016-10-28 21:50:49 -04:00
Paul Gilbert
4e903e7ac7 TITANIC: Fix starting queued reverse playing movie clips 2016-10-28 21:50:12 -04:00
Paul Gilbert
f7c7f11435 TITANIC: Renames and adding debugging 2016-10-28 20:19:35 -04:00
Thierry Crozat
aee3599e6b I18N: Regenerate translations data file 2016-10-28 23:29:56 +01:00
Thierry Crozat
aeb6cf7034 I18N: Update Hungarian translation (ticket #9635) 2016-10-28 23:29:39 +01:00
Peter Kohaut
1b40c5bf55 BLADERUNNER: fixed memory leaks & overflows
fixed few memory leaks
fixed overflows
prepared more logic for looping but its not yet working correctly - still figuring out original code for vqadecoder
2016-10-28 22:34:04 +02:00
Willem Jan Palenstijn
ebf173b9ce SCI: Fix broken loop count check in checkAltInputs 2016-10-28 21:40:14 +02:00
Willem Jan Palenstijn
ae683e33e1 SCI: Resolve duplicate resmap.001 check
Before cef5506e9f, we used to check
for any files starting with resmap.00. We now check for resmap.000
and resmap.001.
2016-10-28 21:40:14 +02:00
Paul Gilbert
831694699c TITANIC: Fix interrupting playing sounds 2016-10-27 23:22:59 -04:00
Colin Snover
e12496bd0c SCI32: Read byte/string array values as signed in SCI2.1early-
KQ7 1.51 writes int16s from the save game catalogue into a Str
object, then retrieves byte 0 from the string and compares it to
-1. This happens to work out because (1) characters were treated
as signed in SCI2.1early and earlier, and (2) int16s in the save
game catalogue were little-endian.

In SCI2.1mid and later, this trick no longer works because
characters are treated as unsigned and get zero-extended instead.

Fixes Trac#9632.
2016-10-27 20:23:10 -05:00
Paul Gilbert
9b1a2555f9 TITANIC: Fix setting up timer action strings 2016-10-27 21:09:18 -04:00
Colin Snover
8ba899b46b SCI32: Fix typos
Thanks @OmerMor.
2016-10-27 14:37:13 -05:00
rootfather
7de9f4e6d8 I18N: Regenerate translations.dat 2016-10-27 21:32:33 +02:00
rootfather
ccc71773be I18N: Regenerate translations from source code 2016-10-27 21:32:07 +02:00
rootfather
658761df3e MOHAWK: Enable riven-demo specific strings for translation 2016-10-27 21:31:31 +02:00
rootfather
4d6f8f2a58 I18N: Fix language tag in de_DE.po 2016-10-27 20:49:08 +02:00
Colin Snover
c30380d0a3 SCI32: Fix LSL6hires script bug
Fixes Trac#9612.
2016-10-27 10:55:30 -05:00
Eugene Sandulenko
09d41af771 DIRECTOR: Fix RIFX resource loading 2016-10-27 16:48:21 +02:00
Eugene Sandulenko
ba9eeded27 DIRECTOR: More debug output to RIFX archive reader 2016-10-27 16:48:17 +02:00
Paul Gilbert
7564d47e99 IMAGE: Fix incorrect warnings decoding MSRLE images 2016-10-26 22:16:23 -04:00
Colin Snover
73725bab07 SCI32: Fix AVI rendering
Fixes Trac#9588.
2016-10-26 20:56:40 -05:00
Colin Snover
4044ed5b6f SCI32: Initialize video buffers to avoid flash of garbage memory 2016-10-26 20:56:40 -05:00
Colin Snover
8028b3c290 SCI32: Use standard max_size method instead of ARRAYSIZE for a container 2016-10-26 20:56:40 -05:00
Paul Gilbert
77bd2865cc TITANIC: Fix hang when reaching very end of movies 2016-10-26 20:56:20 -04:00
Paul Gilbert
74bb5c5207 TITANIC: Fix incorrect clipping of inventory tooltip text 2016-10-26 19:58:16 -04:00
Paul Gilbert
5291a72742 TITANIC: Fix loading of item descriptions 2016-10-26 19:26:14 -04:00
Paul Gilbert
21562fba08 TITANIC: Add yet another mouse hiding counter the game uses 2016-10-26 19:11:35 -04:00
Willem Jan Palenstijn
2fe167afc3 SCI: Rename hexDigitToInt to indicate it's intentionally broken 2016-10-26 22:59:33 +02:00
Willem Jan Palenstijn
4071871610 MADS: Fix two off-by-ones in Fader::insertionSort
Fixes bug #9631.
2016-10-26 22:30:02 +02:00
Thierry Crozat
ca52f16e08 I18N: Regenerate translations data file 2016-10-26 18:53:06 +01:00
Ben Castricum
7f43bbded6 I18N: Update Dutch translation 2016-10-26 18:50:53 +01:00
Eugene Sandulenko
3071bb40d8 COMMON: Added debug method for printing out stream contents 2016-10-26 19:00:13 +02:00