Commit Graph

127807 Commits

Author SHA1 Message Date
D G Turner
027f85f612 ICB: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 19:43:11 +00:00
D G Turner
894813870e SAGA2: Fix Redundant Declaration Warnings
These warnings are generated by GCC if -Wredundant-decls is enabled.
2022-03-07 18:30:58 +00:00
Roland van Laar
80f4f670f9 VIDEO: PACo decoder: skip lines in ouput
The amount of lines to skip is in `len`. This wasn't taken into account
when decoding the endcurrentline opcode.

Thanks to Kostya for resolving the issue.
2022-03-07 18:56:00 +01:00
Cameron Cawley
460bc32cd9 OPENGL: Fix OpenGL ES v1 builds without GLAD 2022-03-07 17:40:01 +01:00
D G Turner
b3f98810a2 SWORD25: Fix Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 13:27:14 +00:00
Orgad Shaneh
34d3841269 CREATE_PROJECT: Fix cmake project with opengl enabled
Compliments 04b1ce5a6e.
2022-03-07 14:42:52 +02:00
Filippos Karapetis
1fbf587117 CHEWY: Renaming 2022-03-07 14:35:02 +02:00
D G Turner
f8e18b81f5 BASE: Fix Redundant Declaration Warnings in Plugin Macros
These generated GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 11:42:19 +00:00
Pragyansh Chaturvedi
34bc417d12
SCUMM: Fix bug #13196 - Invalid phrase with GIVE crashes Monkey EGA Demo
* SCUMM: Fix Invalid phrase with GIVE crashes Monkey Island EGA Demo
* SCUMM: Suggested changes on Pull #3731
* SCUMM: specify game id in Pull #3731
* SCUMM: seperated AMIGA monkey VGA and VGA Demo variants. Assigned GF_DEMO flags
2022-03-07 12:28:09 +02:00
D G Turner
c569f4b40d ULTIMA: Remove Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 10:20:55 +00:00
D G Turner
929ea42b8e NGI: Remove Redundant Declaration
This causes GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 10:18:50 +00:00
Paweł Kołodziejski
2ac26ade3e
DEVTOOLS: Xcode project: Add shaders files only for specific enabled engines 2022-03-07 11:08:57 +01:00
D G Turner
9528ac4883 DEVTOOLS: Fix Redundant Declarations in Titanic Datafile Tool
These would produce GCC Warnings if -Wredundant-decls is enabled.
2022-03-07 09:15:04 +00:00
D G Turner
0b417714ca DEVTOOLS: Fix Redundant Declaration in Teenagent Datafile Tool
This would produce GCC Warnings if -Wredundant-decls is enabled.
2022-03-07 09:15:04 +00:00
D G Turner
6f637ada20 DEVTOOLS: Fix Redundant Declaration in Neverhood Datafile Tool
This would produce GCC Warnings if -Wredundant-decls is enabled.
2022-03-07 09:15:04 +00:00
D G Turner
f0822b2d66 DEVTOOLS: Fix Redundant Declaration in Kyra Datafile Tool
This would produce GCC Warnings if -Wredundant-decls is enabled.
2022-03-07 09:15:04 +00:00
D G Turner
5705489d5a DEVTOOLS: Fix Redundant Declaration in Cryomni3d Datafile Tool
This would produce GCC Warnings if -Wredundant-decls is enabled.
2022-03-07 09:15:04 +00:00
D G Turner
d09e10a4a1 DEVTOOLS: Fix Redundant Declaration in Ultima Datafile Tool
This would produce GCC Warnings if -Wredundant-decls is enabled.
2022-03-07 09:15:04 +00:00
Jonathan Teh
b3ce86b3a0 BASE: Add alsa to the opl-driver CLI help
This makes it clear that ALSA Direct FM can be selected for AdLib
FM synthesis on the CLI.
2022-03-07 11:09:12 +02:00
neuromancer
2d478e3134 HYPNO: adjusted offsets in arcade animation in spider 2022-03-07 09:35:04 +01:00
Torbjörn Andersson
ce4e22a294 CHEWY: Fix compilation, hopefully without breaking anything else 2022-03-07 08:30:21 +01:00
Strangerke
4a012a2955 CHEWY: rename a bunch of 'Anz' variables 2022-03-07 00:58:19 +01:00
Paweł Kołodziejski
b21a081f2c
DEVTOOLS: Added shader files to Xcode project 2022-03-06 23:30:02 +01:00
Paweł Kołodziejski
a7edd90b6f
IOS: Install engines shader files into app bundle 2022-03-06 23:02:30 +01:00
Filippos Karapetis
701ac40684 CHEWY: Fix regression in dialogs
The game loads a block of responses for each dialog, and saves the
current dialog state in saved games
2022-03-06 23:49:20 +02:00
Strangerke
e06dee9443 CHEWY: remove a couple of unused functions in effect and mcga_graphics, some renaming 2022-03-06 22:17:49 +01:00
Andrea Boscarino
c03787f8bb
SCUMM: DiMUSE: Fix possible buffer underruns
Big thanks to athrxx for reporting this issue; the previous calculation for obtaining an optimal number for _maxQueuedStreams did not account for the differences between the sample rate targeted by the audio backend and the one targeted by DiMUSE (which is 22050Hz). 

This new formula has been tested for optimal latency and absence of underruns for all supported games and all known combinations of sample rates and output buffer sizes:
[22050, 44100, 48000, 96000], [1024, 2048, 4096, 8192].
2022-03-06 21:58:40 +01:00
Roland van Laar
00e6cf0411 DIRECTOR: Improve framerate loading D2 and D3
D2 and D3 have 16 distinct framerates, 0x0 to 0xF.
Framerates are integer values. They are rounded down towards their
nearest integer.

The following table is included for completeness.

The information was gathered by creating a D3 movie with an `on stepMovie` handler that counts every frame.
The setting is the setting on the slider in the D3 panel.
It was timed with clicking 'play' in D3 and start on a stopwatch at the
same time. The same for stopping the movie and the stopwatch.
FPS was calculated by dividing the amount of frames given by Director
and the time on the stopwatch.

setting     time        frames      fps
3           60.18       226         3.755
4           30.04       121         4.028
4.1         30.09       131         4.354
4.2         30.29       141         4.65
5           30.38       153         5.036
5.1         30.09       165         5.483
6           30.20       182         6.026
6.1         30.06       201         6.687
7           30.04       228         7.590
8           30.24       260         8.598
10          30.15       302         10.017
12          30.16       364         12.069
15          30.17       454         15.048
20          30.10       602         20.0
30          30.05       904         30.08
60          30.07       1811        60.226
2022-03-06 21:51:56 +01:00
ScummVM-Translations
1b44ddbcef 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-06 20:50:43 +00:00
neuromancer
802e97d479 HYPNO: reverted testing change in the start level in spider 2022-03-06 21:50:27 +01:00
neuromancer
59fe50f0ed HYPNO: fixed objective detection code in arcade 2022-03-06 21:50:27 +01:00
neuromancer
b8f233cbf7 HYPNO: removed unused function in arcade code 2022-03-06 21:50:27 +01:00
ScummVM-Translations
e645fca35d I18N: Update translations templates 2022-03-06 20:44:30 +00:00
Paweł Kołodziejski
ee11c85f85 IOS: Added support for GLAD 2022-03-06 21:44:19 +01:00
Strangerke
a7501bf73d CHEWY: Remove some unused members in mcga_graphics, some renaming in detail.h and globals 2022-03-06 19:50:04 +01:00
antoniou79
5795fb6aea ANDROID: Remove extra parenthesis from virtual shortcut name
"ScummVM data (Ext))" is now corrected to "ScummVM data (Ext)"
2022-03-06 20:05:10 +02:00
neuromancer
60e379268d HYPNO: added mission statistics screen in wet 2022-03-06 17:53:28 +01:00
Pragyansh Chaturvedi (r41k0u)
ebc01f09c9 NGI: Fix stuck when teleporting to foot (bug #10395) 2022-03-06 17:48:40 +01:00
Pragyansh Chaturvedi (r41k0u)
65b6e897d2 NGI: Fix Inconsistent character state (bug #9669) 2022-03-06 17:47:21 +01:00
kevinlaurier
3ff4e1c9c4 COMMON: Moved Node struct from private to public so that HashMap can be
used with Common::find_if from algorithm.h - this is required as part of
the lambda or function object signature when passed as a predicate.
2022-03-06 17:46:23 +01:00
Orgad Shaneh
6edd4656fb VIDEO: Fix compiler warnings on Windows 2022-03-06 18:34:52 +02:00
Roland van Laar
3628584552 DIRECTOR: LINGO: Add XObject filenames
Director engine loads the XObject from the internal names inside the
resource since commit 930d9236b8
These changes adds the internal name for AppleAudioCD and LaserDisc to the
filelist.
2022-03-06 17:31:18 +01:00
Roland van Laar
fcfecfff52 DIRECTOR: LINGO: Add XObject filenames
Director engine loads the XObject from the internal names inside the
resource since commit 930d9236b8
These changes adds the internal name for PalXobj and RearWindow to the
filelist.
2022-03-06 17:25:04 +01:00
Roland van Laar
1902b94c13 DIRECTOR: LINGO: move XPlayAnim to XObject
XPlayAnim is an XObject. It was only used as a regular builtin during
development.
2022-03-06 16:49:32 +01:00
D G Turner
d22859680a TINSEL: Remove Redundant Declarations
These cause GCC Compiler Warnings when -Wredundant-decls is enabled.
2022-03-06 14:10:27 +00:00
D G Turner
006c4fe8f4 SCI: Fix Redundant Declaration
This causes GCC Compiler Warnings when -Wredundant-decls is enabled.
2022-03-06 13:56:15 +00:00
D G Turner
9a27d5430b SAGA2: Remove Redundant Declaration
This was causing GCC Warnings when -Wredundant-decls is enabled.
2022-03-06 13:43:45 +00:00
Paweł Kołodziejski
7714b7efa8
GRIFFON: Fixed compiler warning about not used array 2022-03-06 14:30:20 +01:00
Filippos Karapetis
b93ada533c CHEWY: Remove obsolete / unused functions 2022-03-06 14:52:46 +02:00
Filippos Karapetis
6ad1b281b7 CHEWY: Refactor the mouse code to use CursorMan and ScummVM cursors 2022-03-06 14:40:44 +02:00