Commit Graph

127770 Commits

Author SHA1 Message Date
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
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
Roland van Laar
e931a1a985 VIDEO: PACo decoder: refactor for audio track
A PACo 'frame' has both the audio and video part of the frame. Where decodeNextFrame only handles video, readNextPacket enables the option to read a PACo frame and decode and queue both audio and video.
2022-03-05 22:11:40 +01:00
Roland van Laar
bee055140f DIRECTOR: Sanity check PACo palette was off by one
Palette has a length of 256.
2022-03-05 22:11:40 +01:00
ScummVM-Translations
94886c8f6b 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-05 20:38:43 +00:00
Filippos Karapetis
830ee285ad CHEWY: Start refactoring item resources (ADH blocks)
This also changes the internal stream to MemorySeekableReadWriteStream
from MemoryReadWriteStream, which better suits our needs
2022-03-05 22:38:12 +02:00
Filippos Karapetis
299a81bda8 CHEWY: Use enums for open_handle() 2022-03-05 22:38:12 +02:00
Filippos Karapetis
b285ae3d88 CHEWY: Remove unnecessary local variable
This avoids a crash under some race conditions, where this variable
isn't fully initialized
2022-03-05 22:38:11 +02:00
Filippos Karapetis
f541a938b7 CHEWY: Cleanup 2022-03-05 22:38:11 +02:00
ScummVM-Translations
ddabd72865 I18N: Update translations templates 2022-03-05 20:20:10 +00:00
antoniou79
c43abab5e8 BLADERUNNER: Spacebar key also skips cutscenes
This is the original's behavior also.

Spacebar key does not skip dialogue.
2022-03-05 22:19:25 +02:00
Eugene Sandulenko
9c5ed654e7
CHEWY: Fix guard define 2022-03-05 21:08:10 +01:00
Torbjörn Andersson
288fc13b95 BUILD: Support Mold linker in configure (opt-in)
This supposedly has the potential to be even faster than the LLD linker,
though for me the difference is minimal.
2022-03-05 20:44:12 +01:00
Orgad Shaneh
c02abd2967 CREATE_PROJECT: Simplify engines part
Create a function add_engine which handles everything for the engine, and
remove redundant conditions all over the project file.
2022-03-05 21:39:08 +02:00
Walter Agazzi
16a1f67179 AGS: Add detection for new games (initial T)
* Add detection for new games
* Update language for some existing detections
2022-03-05 19:34:14 +00:00
Orgad Shaneh
097b543c6c CREATE_PROJECT: Replace c++0x with c++11 in Xcode generator 2022-03-05 21:34:01 +02:00
C.W. Betts
b9d234e986 MACOSX: Improve conversion of path from NSString to C string
Use `-[NSString fileSystemRepresentation]` if you are going to pass
a path to a lower-level function, like `fopen()`.
2022-03-05 19:28:10 +00:00
Torbjörn Andersson
2f753222fe SCUMM: Work around timing bug when Mandible uses distaff in VGA Loom
The first and second animation when Mandible uses the distaff were so
close that they looked like one, and it looked like the second one was
missing. This patch adjusts the timing of the second one.
2022-03-05 20:01:05 +02:00
Christian Kündig
d698578d3a
ICB: Add Bink as an engine dependency 2022-03-05 19:57:04 +02:00
Cameron Cawley
f26c3382b6 CHEWY: Fix building with older compilers 2022-03-05 16:05:56 +00:00