Commit Graph

128175 Commits

Author SHA1 Message Date
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
Eugene Sandulenko
1769ef268e
DIRECTOR: Use directory for external sound casts. Fixes #13307 2022-03-21 23:08:35 +01:00
D G Turner
92c5f36388 ULTIMA: NUVIE: Remove Usage of Undefined SDL Byte Order Symbols
This code was originally intended to support Big Endian audio using
libSDL. However, since the missing symbols defaulted to 0 in both cases,
this code was active in all cases which is very wrong for Little Endian
platforms. This should be reviewed and fixed for both BE and LE targets
with testing.

This generated GCC undefined macro compiler warnings when -Wundef was
passed.
2022-03-21 22:00:37 +00:00
D G Turner
9af3ef5e88 AUDIO: MT32: Fix Undefined Macro Compiler Warnings
These were emitted by GCC when -Wundef was passed.
2022-03-21 21:37:04 +00:00
Strangerke
5c9beed48e CHEWY: Add an option for the original menus, slightly refactor get_savegame_files 2022-03-21 22:27:36 +01:00
sluicebox
e01775bcae SCI32: Fix SHIVERS and PHANT2 loading autosave slot
Fixes bug #13361
2022-03-21 15:33:52 -04:00
Purple T
cb8b60e79e I18N: Update translation (French)
Currently translated at 99.8% (1713 of 1715 strings)
2022-03-21 19:27:26 +00:00
D G Turner
89f2497e09 AGS: Remove Set But Unused Variable From Main Code
This generates a GCC Compiler Warning from -Wunused-but-set-variable.
2022-03-21 11:28:05 +00:00
D G Turner
7e4fc49deb WINTERMUTE: Remove Unecessary Macro Guard From Script Stack Code
This was causing Undefined Macro GCC Compiler Warnings when -Wundef
was passed.
2022-03-21 11:19:34 +00:00
Eugene Sandulenko
f40c43548f
DIRECTOR: LINGO: Copied RearWindow XObj documentation 2022-03-21 11:46:54 +01:00
Misty De Meo
c2daf29bb2 DIRECTOR: implement RearWindow methods 2022-03-21 11:44:32 +01:00
Walter Agazzi
15ef11ac23 I18N: Update translation (Italian)
Currently translated at 100.0% (1715 of 1715 strings)
2022-03-21 10:09:40 +00:00
Matthew Duggan
340168a7d6 AGS: Correct param mismatch to fix build 2022-03-21 15:05:35 +09:00
Paul Gilbert
83c785cf22 AGS: Slightly more clear platform driver init/exit steps
From upstream b539f0c5c57514fb77875b4d15fc623e0251de52
2022-03-20 22:11:56 -07:00
Paul Gilbert
fff50e3735 AGS: Moved IsFile() and similar functions from Path to File unit
From upstream ab78e1c454d1d0e60eac5a27672f27aa2487e24f
2022-03-20 22:11:55 -07:00
Paul Gilbert
a94d641150 AGS: AssetManager lets use AssetPath struct to call its methods
From upstream d12adb27fcfb988596ea3ba7d755567a6bdbe6b9
2022-03-20 22:11:55 -07:00
Paul Gilbert
ca7ae36fe4 AGS: Removed FindAssetFileOnly(), was used for specific a workaround
From upstream 064a606b5799db5bc4eaeb5f2176c90043512e65
2022-03-20 22:11:55 -07:00
Paul Gilbert
b61a661907 AGS: Removed redundant asset_size param from AssetManager::OpenAsset
From upstream 9d8456d4202be698b0a3117679745a8200c1ab9b
2022-03-20 22:11:54 -07:00
Paul Gilbert
a57df48467 AGS: DynamicSprite.CreateFromFile supports $DATA$ path token
From upstream 57954026cf10593210221dbf3a796c83fc26379d
2022-03-20 22:11:54 -07:00