Commit Graph
137148 Commits
Author SHA1 Message Date
Orgad Shaneh 51935a8569 DM: Remove trivial copy ctor and copy assignment operator 2021-03-15 13:24:12 +00:00
Thierry Crozat 0472efb1d2 AGS: Fix typos in function names 2021-03-15 13:21:11 +00:00
Orgad Shaneh ef4cc34347 MATH: Fix Clang warnings on Matrix
../scummvm\math/matrix.h:146:2: warning: definition of implicit copy assignment operator for 'MatrixBase<4, 4>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
        MatrixBase(const MatrixBase<rows, cols> &m);
        ^
../scummvm\math/squarematrix.h:37:7: note: in implicit copy assignment operator for 'Math::MatrixBase<4, 4>' first required here
class MatrixType<dim, dim> : public MatrixBase<dim, dim> {
      ^
../scummvm\math/matrix4.h:36:7: note: in implicit copy assignment operator for 'Math::MatrixType<4, 4>' first required here
class Matrix<4, 4> : public MatrixType<4, 4>, public Rotation3D<Matrix<4, 4> > {
      ^
../scummvm\engines/grim/costume/mesh_component.h:45:65: note: in implicit copy assignment operator for 'Math::Matrix<4, 4>' first required here
        void setMatrix(const Math::Matrix4 &matrix) override { _matrix = matrix; };
                                                                       ^
2021-03-15 14:10:31 +02:00
Orgad Shaneh bedba56f24 GLK: Remove proxy ctors and copy assignment operator 2021-03-15 13:29:32 +02:00
Orgad Shaneh e64570f6c3 CGE2: Remove trivial copy ctor and copy assignment operator 2021-03-15 13:26:32 +02:00
Orgad Shaneh 61843256be TWINE: Remove unused private member
Detected by Clang.
2021-03-15 13:22:24 +02:00
Orgad Shaneh 6f1fb146b9 GLK: Remove unused private members and one define
Detected by Clang.
2021-03-15 13:21:58 +02:00
Orgad Shaneh b2122f4eeb LURE: Fix misleading indentation
Detected by Clang.
2021-03-15 13:21:15 +02:00
Orgad Shaneh f0554f148a LURE: Remove unused private member
Detected by Clang.
2021-03-15 13:20:52 +02:00
Martin Gerhardy 0906d9d3e3 DEVTOOLS: fixed typo 2021-03-15 09:09:40 +01:00
Orgad Shaneh fd27e7fb75 ULTIMA: Remove wrong conditions
button cannot be any of these values. It is not even the right enum.

Detected by Clang.
2021-03-14 21:32:30 -07:00
Orgad Shaneh bf6460de96 TITANIC: Fix Clang warning
warning: definition of implicit copy assignment operator for 'X' is deprecated because it has a user-declared copy constructor
2021-03-14 21:29:02 -07:00
Orgad Shaneh ac91321768 ULTIMA: Use correct enum for button constants
All the comparisons are done against Shared::MouseButton. Using values
from SpecialButtons makes no sense.
2021-03-14 21:21:33 -07:00
Paul Gilbert 1a00140348 AGS: Workaround for Shivah map crash 2021-03-14 20:19:15 -07:00
Thierry Crozat e80a56c8a3 AGS: One more attempt to fix compilation with uint32_t 2021-03-15 01:43:55 +00:00
Thierry Crozat 860ea35847 AGS: Try to fix compilation error with undefined uint32_t 2021-03-15 01:37:31 +00:00
Thierry Crozat 82c0759dc7 CGE: Remove unused Console code
The CGE engine defined two separate GUI::Debugger classes,
but only one of them is used and we can remove the other one.
2021-03-15 01:24:36 +00:00
Thierry Crozat eb47ab4a5b AGS: Add debug commands to get sprite info and dump sprite 2021-03-15 00:56:01 +00:00
Thierry Crozat aaa1bb151a IMAGE: Allow writing PNG from 8 bit surfaces 2021-03-15 00:56:01 +00:00
Thierry Crozat 8de62d8182 AGS: Add custom debug console commands
Currently two commands are supported, one to list the AGS
DebugManager group verbosity levels, and one to change
those. This allows to enable and disable debug output.
2021-03-15 00:56:01 +00:00
Paul Gilbert b73ca790ac AGS: Have AGSCreditz2 only do pollSystem calls when active 2021-03-14 17:06:00 -07:00
Paul Gilbert 1a67d84723 AGS: Do shouldQuit() check when showing quit dialog 2021-03-14 17:05:45 -07:00
Orgad Shaneh 2de08c0717 COMMON: Fix FriBidiParType failure on 3ds
/data/src/master/common/unicode-bidi.cpp: In member function 'void
Common::UnicodeBiDiText::initWithU32String(const Common::U32String&)':
/data/src/master/common/unicode-bidi.cpp:78:3: error: invalid conversion
from 'uint32*' {aka 'unsigned int*'} to 'FriBidiParType*' {aka 'long
unsigned int*'} [-fpermissive]
   78 |   &_pbase_dir,
      |   ^~~~~~~~~~~
      |   |
      |   uint32* {aka unsigned int*}
2021-03-14 22:18:15 +01:00
sluicebox 58f912aaa4 SCI: Add workaround for KQ5 Amiga class table
Fixes loading boatRegion (script 220) in rooms 44, 45, and 46
of English Amiga version
2021-03-14 12:55:45 -07:00
Eugene Sandulenko 0ccd2a71dd AUDIO: Add override keywords 2021-03-14 20:52:22 +01:00
Le Philousophe 65e4b21674 AUDIO: Fix int constant while int32 was expected
This errors out on AmigaOS4
2021-03-14 20:32:45 +01:00
Martin Gerhardy a8d3f7b524 AGS: fixed unicode chars in achievement texts 2021-03-14 20:22:54 +01:00
Martin Gerhardy 551987f659 AGS: yet another bunch of steam achievements 2021-03-14 20:22:54 +01:00
Paul Gilbert d8a6a0c527 AGS: AGS_EngineOnEvent for AgsCreditz2 2021-03-14 11:45:00 -07:00
Paul Gilbert 2e16ff3d84 AGS: Fix calling plugin onEvent methods 2021-03-14 11:44:59 -07:00
D G Turner 2547e0c16e GLK: LEVEL9: Fix Missing Parentheses GCC Compiler Warnings 2021-03-14 18:43:56 +00:00
Matthew Duggan c4baf30f9b ULTIMA8: Add Crusader: No Regret movies 2021-03-14 19:16:24 +01:00
Matthew Duggan a20b8781e1 VIDEO: Add support for Xan codec videos (Crusader, Wing Commander) 2021-03-14 19:16:24 +01:00
Matthew Duggan 017a801c96 IMAGE: Add support for Xan codec videos (Crusader, Wing Commander) 2021-03-14 19:16:24 +01:00
Matthew Duggan 1947eae043 AUDIO: Add support for Xan DPCM (Crusader: No Regret) 2021-03-14 19:16:24 +01:00
Martin Gerhardy 6c0eb048b9 AGS: added more achievement entries 2021-03-14 19:13:50 +01:00
Andrea Boscarino 17b4a5a088 SCUMM: FT: improve and fix iMUSE Digital 2021-03-14 19:10:37 +01:00
Torbjörn Andersson 7ba35924a4 MYST3: Don't let getTextData() add extra string terminators
Recently, the String class was modified to not allow appending
terminators to a string. This was done to fix a Myst III
regression, though apparently the Stark engine was also
impacted somehow?

The aim of this change is to not append terminators to the string,
to ensure that it will keep working regardless of how the String
class handles it.
2021-03-14 19:07:32 +01:00
Martin Gerhardy 104cadd380 AGS: added a few more achievement entries 2021-03-14 19:05:17 +01:00
Zvika Haramaty 9fbb3f3ff7 AGI: MIDI sound - turn sounds off if requested
Makes sound_midi.cpp to respect VM_FLAG_SOUND_ON
2021-03-14 19:04:49 +01:00
ScummVM-Translations 3939a7838b 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/
2021-03-14 17:53:17 +00:00
Martin Gerhardy 413710a77d DEVTOOLS: steam_gameid.py doesn't encode !
this is part of a few game titles and steam doesn't expect
this to be encoded. E.g. 'Ben There, Dan That!'
2021-03-14 18:53:02 +01:00
Martin Gerhardy 521c63254f DEVTOOLS: convert unicode chars to hex 2021-03-14 18:53:02 +01:00
ScummVM-Translations bcb945b9f1 I18N: Update translations templates 2021-03-14 17:52:45 +00:00
Zvika Haramaty 5a93dc2275 AGI: Add Hebrew support 2021-03-14 18:52:36 +01:00
Zvika Haramaty dc5783c910 COMMON: Add String::forEachLine and convertBiDiStringByLines
`convertBiDiStringByLines` calls the BiDi algo for each line in isolation,
and returns a joined result.
That's needed to support BiDi in AGI, and might be needed for other engines
in the future.

In order to do that, a new utility function was added:
`String::forEachLine` which gets a function as input, and its arg(s) (if it has any),
and calls the function on each line, and returns a new string which is all
concatenation of all the lines results (with '\n' added between them).
2021-03-14 18:52:36 +01:00
Orgad Shaneh e094bef73b BUILD: Support LLD linker in configure (opt-in)
Reduces link time significantly.

Times comparison:

Linux+SSD
=========
ld: 14.2s
gold: 4.5s
lld: 1.7s

Windows+HDD
===========
ld: 110s
lld: 7s
2021-03-14 18:42:55 +01:00
D G Turner b9b6fc6151 GLK: QUEST: Fix GCC Warning for Implicit Copy Operator
This is emitted when -Wdeprecated-copy is enabled. The fix implemented
is to implement the copy operator as per the expected default.

This has the advantage of working with compilers prior to C++-11.
2021-03-14 17:22:39 +00:00
D G Turner 5cb71c351e DM: Fix GCC Warning for Implicit Copy Operator
This is emitted when -Wdeprecated-copy is enabled. The fix implemented
is to implement the copy operator as per the expected default.

This has the advantage of working with compilers prior to C++-11.
2021-03-14 16:44:56 +00:00
ScummVM-Translations c526a5a203 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/
2021-03-14 16:17:38 +00:00