Commit Graph

128393 Commits

Author SHA1 Message Date
Torbjörn Andersson
afb807599b SCUMM: Make palette effects in Mac b/w Loom / Last Crusade optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
f496f75eb9 SCUMM: Make fixing Mandible's distaff animation in VGA Loom optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
2a796cedd7 SCUMM: Make fixing VGA Loom "Choas" typo optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
52549c1678 SCUMM: Make correcting position of green tank in Sam & Max optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
4f8653e4f9 SCUMM: Make playing missing Mac MI2 music optional. 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
20f9997300 SCUMM: Make MI2 Guybrush dialog when getting Rapp's map optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
f4b1919da9 SCUMM: Make MI1 Smirk background noises optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
88206f2ff4 SCUMM: Make MI1 clock tower restored behavior optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
1e91650154 SCUMM: Make MI1 additional Lemonhead dialog optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
cf02446865 SCUMM: Make MI1 Smirk cigar smoke optional 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
6ac9154403 SCUMM: Add options for game-specific tweaks, and enable it for MI1 2022-03-23 15:23:10 +01:00
Torbjörn Andersson
4d468fb005 SCUMM: Update the game's "extra" setting, if necessary
This would have been done at detection, but if the game entry is really
old it may still be empty. We sometimes need it to tell versions apart.
2022-03-23 15:23:10 +01:00
Torbjörn Andersson
9c7cd2c7e2 SCUMM: Fix teleporting Rusty glitch in Loom (bug #13370)
Don't let the "send Rusty's ghost to guard the rift" script start as
long as the "make Rusty's ghost appear" script is running, because once
he reaches the rift he will then instantly teleport back to his body.

This bug happens in the original as well, though at least in ScummVM it
behaves a little bit differently in the FM Towns version than in any of
the other I tried. The fix still works for all of them, though.

The VGA talkie version is not affected, because there Rusty's ghost
appears in the rift, and the dialog makes sense regardless of whether
Bobbin or Rusty speaks first.
2022-03-23 10:40:27 +01:00
i30817
1a3111d76f SCI: Correct name of Pepper's Adventures in Time 2022-03-23 10:24:50 +02:00
Paul Gilbert
658a9ddb05 AGS: Wrap unused function in ifdef check 2022-03-22 22:32:14 -07:00
Paul Gilbert
3e6c42ab8d AGS: get_font_height() returns compatible height
From upstream 61f726f71b7aee4d7e2ec09d5252061488b9aa81
2022-03-22 22:30:14 -07:00
Paul Gilbert
ba47a913bf AGS: Add missing code from 43425f738dc6beb7d0758e256a840c5f37a4d38a 2022-03-22 22:30:14 -07:00
Paul Gilbert
d42b639142 AGS: Always precalculate and save font linespacing (as outlined)
From upstream 8ba3a77e38a6dc8ace6d6393042730d73292a1a7
2022-03-22 22:30:14 -07:00
Paul Gilbert
977925d105 AGS: Some fixes of namespace Common to be Shared 2022-03-22 22:30:14 -07:00
Paul Gilbert
e9c153ad4a AGS: Removed unused function getfontlinegap()
From upstream fa357693ba7e465a3b17b5e3bb785d7d2f9a7325
2022-03-22 22:30:14 -07:00
Paul Gilbert
df29806aec AGS: Replaced the remaining wgettextheight() with get_font_height()
From upstream d9c4a0306a6718cb03ccd6e84c1e63d093d9a64a
2022-03-22 22:30:13 -07:00
Paul Gilbert
dc3ce9f70a AGS: Renamed few font functions for consistent naming style
From upstream 9c355da410b734edc79212009a5e1be0b502c3b0
2022-03-22 22:30:13 -07:00
Paul Gilbert
c4e7bd355b AGS: Distinct "real fullscreen" and "desktop fullscreen" window mode
From upstream e7763cea241d46e360ed48dcb07bc8c75e591a8c
2022-03-22 22:30:13 -07:00
Paul Gilbert
d7727eb964 AGS: Separate configs for fullscreen and windowed modes
From upstream 96a1868fcf5d5aa0c070feaebc912c969348db0f
2022-03-22 22:30:13 -07:00
Paul Gilbert
1ad9fe0a37 AGS: Deprecated "ScreenSizeDefinition" option as overcomplicating
From upstream 997170c80c6189b0f4d6940cc1817dabcd77fe30
2022-03-22 22:30:12 -07:00
Strangerke
f96b146a20 CHEWY: Implement getStereoPos() 2022-03-23 00:31:38 +01:00
Roland van Laar
dded4e6d71 JANITORIAL: Clean up file
Spaces -> tab indent
fix spelling
2022-03-23 00:07:43 +01:00
Roland van Laar
738def31a0 DIRECTOR: Implement lingo repl in debugger
When in debug mode enter: lingo on
The prompt will start with lingo) to indicate the repl is active.
To stop enter: lingo off

This will allow developers to interactively inspect the current state of
the program.

Only statements that fit on one line are supported.
2022-03-22 23:39:54 +01:00
Roland van Laar
40627f0caf GUI: Debugger: Implement defaultCommandProcessor
A defaultCommandProcessor let's an engine take over the processing of
commands in the debugger. The Director Engine uses the functionality to
implement a repl for the Lingo language.

Example Usage:
    registerDefaultCmd(WRAP_DEFAULTCOMMAND(Debugger, lingoCommandProcessor));

The input will now be handled by lingoCommandProcessor. Other commands
will not work untill control is given back to the debugger.

It's up to the engine to return control to the debugger when done.
To return control, call it with a nullptr:
    registerDefaultCmd(nullptr);
2022-03-22 23:39:54 +01:00
ScummVM-Translations
c32d53e467 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-03-22 22:29:07 +00:00
Filippos Karapetis
e6326bfcc1 CHEWY: Hook up the new music player code (still WIP)
This is still not finished, but the original music playing code is
broken at the moment, so no music could be heard anyway
2022-03-23 00:28:37 +02:00
Filippos Karapetis
393d409f8d CHEWY: Cleanup 2022-03-23 00:28:37 +02:00
ScummVM-Translations
7302f92f16 I18N: Update translations templates 2022-03-22 21:22:20 +00:00
sluicebox
a61bcdee59 SCI32: Fix saving from GMM in LSL7 2022-03-22 17:20:51 -04:00
Eugene Sandulenko
0577986bb6
PRINCE: Blacklist Spanish translation by Pakolmo as he denied us from using his translation. PR#3721 2022-03-22 22:08:55 +01:00
Filippos Karapetis
e2221d6585 CHEWY: Refactor the hotspot matching code 2022-03-22 22:15:44 +02:00
Torbjörn Andersson
60515e873b SCUMM: Don't allow Bobbin to escape through a closed door (bug #13367)
This was a script bug in the EGA DOS, Amiga and Atari ST versions, where
the open door object was left clickable after the door closed. Later
versions fixed it in two different ways: Either by making sure it wasn't
clickable, or by checking that the door really was open in the object
script.

We use the first fix, even though it becomes a bit inconsistent when the
object is later made unclickable. The second fix is only used by the FM
Towns and TurboGrafx-16 versions, as far as I can tell.
2022-03-22 14:24:01 +01:00
D G Turner
9c9ff6f670 SAGA2: Remove Leftover Compilation Broken Debug Code from Task Class
The rest of this code was removed by commit 50868e2 i.e.
"SAGA2: Removed DList from Task and TaskList".

The remaining code fails to build when "#define DEBUG 1" is passed due
to various missing function definitions and other methods from Task
base class.

This was causing GCC Undefined Macro Warnings as well when -Wundef
was passed.
2022-03-22 12:38:18 +00:00
sluicebox
e23f5fe855 SCI32: Update kSetShowStyle version checks for Mac
Consolidated kSetShowStyle version/argument checks and updated them to
handle SCI2.1 Mac games and PC demos. (The demos where the wrong
arguments were being applied happened to work anyway.)

Fixes LSL7 Mac pixel dissolve at the start of the game between the
postcard and the boat (rooms 120 and 130)
2022-03-22 07:32:55 -04:00
Misty De Meo
8558276dd9 DIRECTOR: additional RearWindow methods 2022-03-22 12:27:13 +01:00
Paul Gilbert
106622d44c AGS: Removed "scaling factor" from the FrameScaleDefinition struct
From upstream b2a4e98ecdd8cfd1d8e42ab32f6f337af60e5a68
2022-03-21 22:08:04 -07:00
Paul Gilbert
3ca1db4cd8 AGS: Fixed engine shutdown could try to access unallocated objects
From upstream 1b43aeb3051c8e41811dff19d7630584d8f871b3
2022-03-21 20:30:33 -07:00
Paul Gilbert
46447192e5 AGS: Updated build version (3.5.1.12)
From upstream 51bc60954e8d27b48ccc16490cbfe9b83b6bc71a
2022-03-21 19:40:40 -07:00
Paul Gilbert
42e7f5e81b AGS: In AssetManager precache real CI filenames of the lib parts
From upstream ca86578dc64e6a8c93287716aa67c860e21659cd
2022-03-21 19:35:47 -07:00
Paul Gilbert
5940252185 AGS: In AssetManager separate asset presence check and stream open
From upstream 15acceda9cbed46d0dc5189b878645ebdf2e48f0
2022-03-21 19:30:33 -07:00
Paul Gilbert
2ef749739e AGS: Fixed SOUNDCLIP::set_volume_direct()
From upstream e2d8f727811c6ff58a0f05222c3007805abcf3ce
2022-03-21 19:13:00 -07:00
Paul Gilbert
c63ea5ed84 AGS: ListBox.FillDirList supports $DATA$ path token
From upstream 19a15acbf99ad223348c74d6de61cc56acc1ad69
2022-03-21 19:10:30 -07:00
eientei95
1d1a12b3ac DIRECTOR: LINGO: Make the path relative before trying to open
D3 game called "Wacky Jacks" attempts to open `Wacky Jacks:Wacky Jacks 1.2:WJPrefs`. Before this would be passed straight to File->open, now properly opens `Wacky Jacks 1.2/WJPrefs`
2022-03-22 01:50:10 +01:00
D G Turner
4ec462f2d3 ULTIMA: NUVIE: Fix Remaining Undefined Macro Definition Warnings
These are emitted by GCC when -Wundef is passed.
2022-03-21 22:20:52 +00:00
Strangerke
5b8fd81f72 CHEWY: Add a parameter to get_mov_vector to avoid depending on out of bond accesses 2022-03-21 23:16:40 +01:00