Donovan Watteau
6815ace672
MOHAWK: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
0a873f738c
LASTEXPRESS: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
4d2fe18ad8
GLK: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
baea7a3adc
DRAGONS: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
97137c29f5
ENGINES: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
de88d24ef3
GRAPHICS: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
8140fdfbcc
COMMON: Fix MSVC C4309 enum sign warning
2022-11-29 01:37:55 +01:00
Donovan Watteau
69fa387197
GUI: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
a86b22a40d
ENGINES: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
5a62dc4c37
TESTBED: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
47ee22ade1
SWORD1: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
0c30c442b9
SKY: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
4a586e4909
SHERLOCK: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
80b73d2cd8
SCUMM: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
181b706e38
KYRA: Use MSVC_PRINTF in printMessage()
...
Can't do it for the other GCC_PRINTF cases because of the order they
use.
2022-11-29 01:37:16 +01:00
Donovan Watteau
4a90e10942
ICB: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
5d23261964
GLK: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Donovan Watteau
95c755e8a3
AGOS: Use MSVC_PRINTF when GCC_PRINTF is used
2022-11-29 01:37:16 +01:00
Cameron Cawley
870603d226
QUEEN: Reduce the amount of code that is included in the detection plugin
2022-11-29 01:14:48 +01:00
Vladimir Serbinenko
357249fb5a
COMMON: Split slow and fast CRC implementation
...
They have almost nothing in common. And we probably want to kill slow
implementation anyway now that we have tests
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
05f1a0df51
COMMON: Remove the need for most reflecting when initing reflected table
...
Instead reflect the polynomial and change the shifts. Also removes the
need for explicit init.
This makes our crc more similar to its standard implementation
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
35bac4e58c
COMMON: Add tests for CRC
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
f06348708c
COMMON: Optimize crcFast and related functions.
...
Currently we reflect every byte when working on reflected CRC's. Instead
follow the standard approach of reversing the table and couple of shifts
which is faster
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
8f6beba38f
COMMON: Make most CRC functions const as they don't modify the object.
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
ec9bb100e1
COMMON: Switch unzip from zlib to gzio
...
Tested by loading scummremastered.zip
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
c60281b3d0
COMMON: Fix crc calculation with reflected messages
2022-11-29 01:05:31 +01:00
Vladimir Serbinenko
b63160a06e
COMMON: Remove unused functions in unzip
2022-11-29 01:05:31 +01:00
Roland van Laar
fdf6bbd42b
DIRECTOR: LINGO: lighten debug output for buildbot
...
The Director buildbot runs with the debugflag `fewframesonly`.
Each stdout/stderr line is send from a buildbot worker
to the master, parsed to check for errors and then stored
in a database. The less lines, the faster runs become.
2022-11-29 01:01:47 +01:00
Eugene Sandulenko
36e859da2a
NEWS: Added more missing full stops
2022-11-29 00:50:06 +01:00
Eugene Sandulenko
b385f78d37
NEWS: Mention cursor scaling improvements
2022-11-29 00:49:19 +01:00
elasota
3496e82abc
BACKENDS: Add 1-pixel border to cursors to ensure linear interpolation of edge pixels doesn't get cut off half-way.
2022-11-29 00:48:00 +01:00
Eugene Sandulenko
6913f26d68
NEWS: Fix capitalization, adding a full stop
2022-11-29 00:45:49 +01:00
Vladimir Serbinenko
b00b6fc760
NEWS: Add an entry for Chinese BASS support
2022-11-29 00:45:18 +01:00
Vladimir Serbinenko
676a765068
SKY: Add Chinese renderer
2022-11-29 00:45:18 +01:00
Vladimir Serbinenko
16a7aec946
SKY: Support Chinese word-wrapping
2022-11-29 00:45:18 +01:00
Vladimir Serbinenko
01d6629b9f
SKY: Read Chinese strings from EXE
2022-11-29 00:45:18 +01:00
Donovan Watteau
21cd732b60
TINSEL: Fix UB for enum TINSEL_EVENT in DW2. PVS-Studio V1016
...
In DW2, some large TINSEL_EVENT values are read, and they're bigger than
the last TINSEL_EVENT value, but we cast them to `enum TINSEL_EVENT`
values in tinlib.cpp, which is apparently "unspecified behavior up to
C++17 and undefined behavior starting from C++17".
tinlib.cpp:1925:39: runtime error: load of value 9041, which is not
a valid value for type 'Tinsel::TINSEL_EVENT'
tinlib.cpp:1935:31: runtime error: load of value 77, which is not
a valid value for type 'Tinsel::TINSEL_EVENT'
Found with UBSan but the really clear help comes from PVS-Studio
documentation.
2022-11-29 00:41:03 +01:00
AndywinXp
c690a3e985
NEWS: SCUMM: Remove redundancy
2022-11-29 00:29:46 +01:00
elasota
78d26927a8
COMMON: Add functions to get Mac Finder metadata such as type/creator codes.
2022-11-29 00:25:50 +01:00
ScummVM-Translations
fd10cf8122
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-11-28 23:22:43 +00:00
Eugene Sandulenko
39b5f230cc
NEWS: Fix news item for Sherlock
2022-11-29 00:22:22 +01:00
ScummVM-Translations
265756fcf6
I18N: Update translations templates
2022-11-28 23:21:43 +00:00
AndywinXp
759727d27f
SCUMM: GUI: Temporarily exclude MI1 SEGA CD JAP from the supported games
...
I have to think of a clever way of handling all those text positioning glitches of this version.
Also, some of the strings are either too long or missing to be displayed as banners.
I might have to make a replica of the original save menu for this version, but without the
passcode system. Since it's going to take a little longer, I'm temporarily disabling GUI
support for this version.
2022-11-29 00:21:14 +01:00
Eugene Sandulenko
ae779b2a29
JANITORIAL: Code formatting
2022-11-29 00:20:16 +01:00
ScummVM-Translations
54baccde0a
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-11-28 23:18:53 +00:00
Vladimir Serbinenko
8bd72c374c
NEWS: Add mention of Chinese Rose Tattoo
2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
23f88cfc28
SHERLOCK: Remove unstable flag from Chinese Rose Tattoo
2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
00afc84492
SHERLOCK: Import all fixed strings for Chinese version of Tattoo
2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
5fae569597
SHERLOCK: Handle word wrapping for EUC-CN
2022-11-29 00:18:39 +01:00
Vladimir Serbinenko
fa25e7267d
SHERLOCK: Support Chinese rendering in the Rose Tatoo
...
Serrated scalpel is not covered as it uses both a different encoding
(Big5 instead of EUC-CN) and different font format (it uses some obfuscation).
2022-11-29 00:18:39 +01:00