127788 Commits

Author SHA1 Message Date
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 930d9236b857ff
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 930d9236b857ff
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
Filippos Karapetis
a80e543a3c CHEWY: Start replacing minfo for cursor position 2022-03-06 14:40:43 +02:00
Filippos Karapetis
2ed0dea723 CHEWY: Simplify the event manager code
Merge the EventsBase and EventsManager classes
2022-03-06 14:40:42 +02:00
D G Turner
3d6c0f8ab3 MACVENTURE: Remove Redundant Duplication Declaration
This causes a GCC Warning when -Wredundant-decls is enabled.
2022-03-06 11:33:45 +00:00
Andrea Boscarino
a083cf5abc SCUMM: DiMUSE: Create separate InternalMixer flow for FT engine 2022-03-06 11:11:11 +01:00
Cameron Cawley
a4c99343b3 OPENGL: Fix shader compilation with older Android GPU drivers 2022-03-06 11:09:50 +01:00
Roland van Laar
930d9236b8 DIRECTOR: LINGO: Implement loading rsrc XObjects
Xobject files on mac can contain multiple XObjects.
Parse the names of XCOD and XCMD resources and try to load them as
XObjects.
2022-03-06 11:07:35 +01:00
Pragyansh Chaturvedi (r41k0u)
c5fc150cd5 NGI: Fix #10396: Rolling bridge is wrong state 2022-03-06 12:00:03 +02:00
Roland van Laar
7801d86e79 DIRECTOR: LINGO: Improve events in xPlayAnim
- PACo stops playing on keydown and mousedown
- quit event quits scummvm
- refactor quit event handler to be callable from outside the main event
  loop
2022-03-06 10:07:05 +01:00
Paweł Kołodziejski
016152971a
IOS: Fixed compiler warnings 2022-03-06 09:19:54 +01:00
Paweł Kołodziejski
710dac8029
OPENGL: Improve error handling for GL compiler by using dynamic allocated buffers. 2022-03-06 09:03:36 +01:00
antoniou79
8fcfb7e585 GUI: Fix bad EditTextWidget rect at low window widths
Fix bug https://bugs.scummvm.org/ticket/13339

Solution is taken from our ListWidget (gui/widgets/list.cpp) which performs a similar check in its ListWidget::getEditRect()
2022-03-06 09:01:50 +01:00
Paweł Kołodziejski
786800e831
OPENGL: Skip adding suffix 'shaders' for iOS app, it has flatten tree. 2022-03-06 09:00:21 +01:00
Misty De Meo
d4117f3887 VIDEO: mark PACo method as override 2022-03-06 09:48:52 +02:00
Filippos Karapetis
82f22fe458 CHEWY: Allow skipping speech with left mouse click 2022-03-06 01:07:49 +02:00
Filippos Karapetis
0c543715ab CHEWY: Handle mouse button up events, instead of button down
This helps avoid processing the same mouse button down event in a row
and is in line with how we process mouse events in other engines
2022-03-06 01:07:49 +02:00
Filippos Karapetis
6ea0b5cd52 CHEWY: Cleanup 2022-03-06 01:07:48 +02:00
Roland van Laar
1be7de067b DIRECTOR: LINGO: xPlayAnim improvements
- keep last played frame displayed on screen
- stop playing the video on mouse click
2022-03-05 22:37:04 +01:00
Filippos Karapetis
432e0682c3 CHEWY: Remove obsolete file handles from the Room class 2022-03-05 23:24:49 +02:00
Roland van Laar
54240bdac6 VIDEO: PACo decoder: Add audio support
PACo audio is single channel 8 bit unsigned pcm.
The first sound packet is read to determine the sampling rate.
2022-03-05 22:11:40 +01:00