Commit Graph
137148 Commits
Author SHA1 Message Date
Walter van Niftrik 892ac7f835 NANCY: Refactor resource manager 2021-03-24 17:20:46 +01:00
Walter van Niftrik 1f2932b4f2 NANCY: Add signature for game 2 2021-03-24 17:20:46 +01:00
Walter van Niftrik 13024420cb NANCY: Load more data from info blocks 2021-03-24 17:20:46 +01:00
Walter van Niftrik fd1f0767f8 NANCY: Add resource decompressor 2021-03-24 17:20:46 +01:00
Strangerke fd11c41a8d NANCY: Add skeleton engine 2021-03-24 17:20:46 +01:00
Filippos Karapetis 53db2cde0c GRIM: Adjust comment 2021-03-24 14:34:32 +02:00
BLooperZ b3101c9923 GRIM: add RTL support for hebrew 2021-03-24 14:34:32 +02:00
Martin Gerhardy c737b1d3e2 TWINE: added missing files 2021-03-24 06:51:53 +01:00
Paul Gilbert c42aff6603 AGS: Added detection entry 2021-03-23 19:18:58 -07:00
Orgad Shaneh 9c8a89bd9e GLK: Fix Clang warning
../scummvm/engines/glk/tads/tads2/debug.cpp:227:30: warning: cast from 'const char *' to 'unsigned char *' drops const qualifier [-Wcast-qual]
            lstadv((uchar **)&p, &len);
                             ^

Notice that lstadv doesn't modify the pointer contents, only the pointer itself,
so it really should have been const uchar ** in the first place, but changing that
requires too many changes in calling functions, so I took the easy path.
2021-03-23 19:12:12 -07:00
Orgad Shaneh f835d1cebc TINSEL: Fix Clang warning
../scummvm/engines/tinsel/tinlib.cpp:1610:3: warning: variable 'playfield' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
                CORO_INVOKE_ARGS(PlayFilmc, (CORO_SUBCTX, hFilm, x, y, 0, false, false, myEscape != 0, myEscape, bTop, playfield));
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../scummvm\common/coroutines.h:226:17: note: expanded from macro 'CORO_INVOKE_ARGS'
                        return; case __LINE__:; \
                                     ^~~~~~~~
<scratch space>:143:1: note: expanded from here
1610
^~~~
../scummvm/engines/tinsel/tinlib.cpp:1610:106: note: uninitialized use occurs here
                CORO_INVOKE_ARGS(PlayFilmc, (CORO_SUBCTX, hFilm, x, y, 0, false, false, myEscape != 0, myEscape, bTop, playfield));
                                                                                                                       ^~~~~~~~~
../scummvm\common/coroutines.h:222:12: note: expanded from macro 'CORO_INVOKE_ARGS'
                        subCoro ARGS; \
                                ^~~~
../scummvm/engines/tinsel/tinlib.cpp:1592:20: note: initialize the variable 'playfield' to silence this warning
        OBJECT** playfield;
                          ^
                           = nullptr
2021-03-24 01:11:12 +02:00
Orgad Shaneh e870c56f21 PRIVATE: Fix potentially uninitialized variable on release build
assert is no-op.
2021-03-24 01:08:49 +02:00
Orgad Shaneh 05b72a8896 GRAPHICS: Remove deprecated register keyword 2021-03-24 01:05:17 +02:00
Martin Gerhardy e6d8edadd1 TWINE: unified with disassembly 2021-03-23 22:22:46 +01:00
Martin Gerhardy e8aa1b31fd TWINE: use unsigned in computeHolomapPolygon 2021-03-23 22:22:46 +01:00
Martin Gerhardy 6d9363d70f TWINE: fixed fla frame number parsing 2021-03-23 22:22:46 +01:00
Martin Gerhardy 5b7fa92807 TWINE: extracted holomap trajectory parsing into own class 2021-03-23 22:22:46 +01:00
Martin Gerhardy 0195b1c127 TWINE: fixed header guard names 2021-03-23 22:22:46 +01:00
Thierry Crozat 12829b25af AGS: Fix alfont_text_height to match the original
This fixes the line spacing being different in ScummVM
compared to the ags interpreter when displaying
multi-line text with a TTF font. This was for example
easily visible in the letter at the start of Blackwell
Deception.
2021-03-23 20:39:45 +00:00
Thierry Crozat 2201a2d6cf AGS: Fix positioning of text drawn with a TTF font
Allegro does a correction on the text position based
on the font height and character bitmap top. We now
do the same in ScummVM, except we use the font ascent
instead of the character bitmap top as the ScummVM
TTFFont has a correction internally for the difference
between the ascent and character bitmap top.

This change fixes cut text in some games such as in
Order of the Thorne.
2021-03-23 20:34:32 +00:00
Thierry Crozat 35a7519ab4 AGS: Synchronize font display with upstream
The code in ScummVM now matches the code from the ags repository
from all branches I checked (master, 3.4, 3.5). It seems that
their master branch had some partly broken code for a short
period that has now been reverted and we got the code at the
wrong moment.

This change fixes font outline display in some games (such as
Order of the Thorne).
2021-03-23 20:30:49 +00:00
Thierry Crozat a3f3d71c57 GRAPHICS: Expose ascent value in font class 2021-03-23 20:25:23 +00:00
D G Turner 4ae94fbd0a AGS: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-23 16:39:20 +00:00
ScummVM-Translations 640b805b2c 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-23 15:32:15 +00:00
Orgad Shaneh e074a6da1b SCUMM: Fix compiler warnings for bad formats
long and size_t are not the same on Win64.
2021-03-23 17:32:04 +02:00
Marcel Souza Lemes 20f1ea193c I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1582 of 1582 strings)
2021-03-23 13:24:48 +00:00
ScummVM-Translations a1665546cf I18N: Update translations templates 2021-03-23 06:58:43 +00:00
Zvika Haramaty 6b895c1b73 SCI: Added fan made Hebrew translation for QFG1VGA 2021-03-23 08:58:34 +02:00
Filippos Karapetis d38bb8392b AUDIO: Use type casting in a more uniform way 2021-03-23 08:57:41 +02:00
Orgad Shaneh 08729a889d AUDIO: Fix compiler warning
size_t and long are not the same on Win64.
2021-03-23 08:57:41 +02:00
D G Turner 5814df1022 GLK: TADS: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-23 06:33:51 +00:00
ScummVM-Translations 9166871942 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-23 05:36:57 +00:00
D G Turner 33822f7c66 KYRA: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-23 05:36:23 +00:00
VAN-Gluon ed6c3c1763 I18N: Update translation (Japanese)
Currently translated at 88.9% (1407 of 1582 strings)
2021-03-23 04:24:50 +00:00
Purple T 1c310dabab I18N: Update translation (French)
Currently translated at 100.0% (1582 of 1582 strings)
2021-03-23 04:24:49 +00:00
Timo Mikkolainen fc012dd6ec I18N: Update translation (Finnish)
Currently translated at 100.0% (1582 of 1582 strings)
2021-03-23 04:24:48 +00:00
IlDucci f839896f78 I18N: Update translation (Spanish)
Currently translated at 100.0% (1582 of 1582 strings)
2021-03-23 04:24:48 +00:00
Paul Gilbert f0bba69545 ULTIMA4: Fix infinite combat loop at Shrine of Humility 2021-03-22 20:25:41 -07:00
D G Turner 143cebf508 HDB: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-23 03:07:56 +00:00
Thierry Crozat 9b3dd840bb STARK: Fix unknown key error in ShortestPath
The error happened when the goal is not reachable.
This fixes bugs #12127 and #12339.
2021-03-22 22:24:10 +00:00
Walter Agazzi 4b369cb31f I18N: Update translation (Italian)
Currently translated at 100.0% (1582 of 1582 strings)
2021-03-22 20:45:30 +00:00
D G Turner d87419f0a4 QUEEN: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 18:50:27 +00:00
D G Turner 6769b2b93b STARTREK: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 13:51:16 +00:00
George Kormendi 9e6467ac65 I18N: Update translation (Hungarian)
Currently translated at 100.0% (1582 of 1582 strings)
2021-03-22 08:50:10 +00:00
Lothar Serra Mari 1df43ce2e5 I18N: Update translation (German)
Currently translated at 99.8% (1580 of 1582 strings)
2021-03-22 08:49:50 +00:00
sluicebox 592ab77dc7 SCI: Fix PQ3 road signs not updating
Fixes bug #10254
2021-03-21 22:53:08 -07:00
D G Turner ebb3190310 SWORD2: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 04:15:30 +00:00
D G Turner cf3d419119 PRINCE: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 03:25:22 +00:00
D G Turner 61b31bbcc6 TOUCHE: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 01:43:15 +00:00
sluicebox 294d733d9f SCI: Fix Timer rollover bugs in KQ5, MOTHERGOOSE256 2021-03-21 17:32:17 -07:00