Commit graph

88087 commits

Author SHA1 Message Date
Lothar Serra Mari
1aba295dcc ALL: Bump copyright year to 2019 2019-03-03 14:18:35 +01:00
Cameron Cawley
07834616b3 GRAPHICS: Fix dstFormat check in Surface::convertTo 2019-03-03 13:44:53 +01:00
Cameron Cawley
342733cee6 SDL: Add a function to convert from SDL_PixelFormat to Graphics::PixelFormat 2019-03-03 13:44:10 +01:00
Paul Gilbert
4c708dc97f GLK: FROTZ: Implement os_beep method
I instantiate a PCSpeaker instance in the main engine just for beeps,
because I don't know any simpler way. But hey, it works.
2019-03-02 20:43:19 -08:00
Paul Gilbert
8393faf036 GLK: Switch focus window immediately after requesting lines or chars 2019-03-02 19:35:36 -08:00
Paul Gilbert
3b8d006c8b GLK: Add support for input cursors in text grid windows
This is initially primarily for Bureaucracy.. the starting form
is drawn in the text grid window, and visible cursor is needed
so you can tell which line you're filling in
2019-03-02 18:11:51 -08:00
Paul Gilbert
6be0dbe016 GLK: Move input caret drawing into base FontInfo class 2019-03-02 18:11:51 -08:00
Cameron Cawley
668820e018 RISCOS: Don't expand system variables passed via the command line 2019-03-03 00:20:12 +00:00
Torbjörn Andersson
b923410025 GLK: Don't treat Caps, Num and Scroll Lock as standard keypresses
Technically, they're lock keys rather than modifier keys, but we
may as well treat them as the same thing here.

My keyboard doesn't have an F-lock key, and I can't find any key
code for it, so I don't know if that one has to be excluded too.
2019-03-02 15:45:55 +01:00
Vhati
0def174fa0 SCI32: Fix QFG4 peering at absent bats
Fixes castle doors when all bats have been killed, bug #10789
2019-03-02 10:08:59 +02:00
sluicebox
e67b8501bf WIN32: Fix embedding disabled engine files
Fix Windows builds (msvc and mingw) including data files from disabled
engines as embedded resources in executable. Bug #10878
2019-03-02 10:01:37 +02:00
Cameron Cawley
205df5dbdf IMAGE: Fix taking screenshots on big endian systems 2019-03-02 07:29:22 +01:00
Cameron Cawley
8ae17b481a IMAGE: Move bitmap writing code out of OpenGLGraphicsManager 2019-03-02 07:29:22 +01:00
Cameron Cawley
fd1162cb71 GRAPHICS: Support converting to 3Bpp surfaces 2019-03-02 07:29:22 +01:00
Cameron Cawley
5d912b6923 COMMON: Add WRITE_UINT24 2019-03-02 07:29:22 +01:00
Paul Gilbert
f14703e709 GLK: Don't ignore Alt key combinations
I'm told that on some foreign keyboards, combinations of Alt & Fn
keys are used to produce standard characters. So I can't just
ignore Alt combinations because of this
2019-03-01 19:38:21 -08:00
Paul Gilbert
e91e911b61 GLK: Don't treat modifier keys as standard keypresses 2019-03-01 19:38:21 -08:00
sluicebox
6603969c7b SCI: Add QFG1VGA Mac workaround for Yorick 2019-03-01 14:04:27 -08:00
Torbjörn Andersson
22f12e5ffb GLK: FROTZ: Fix confusing indentation 2019-03-01 17:19:30 +01:00
sluicebox
4e1963d84a SCI: Fix QFG1VGA Yorick door lockup, bug #6410 2019-03-01 17:18:06 +02:00
Thanasis Antoniou
4642d1697d BLADERUNNER: Sadik dead end fix (BB09 kill)
Also fixed an flag constistency for kFlagZubenBountyPaid

It is no longer possible to kill Sadik at BB09, but shooting him will lower his health (from initial to a fixed HP), and if McCoy also shoots him at UG18 his health will be further lowered (again to a fixed HP).
2019-03-01 11:04:07 +02:00
sluicebox
dfb13759c2 SCI: Fix ECO1 empty apartment messages, bug #10903 2019-03-01 10:42:28 +02:00
Cameron Cawley
2955cd29d3 README: Convert README.md to use Unix-style line endings 2019-02-28 15:37:39 -05:00
Torbjörn Andersson
d86bb46a85 GLK: Use delete[] instead of free() to free _lineTerminators 2019-02-28 19:58:54 +01:00
Thanasis Antoniou
7ecf255598 BLADERUNNER: Improvement on overrideSceneObjectInfo
No longer need to have sceneId as an argument.

Restored original signature of Set::addObjectsToScene()
2019-02-28 15:39:08 +02:00
Thanasis Antoniou
571ddf46cd BLADERUNNER: A better fix for Sebastian's doll
Use just the existing box 31. Implement a way to override object placement.

Remove the item 77 (Holden's badge) completely.
2019-02-28 15:26:35 +02:00
Paul Gilbert
833e1d11c0 GLK: FROTZ: Move window clearing to a Window method 2019-02-27 21:53:41 -08:00
Paul Gilbert
27f4eb8f1b GLK: FROTZ: Move current window into _wp 2019-02-27 21:34:46 -08:00
Paul Gilbert
acb39303f1 GLK: FROTZ: Improved palette reading 2019-02-27 21:34:46 -08:00
Thanasis Antoniou
1c75912ecf BLADERUNNER: Debugger command overlay
List and or play overlay loops that have been loaded for the scene
2019-02-28 02:04:19 +02:00
sluicebox
b924da753a SCI: Fix ECO1 Spanish pump test code, bug #10900 2019-02-28 01:21:27 +02:00
Paul Gilbert
7ee0f4d593 GLK: FROTZ: Fix getting cursor position for non V6 games 2019-02-26 19:19:46 -08:00
Torbjörn Andersson
c9a9461d3c SHERLOCK: 3DO: Draw copyright string in intro in correct position
After discussion with dreammaster. Apparently the 3DO version uses
a resolution of 640x400 pixels internally, not 320x200. Doubling
the X and Y coordinates from what they were seems to match what I
have seen in YouTube videos of the original game.
2019-02-26 07:07:07 +01:00
Paul Gilbert
50fe6f508d SHERLOCK: 3DO: Fix display of map screen 2019-02-25 21:44:54 -08:00
Paul Gilbert
eae00fe6f9 SHERLOCK: 3DO: Fix transparency for characters, and speech dialogs 2019-02-25 21:27:30 -08:00
Thanasis Antoniou
09d3460780 BLADERUNNER: Fix for Sebastian's doll in BB06
Targeting clicking bounding box fixed. Animation weirdness minimized.

Also restored explosion animation.
2019-02-26 02:19:36 +02:00
Eugene Sandulenko
390b243ef2 BLADERUNNER: Avoid using global objects in subtitle code 2019-02-25 09:22:39 +01:00
Eugene Sandulenko
d0a88a4b5c Revert "BLADERUNNER: Possible fix for broken build"
This reverts commit 727e583b94.

Revert "BLADERUNNER: Possible fix for clang warning for subtitles"

This reverts commit 78b14649be.
2019-02-25 09:19:25 +01:00
sluicebox
9949558fdb SCI: Fix ECO1CD missing ocean cliffs, bug #10893
Fixes graphics not being drawn in the CD version
2019-02-25 08:05:28 +02:00
sluicebox
a7bf0a1350 SCI: Fix LB2 disappearing desk items, bug #10894
Fixes bug in original that doesn't redraw objects
2019-02-25 08:01:24 +02:00
sluicebox
3158285e79 SCI: Fix LB2 armor exhibit messages, bug #10895
Fixes script bugs in the original that prevent messages.
Replaces a script patch that fixed one of the symptoms.
2019-02-25 07:59:35 +02:00
sluicebox
d1b1bd5381 SCI: Fix LONGBOW Day 8 archer pathfinding
Work around a lockup that occurs due to our pathfinding, bug #10896
2019-02-25 07:56:58 +02:00
Thanasis Antoniou
727e583b94 BLADERUNNER: Possible fix for broken build
Previous fix attempt for the clang warning "warning: declaration requires a global destructor [-Wglobal-constructors]" went awry
2019-02-25 00:05:01 +02:00
Thanasis Antoniou
78b14649be BLADERUNNER: Possible fix for clang warning for subtitles 2019-02-24 23:39:52 +02:00
Peter Kohaut
096e870b7b BLADERUNNER: Fixed quick video playback in few occasions
Overlays were played too quickly after using KIA.
After outtakes finished, scene videos were playing too quickly.
When ScummVM was not updating game and it was not paused (eg window
drag) scene videos were played too quickly.
2019-02-24 19:47:27 +01:00
Thanasis Antoniou
902b2278a5 BLADERUNNER: Impovement on spell correction of JEWELRY
Improvement allows text override which is good for translation support
2019-02-24 20:14:07 +02:00
Thanasis Antoniou
3730a549e0 BLADERUNNER: Fix incorrect spelling of JEWELRY
Entry 1020 for dialogue menu in English version is replaced

"DRAGONFLY JEWERLY" becomes "DRAGONFLY JEWELRY"
2019-02-24 19:58:44 +02:00
Cameron Cawley
ad648f8a97 CONFIGURE: Append pkg-config cflags to CXXFLAGS
CPPFLAGS should only contain options that are used by the preprocessor, however pkg-config may return C/C++ specific options which are unrecognised by windres.
2019-02-24 11:29:09 +00:00
Paul Gilbert
4efa9c73d4 GLK: FROTZ: Add V6 text cursor logic 2019-02-23 16:31:08 -08:00
Peter Kohaut
5f520aa386 BLADERUNNER: Small clean-up of macros 2019-02-24 00:36:41 +01:00