Commit Graph

78362 Commits

Author SHA1 Message Date
Thierry Crozat
df3299ebb2 GUI: Add possibility to rebuild the options dialog
This will be needed to allow changing the GUI language and applying
the change without having to close the dialog.
2016-10-30 18:36:22 +00:00
Thierry Crozat
50847f9e03 GUI: Setting the active tab also ensures it is visible in the tab bar 2016-10-30 18:22:56 +00:00
Thierry Crozat
54230af9fd GUI: Only change theme when applying new options
Unlike other options in the OptionsDialog, the theme change was
done when selecting a new theme and not when clicking on OK or
Apply. This commit makes it consistent with other options
2016-10-30 16:25:42 +00:00
Thierry Crozat
59675d2e4c GUI: Add Apply button in global options dialog 2016-10-30 15:43:14 +00:00
Paul Gilbert
f04174aa8a TITANIC: Fix playing past very last frame of videos 2016-10-30 11:13:51 -04:00
D G Turner
844972441e COMMON: Fix GCC Warning in JSON Parser.
The emitted warning is "ISO C++98 does not support the ‘%lg’ gnu_printf
format [-Wformat=]".

Though "%lg" is required for *scanf functions to indicate the field
size, it is not required for *printf functions which use "%g" instead.
2016-10-30 14:46:47 +00:00
Paul Gilbert
96153644e6 TITANIC: Cleanup of CServiceElevatorWIndow class 2016-10-30 08:10:36 -04:00
Paul Gilbert
6ffa5228c1 TITANIC: Fix setting different video framerates 2016-10-30 08:10:18 -04:00
Paul Gilbert
4fbaa41b14 TITANIC: Fix floor change message to go to both background & indicator 2016-10-30 00:00:03 -04:00
Paul Gilbert
525c9100e8 TITANIC: Fix playback elevator background at correct speed 2016-10-29 22:41:37 -04:00
Paul Gilbert
120ffa50ec TITANIC: Fix wave file when pressing top elevator button 2016-10-29 21:53:02 -04:00
Paul Gilbert
64e4aac26a TITANIC: Fix pressing buttons in Service Elevator 2016-10-29 21:48:10 -04:00
Paul Gilbert
2e2e0df346 TITANIC: Return proper handle from CGameObject::playSound 2016-10-29 21:25:10 -04:00
Eugene Sandulenko
9caee8cbe3 DIRECTOR Implement CASt member loading 2016-10-29 17:13:38 -07:00
Thierry Crozat
6d2fd12bb4 BASE: Clarify how to specify a path in help for the auto-detect command 2016-10-29 23:41:21 +01:00
Paul Gilbert
43dc1c6f95 TITANIC: Fix to Doorbot talking animations selection 2016-10-29 18:39:30 -04:00
Paul Gilbert
fae906b539 TITANIC: Renaming NPCFLAG enum values for idling 2016-10-29 18:21:52 -04:00
Thierry Crozat
23d3d08a91 README: Adding auto-detect command line option 2016-10-29 17:56:47 +01:00
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