Commit Graph

83554 Commits

Author SHA1 Message Date
Paul Gilbert
52b3d7437c AGS: Updated comment in ccInstance::AddGlobalVar() about glvar fixup
From upstream 23c2e0aee21de7960e5660aca6c96bf039ead1db
2022-03-23 20:13:06 -07:00
Paul Gilbert
8befb47c05 AGS: Some corrections to reading legacy config
From upstream 183e1e2dff4d487eda5ef01ed54867fa5fec7927
2022-03-23 20:09:50 -07:00
Paul Gilbert
34c2d428b6 AGS: Simpler method of parsing window modes in user config
From upstream 4010bf5bb315498436199d356e2d2e882442316b
2022-03-23 20:09:50 -07:00
Paul Gilbert
ca4c91031b AGS: Configurable font init mode, for backward compatibility
From upstream 9a11a1d4334aef99b8b516a13d5a5bcc0284fde7
2022-03-23 20:09:46 -07:00
athrxx
7f3ea3074f SCUMM: (LOOM) - fix bug no. 13373 (Rusty's ghost can disappear completely)
This bug can only happen if Actor::setActorWalkSpeed() is called on a moving actor. But at least this is one such occasion...
The problem is that calcMovementFactor() gets called from common code here, so it has to be made virtual. Otherwise it will not call the correct version of the function for v3.
2022-03-24 00:17:24 +01:00
Strangerke
947f7afd6b CHEWY: fix coverity 1476364 2022-03-23 23:42:42 +01:00
Strangerke
65216825d8 CHEWY: Fix coverity 1486928, some renaming 2022-03-23 23:13:04 +01:00
Walter Agazzi
6b2a81324a AGS: Add detection for updated Wadjeteye games (Windows) 2022-03-23 18:22:37 +01:00
Walter Agazzi
1e93d981b1 AGS: Add language detection for games (B) 2022-03-23 18:22:37 +01:00
Torbjörn Andersson
608a334c22 SCUMM: Make recent Loom workarounds optional
Unfortunately that means I had to add the enhancements checkbox to the
EGA Loom settings widget, because I can't see any way to automatically
combine the static and dynamic settings widget. Oh well.
2022-03-23 16:02:49 +01:00
Torbjörn Andersson
b66e84d57a SCUMM: Change "Use correct font spacing" to a game-specific enhancement
It doesn't make much sense to keep this as a separate option, when
fixing the font spacing is an enhancement specifically for the Mac
version of Indiana Jones and the Last Crusade.
2022-03-23 15:23:10 +01:00
Torbjörn Andersson
cb561f462e SCUMM: Read the "enable_enhancements" setting only once
I can't change during gameplay, it's shorter to type, and we won't
accidentally involve the config manater in some tight loop.
2022-03-23 15:23:10 +01:00
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
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
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