Commit Graph

89201 Commits

Author SHA1 Message Date
SupSuper
12198cee35 CREATE_PROJECT: Fix defines for x64 MSVC project
Rewriting the define list from scratch to disable nasm lost
a lot of important defines set up in the setup phase.
Instead, let's just remove the nasm define and preserve the rest.
2019-07-02 01:02:27 +03:00
Cameron Cawley
05511e17ec TESTBED: Correctly reset the number of skipped tests 2019-07-01 22:49:42 +01:00
Thanasis Antoniou
bfcd59571e BLADERUNNER: Rat AI bug fixes
Most prominent bugs fixed is behavior in KP02 and not attacking when near McCoy
2019-07-01 21:03:03 +03:00
Thanasis Antoniou
bc056feddd DEVTOOLS: BLADERUNNER: Improve kerning for latin glyphs 2019-07-01 21:03:03 +03:00
Cameron Cawley
2b896e1f4f
BLADERUNNER: Fix warning 2019-07-01 16:16:54 +01:00
Thierry Crozat
d841356b0d I18N: Update translations templates 2019-07-01 09:16:07 +02:00
Paolo Bossi
10f59dcd74 I18N: Update translation (Italian)
Currently translated at 98.7% (1073 of 1087 strings)
2019-07-01 09:15:47 +02:00
George Kormendi
aa7a8010af I18N: Update translation (Hungarian)
Currently translated at 100.0% (1087 of 1087 strings)
2019-07-01 09:15:47 +02:00
jepael
bdeb72c3af I18N: Update translation (Finnish)
Currently translated at 100.0% (1087 of 1087 strings)
2019-07-01 09:15:47 +02:00
scootergrisen
8ccb8b0de3 I18N: Update translation (Danish)
Currently translated at 100.0% (1087 of 1087 strings)
2019-07-01 09:15:47 +02:00
SupSuper
8aa74967e9 CREATE_PROJECT: Add missing source files to CodeBlocks project 2019-07-01 01:59:00 +01:00
SupSuper
74f9e0dfc0 CREATE_PROJECT: Remove obsolete "browser.cpp" hack
browser.cpp no longer depends on the target platform since pull request #1414
2019-07-01 01:57:26 +01:00
Thanasis Antoniou
cfee64e630 DEVTOOLS: BLADERUNNER: Full cp-1252 support for subtitles
And additional bug fixes for font creation and detection of error cases
2019-06-30 22:58:57 +03:00
Le Philousophe
3a7219fa57 JANITORIAL: Avoid C4121 warnings in MSVC by reordering fields
C4121 is about 'symbol': alignment of a member was sensitive to packing
2019-06-30 21:43:58 +03:00
Cameron Cawley
f6cf78430b RISCOS: Update icons 2019-06-30 16:02:42 +01:00
Le Philousophe
38bead0c37 JANITORIAL/CRYOMNI3D: Fix warnings in MSVC
Most of them were due to setting -1 to unsigned values
Else it was bogus unintialized values
2019-06-30 16:46:32 +02:00
Cameron Cawley
cabcf240b4 NEWS: Add RISC OS-related changes for v2.1.0 2019-06-30 15:13:51 +01:00
lolbot-iichan
747ace78fc COMMON & WINTERMUTE: Use non-1252 for 125X games (PR 1698)
* WINTERMUTE: Add detection for "The Driller Incident"

"The Driller Incident" is a small freeware game for Wintermute,
avaliable in English and Russian: http://questzone.ru/enzi/files/1645

* WINTERMUTE: Add detection table for "One Helluva Day" demo

"One Helluva Day" is a point-and-click adventure demo in English / Czech
/ Russian.
Free download:
https://store.steampowered.com/app/603680/One_helluva_day/

* WINTERMUTE: Support CHARSET property for TT fonts

"// we don't need this anymore" was a mistake =)

Surely, most Wintermute games are either designed for 1252 language
(DE_DEU, EN_ANY, ES_ESP, FR_FRA, IT_ITA, PT_BRA), or don't use TrueType
fonts (5ma, deadcity, grotter1, grotter2, thekite, tib), or use
CHARSET=1 with UTF strings (dirtysplit, reversion1, reversion2, twc),
which meen this conversion is not needed for those games.

However, there are some games that explicitly states CHARSET=10 (driller
(RU_RUS), oknytt (RU_RUS), onehelluvaday (UNK_LANG when playing as
Russian)) and there are some games with CHARSET=1 with non-1252 in mind
(bookofgron (RU_RUS excepts 1251), carolreed4 (RU_RUS excepts 1251),
kulivocko (CZ_CZE excepts 1250)).

This fixes text in some games: bookofgron, carolreed4, driller, kulivocko,
oknytt, onehelluvaday.

* WINTERMUTE: Break savegame compatibility

sizeof(BaseFontTT) was changed, so let's break savegame compatibility

* COMMON: Add conversion tables for win1253 and win1257

* COMMON: Add string conversion from U32String back to Common::String

convertUtf32ToUtf8 code is based on Wintermute::ConvertUTF32toUTF8
convertFromU32String use convertUtf32ToUtf8 for UTF8 or lookup through
conversion table for single-byte encodings

* WINTERMUTE: Use Common::convert functions for non-UTF charsets

* WINTERMUTE: Fix whitespaces at detection tables

* WINTERMUTE: Add TODO comments
2019-06-30 16:45:46 +03:00
Thierry Crozat
1276a4d6d7 NEWS: Update ports-related changes for 2.1.0 2019-06-30 14:25:32 +01:00
Thanasis Antoniou
b64e66a6b5 BLADERUNNER: Fix Steele re-arresting Izo at RC03 2019-06-30 15:27:51 +03:00
Thanasis Antoniou
9fa862c0f4 BLADERUNNER: Additional potential Bullet Bob's gun fix 2019-06-30 15:27:50 +03:00
Thanasis Antoniou
72329773d4 BLADERUNNER: Possible gun blinking out fix 2019-06-30 15:27:50 +03:00
Filippos Karapetis
923663c226 SCI32: Promote QFG4 to testing 2019-06-30 15:26:33 +03:00
Filippos Karapetis
5e9673d83c CRYOMNI3D: Silence false positive warnings about uninitialized variables 2019-06-30 15:25:49 +03:00
Filippos Karapetis
2fd416b0ac SCI32: Extend scaler sanity checks to all SCI32 versions
Fixes QFG4 bug #10765. It's preferable to have sanity checks in the
code, rather than crashing due to invalid draw rectangles from buggy
game scripts. It's no use checking which specific interpreter versions
had sanity checks and trust the game scripts of the other interpreters.
Thus, it's easier and safer to always enable these sanity checks.
2019-06-30 14:46:37 +03:00
Thierry Crozat
bf92167007 IOS7: Add a tab key to the keyboard accessory view 2019-06-30 12:36:43 +01:00
Thierry Crozat
25ff69c250 IOS7: Use scrollview for keyboard accessory view
This allows to have more buttons than what can be displayed on the
screen, and now to have all the same buttons on iPhone and on iPad.
2019-06-30 12:36:43 +01:00
Thierry Crozat
ce9e776629 IOS7: Map three finger swipes to arrow keys
Also use the pinch gesture to show/hide the keyboard. Previously
it was using the three fingers swipe up and dowm, which is now
mapped to arrow keys.
2019-06-30 12:36:43 +01:00
Thierry Crozat
5232cf376b IOS7: Remove key mapping for function and return keys
Those keys are not present on the virtual keyboard accessory view.
This should fix bug #10314: LSL7: Unable to open Xqwsts's locker
on iOS.
2019-06-30 12:36:43 +01:00
Thierry Crozat
3ba9245138 IOS7: Add input accessory view to virtual keyboard
This adds buttons for some keys that are not present on the iOS
keyboard, such as the function and arrow keys, as well as a GMM
key.
2019-06-30 12:36:43 +01:00
lolbot-iichan
d6a1248a16 WINTERMUTE: Increase window title height by 1 for "5 Lethal Demons" game
For some reason getFontHeight() is off-by-one comparing to height set in
TITLE_RECT, which made text being bigger then title rect and drawing was
skipped.

This fixes https://bugs.scummvm.org/ticket/6501
2019-06-30 12:20:36 +03:00
sluicebox
cf274fa47e SCI: Fix SQ4 English Amiga dress logic, bug #11004 2019-06-30 12:13:16 +03:00
jepael
ea3f8f2e33 BLADERUNNER: JANITORIAL: Fix a compiler warning with a const cast. (#1719)
Tested and it works. Thanks for the fix!
2019-06-29 09:57:55 +02:00
Thanasis Antoniou
a81e3add2f BLADERUNNER: JANITORIAL: Code formatting fixes 2019-06-28 15:30:44 +03:00
Thanasis Antoniou
bd75898894 BLADERUNNER: Pause NPC walkers for Gaff scene in CT12 2019-06-28 15:30:43 +03:00
Thanasis Antoniou
54ad2c9aaf BLADERUNNER: Avoid freeze in Gordo scene at CT05
If McCoy re-climbs the stairs immediately after retiring Zuben and having picked up the photo
2019-06-28 15:30:43 +03:00
sluicebox
543b9cb114 SCI32: Fix QFG4 character selection, bug #11002 2019-06-28 08:33:03 +03:00
sluicebox
148a9b7058 SCI32: Fix kShakeScreen32 parameter count check 2019-06-28 08:30:19 +03:00
Paul Gilbert
13e7926849 GLK: ALAN2: Fix loading memory for Big Endian 2019-06-27 18:55:25 -07:00
Bastien Bouclet
0a8049e30c SDL: Fix gamepad mouse cursor wrapping on hi-res screens
The cursor position was overflowing a signed 16-bits integer once
multiplied with MULTIPLIER when using a resolution such as 2560x1440.

It would be nice changing this code to make more sense, sadly it is
thightly coupled with platform specific subclasses.

Fixes #10996.
2019-06-27 20:12:52 +02:00
lolbot-iichan
fa4d310fb4 WINTERMUTE: Do not optimize out alpha blits on rotation
This fixes defect #10684: 1-pixel width sprite becomes a big rectangle
if rotation is applied.

Case was originally reproduced with FoxTail game for WME, then reduced
to testcase
https://github.com/tobiatesan/wme_testsuite/tree/master/time_test/packages
2019-06-27 10:59:35 +03:00
sluicebox
1f0f4c9642 SCI32: Make QFG4 tentacle patch GOG compatible 2019-06-27 10:56:23 +03:00
Thanasis Antoniou
fb71c73ff0 BLADERUNNER: Fix obstacle map in CT04
Prevent transient from walking through scenery alongside the right wall
2019-06-26 20:09:10 +03:00
Thanasis Antoniou
bb9bd91436 BLADERUNNER: Pause walkers for special loop in RC03
Otherwise they may glitch with the background at the Hawker's Circle entrance.
2019-06-26 19:49:47 +03:00
Thanasis Antoniou
378f186327 BLADERUNNER: McCoy should holster his gun in MA07 when Gaff is there 2019-06-26 19:38:00 +03:00
Thanasis Antoniou
2d4dffdac0 BLADERUNNER: Stop McCoy from buying absinthe a second time
After he gives it to transient, he should not be able to buy it again

That's because the Flask option is added to be selected only once, so McCoy won't be able to give it again to the homeless guy to get more info, and also the second time round, he gets the exact same dialogue from the bartender at the Hawker's Circle, which does not sound right.
2019-06-26 18:26:40 +03:00
Thanasis Antoniou
8f74f0f47e BLADERUNNER: Correct fix for maze target timings
Still only applies in Hard and Normal mode difficulty
2019-06-26 16:17:48 +03:00
Thanasis Antoniou
e60aac53b1 BLADERUNNER: Fix waiting time for targets in Maze
Applies only for normal and hard mode. Easy mode keeps the original more relaxed behavior.
2019-06-26 15:21:55 +03:00
Thanasis Antoniou
2e1a84694b BLADERUNNER: Fix for police in UG07 post Guzza scene
Remove option for them to be there altogether to avoid overlap with Clovis
2019-06-26 13:46:16 +03:00
Thanasis Antoniou
d1a2a2ff91 BLADERUNNER: Fix UG04 train disable control and Police AI 2019-06-26 13:25:15 +03:00