Commit Graph

142873 Commits

Author SHA1 Message Date
antoniou79
c1197c2aad HOPKINS: Fix cursor not scaling in OpenGL 2023-06-24 13:16:59 +03:00
Marcel Souza Lemes
865a8ed56c I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-24 02:40:37 +00:00
Timo Mikkolainen
e4c26ca5c2 I18N: Update translation (Finnish)
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-24 02:40:36 +00:00
Donovan Watteau
ecde1a49b6 FREESCAPE: Fix typos in detection "extra" field 2023-06-23 19:29:46 +02:00
Eugene Sandulenko
af5714fc3c
AGI: Remove non-ASCII symbol from the detection table 2023-06-23 19:15:29 +02:00
Lothar Serra Mari
981fa375c2 I18N: Update translation (German)
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-23 16:54:08 +00:00
Misty De Meo
ca9ef28c24
DIRECTOR: add second file to willywabbit 2023-06-23 09:34:08 -07:00
Walter Agazzi
bb00870403 I18N: Update translation (Italian)
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-23 12:36:00 +00:00
Eugene Sandulenko
96b0274fcc
GUI: Scale fonts for classic theme 2023-06-23 12:08:56 +02:00
Eugene Sandulenko
ae89982ded
GRAPHICS: Handle null advances and boxes in BdfFonts::scaleFont 2023-06-23 12:03:16 +02:00
Lars Sundström
40c376fd3a GUI: Change ThemeLayout::setPadding input types to int16
The theme layout padding values are parsed and stored as 16 bit
signed integers. However ThemeLayout::setPadding treated the
values as 8 bit signed integeres.

The padding values parsed from the STX file suited for the screen
resolution are multiplied with the device content scale factor.
The scale factor determines how content is mapped from the logical
coordinate space (measured in points) to the device coordinate
space (measured in pixels).

If the scale factor and the padding value results in a value
greater than 255 it will wrap since the 8 bit type can't hold
bigger values than that.

Running the iOS backend in debug configuration on an iPhone 12
mini, having the content scale factor value 3, and drawing the
launcher in vertical mode where the bottom padding value is 92,
the result became 3 * 92 = 276 which would wrap to 20.
That resulted in incorrect layout where the GameList was too
high and the buttons in the bottom would not fit on the screen.

Change the input type to int16 in ThemeLayout::setPadding to
conform with the padding type used everywhere else.
2023-06-23 12:32:51 +03:00
IlDucci
024da2d52f I18N: Update translation (Spanish)
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-23 09:00:25 +00:00
Eugene Sandulenko
9c048c32f2
DRILLER: Remove newline from detection "extra" field 2023-06-23 10:21:39 +02:00
Purple T
651d1a457f I18N: Update translation (French)
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-23 07:21:41 +00:00
VAN-Gluon
11eaa423f2 I18N: Update translation (Japanese)
Currently translated at 100.0% (1943 of 1943 strings)
2023-06-23 06:40:37 +00:00
Benjamin Funke
921ed73c56 GOB: Add German Translation of Croustibat
This adds detection for the german fan translation of Croustibat, available at https://github.com/BJNFNE/coktel-vision-translations
--> Releases --> Croustibat (German Translation).
2023-06-23 09:18:28 +03:00
Misty De Meo
610fe3ac4b
DIRECTOR: Resource: do not delete stream on fail
The stream becomes owned by the Archive as soon as openStream()
is called, so freeing the Archive object also frees the stream.
Trying to delete it a second time will blow up.
2023-06-22 22:07:38 -07:00
Misty De Meo
1d6b4d8c91
DIRECTOR: add Willy Wabbit
There's also an Asian release with a different title.
2023-06-22 22:07:37 -07:00
Misty De Meo
45036ad1c3
DIRECTOR: put chunk log behind debug flag 2023-06-22 20:50:24 -07:00
ScummVM-Translations
acd638cb43 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/
2023-06-22 23:39:07 +00:00
Giovanni Cascione
dc8161ef4e LIBRETRO: update libretro-common 2023-06-23 01:30:47 +02:00
Giovanni Cascione
84587e9762 LIBRETRO: reduce timer interval 2023-06-23 01:30:13 +02:00
Giovanni Cascione
687f605815 LIBRETRO: fix delay thread switch function 2023-06-23 01:30:02 +02:00
Giovanni Cascione
c8fff523d6 LIBRETRO: rework _nextSwitchTime slip 2023-06-23 01:29:41 +02:00
Giovanni Cascione
c8e9853463 LIBRETRO: fix timing.fps 2023-06-23 01:29:26 +02:00
Walter Agazzi
febae0b3f0 I18N: Update translation (Italian)
Currently translated at 100.0% (1942 of 1942 strings)
2023-06-22 20:29:46 +00:00
ScummVM-Translations
041cb288c5 I18N: Update translations templates 2023-06-22 19:52:05 +00:00
ScummVM-Translations
060a0d9033 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/
2023-06-22 19:52:03 +00:00
Coen Rampen
2e54d6ca9f AGOS: Add fallback for Simon 1 AdLib instruments
GOG has not included the AdLib instruments file with their release of Simon the
Sorcerer 1 DOS version. The game would not start in ScummVM when this file was
missing and AdLib was selected. Added a fallback to the generic AdLib driver
with built-in instruments.
2023-06-22 21:51:45 +02:00
ScummVM-Translations
f5c59cdea1 I18N: Update translations templates 2023-06-22 09:26:41 +00:00
ScummVM-Translations
7c7c7dc03a 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/
2023-06-22 09:26:40 +00:00
BLooperZ
435c41a906 SCI: Detect hebrew fan translation of PHANT1 2023-06-22 12:26:26 +03:00
ScummVM-Translations
b339ff8de6 I18N: Update translations templates 2023-06-21 20:05:46 +00:00
Coen Rampen
cb4c1bdd46 AGOS: Add fallback for Simon 2 AdLib instruments
GOG has not included the AdLib instruments file with their release of Simon the
Sorcerer 2 DOS version. The game would not start in ScummVM when this file was
missing and AdLib was selected. Added a fallback to the generic AdLib driver
with built-in instruments.
Also made the Windows version start with AdLib if an OPL2-only emulator is used.
2023-06-21 22:03:55 +02:00
Harishankar Kumar
6552dae1a5 GRAPHICS: Fixed irregular fonts height in macfonts
leading of a font is added to the height of the font when returning font
height, additionally the definition of leading says:
`Alternatively called line spacing, leading is the space between lines`

This fixes alignment of texts in `warlock-100` while also fixing the
line heights in `theapartment`.
2023-06-21 20:18:39 +03:00
Harishankar Kumar
283b5c4b20 GRAPHICS: MACGUI: Fix kMacRoman fonts issues with special characters
This commit removes Mac Roman from plainByteMode(), this partially
reverts commit `9d4ac18be542eed5fdbb52519fd95ea7ac47a9e4` from
PR #3823, this change breaks Hebrew rendering in Pink.

Fixes rendering of texts in `theapartment` using MacRoman fonts.
2023-06-21 20:18:39 +03:00
Harishankar Kumar
dd784e7367 DIRECTOR: Fix formatting 2023-06-21 20:18:39 +03:00
Harishankar Kumar
dbfb410054 DIRECTOR: Support fonts loading from resource-fork
This drops the _castArchive->hasResource() check that was placed
before loading 'FOND' resource type.

Fixes texts fonts for 'theapartment-4' where 'shared.dir' has
'DecoText' font in the resource-fork.
2023-06-21 20:18:39 +03:00
Harishankar Kumar
b7e09d8259 GRAPHICS: MACGUI: Fix alignment issues for multiline text
This patch fixes the alignment issue for multiline text in text castMember
it increases the line height of each line by one, this added change over
multiple lines result in fixed alignment. This patch also removes the height
reduction due to empty line (which cumulatively caused the alignment issue).

`DATA/SUPPORT/INTRODUCTION@111` of 'warlock-100' has this alignment issue
where the text "The Blaster" was above the button it was supposed to be.
2023-06-21 20:18:39 +03:00
Donovan Watteau
a46253647a COMMON: BUILD: Try detecting UBSan when not using configure
Newer versions of Clang can tell us when UBSan has been enabled, which
is useful to define SCUMM_NEED_ALIGNMENT when -fsanitize=alignment is
in use (https://reviews.llvm.org/D52386).

Can be useful to avoid some false positives about alignment when doing
a build with UBSan but without using the "configure" script which
already tries to detect this setting.

See earlier commit 8a73f5d496.
2023-06-21 12:56:58 +02:00
Walter Agazzi
bf8655b35e AGS: When loading images convert to supported pixelformats
This ensures that the surfaces mantain a format supported by Allegro,
and is required after commit b458ced:
"IMAGE: Speed up 16/24/32bpp BMP decoding"
to support 24bpp
2023-06-21 10:10:42 +03:00
PushmePullyu
34edc7e096 HDB: Fix double-free on voice playback
Sound::playVoice():
Do not delete source stream on failed MP3/Vorbis decoding.
This is already handled by the created Audio::MP3Stream/VorbisStream.
2023-06-21 10:01:47 +03:00
KOLANICH
314de12b05 GRIM: Rename [gs]et_renderer console commands into renderer_[gs]et. 2023-06-21 09:44:05 +03:00
KOLANICH
1fb6489072 GRIM: Add runtime introspection of renderer type used via get_renderer console command. 2023-06-21 09:44:05 +03:00
PushmePullyu
e7fa161386 AMIGAOS: Cleanup and free signals via atexit()
Fixes #6956 "ScummVM returned with unfreed signals (AmigaOS4)"
2023-06-21 08:27:04 +03:00
elasota
eda8c2698f COMMON: Fix incorrect StuffIt directory paths 2023-06-21 08:26:28 +03:00
Harishankar Kumar
e3eb3c8bf6 DIRECTOR: Implement EventQ xobject stubs
Implemented eventq xobject using stubs.

`undome` of 'mediaband-win' uses this xobj for events buffering.
2023-06-21 00:47:00 +02:00
Marcel Souza Lemes
225222e266 I18N: Update translation (Portuguese (Brazil))
Currently translated at 100.0% (1941 of 1941 strings)
2023-06-20 20:40:35 +00:00
grisenti
eb7793d749 HPL1: Remove Hpl1::Std::pair 2023-06-20 16:21:52 +02:00
grisenti
511a7bc07c HPL1: Remove Hpl1::Std::Tree 2023-06-20 16:13:40 +02:00