Commit Graph
137148 Commits
Author SHA1 Message Date
Thomas Fach-Pedersen 9bf07073fb BLADERUNNER: Add Overlay videos 2017-08-27 22:39:36 +02:00
David Fioramonti 5cf2f16ca0 TITANIC: Refactoring of Viewport class
1. Improved naming of functions.
	E.x., fn17 is now called getRelativePosNoCentering
2. Improved variable names
	E.x., _valArray[3] is now _pixel1OffSetX, naming makes sense for it
	use in CBaseStars::draw.
3. Lots of comments and TODO added for suspicious behavior
	Mentioned unused functions and values that don't get used.
4. Changes in other classes that viewport renaming affected
	Some of the star_camera functions were 1-1 mapping of
	functions in viewport so I just made the names be the same.
2017-08-27 05:39:13 -07:00
David Fioramonti de5e2c9674 TITANIC: Fix viewport _field24/starcolor not being saved
One of the fields wasn't getting saved. This field determines
whether the star color should be pink or white. It gets recomputed
when you put the helmet back on so it doesn't really matter.

Previously, when it loaded this value it was loading some orientation
data which occurs next in the saved data file for saved games saved
by scummvm versions before this commit.
2017-08-27 05:32:23 -07:00
David Fioramonti 42cdd66f81 TITANIC: Move Rad2Deg from dvector to fvector
I wanted to use that variable in viewport.cpp and since fvector.h
is included in more functions (already) then dvector it makes sense
to move it there.
2017-08-27 05:30:24 -07:00
David Fioramonti a95df4aa72 TITANIC: Add fpose product helper function
This adds a non-member function that computes the
product between two fpose "matrices" and puts it in
a third. One of the constructor was doing that so now
it calls this non-member function.
2017-08-27 05:29:50 -07:00
Colin Snover d7d75d97fd SCI32: Ignore invalid audio maps in Phant2 FR
Fixes Trac#10049.
2017-08-26 18:09:47 -05:00
Colin Snover b17c66981e SCI32: Ignore invalid audio map in GK2 DE
Fixes Trac#10143.
2017-08-26 18:09:47 -05:00
Colin Snover c0d3d5776e SCI32: Limit existing bad audio map resource skips by language
Since audio maps change when game speech is localised, it makes
sense to limit audio map skips by language until it turns out that
the same problem exists in more than one language release, so we
do not accidentally skip a map that is bad in one language, but OK
in another language.
2017-08-26 18:09:47 -05:00
Colin Snover ed0d0413b0 SCI32: Allow changing SFX/speech volume in GK2
Originally, changing the SFX volume from ScummVM was disabled
because the game itself only allowed adjustment of music volume,
so adjusting the SFX volume would indirectly affect the music
volume. On reflection, allowing the adjustment of SFX volume even
though this also changes the music volume seems preferable to not
allowing any adjustment of the SFX/speech volumes.
2017-08-26 18:09:47 -05:00
Colin Snover 74738489ec SCI32: Fix SFX volume being misapplied to music & speech in some games
This was happening in games with game scripts that control the
master volume themselves by applying the master volume to each
channel sent to the kernel, instead of relying on the kernel to
manage the master volume for them.
2017-08-26 18:09:46 -05:00
Paul Gilbert 72b033ca2d TITANIC: Added frame debugger command for setting objects' movie frames 2017-08-26 17:58:31 -04:00
Peter Kohaut a97fe8f89f BLADERUNNER: Support for AESC 2017-08-26 23:00:54 +02:00
Eugene Sandulenko f8284623c4 GRAPHICS: MACGUI: Clear whole surface when resizing
This removes black artifacts when previous text was narrower
2017-08-26 21:34:16 +02:00
Paul Gilbert 960ad3623f TITANIC: Fix error setting correct PET buttons for a given area 2017-08-26 12:40:08 -04:00
Paul Gilbert 6291eb75d0 TITANIC: Fix German strings in create_titanic, regenerate titanic.dat 2017-08-26 12:39:34 -04:00
Paul Gilbert 003331c44c DEVTOOLS: Corrections to newly added German strings 2017-08-26 11:22:43 -04:00
Paul Gilbert a929c5aabc TITANIC: Add further strings to create_titanic tool 2017-08-26 11:13:34 -04:00
Paul Gilbert b4ee0ec823 TITANIC: Hide back view of MaitreD from close to the table
The MaitreD was rendered using frame 0 from c386.avi, but with a
corrupted right and bottom edge. Ironically, the MaitreD object
isn't used at all, since hiding him revealed he's part of the
background as well. From the video, it seems like he was meant
to have an idle wiggle animation that didn't end up being used.
2017-08-26 11:08:25 -04:00
Paul Gilbert 67ae67d685 TITANIC: Fix another struct vs class warning 2017-08-26 11:05:33 -04:00
Peter Kohaut 91f67a10ae BLADERUNNER: Transparent background in dialogue menu 2017-08-26 11:58:14 +02:00
Paul Gilbert 77b904ef8d TITANIC: Fix struct vs class forward declaration warning 2017-08-25 20:48:55 -04:00
Colin Snover b5bd7b8478 SCI32: Stop blacklisting 37.MAP from Phantasmagoria
It turns out that GOG.com version of Phantasmagoria needs the
37.MAP patch file because for some reason the 37.MAP in RESSCI.000
is empty (36 bytes, versus the correct file which is ~1kB).
Fortunately, this file is the same across all CDs in the original
US release, so hopefully unblocking this patch will not cause any
problems for any of the CD releases either.

Fixes Trac#10161.
2017-08-25 18:53:32 -05:00
Colin Snover 3ef0802993 TITANIC: Fix buffer overflow when getting first class upgrade 2017-08-25 18:53:20 -05:00
Paul Gilbert c4bf8575c1 TITANIC: Fix Door/Bellbot remaining when summoned outside doors 2017-08-25 19:03:55 -04:00
Paul Gilbert 8e62240ed9 TITANIC: Show NPC portrait in Conversations tab after loading savegame 2017-08-25 17:37:03 -04:00
Colin Snover 1e9434cac0 TITANIC: Fix doubled announcement when summoning DoorBot
This would happen when the player is in one of the rooms with a
room-specific announcement.
2017-08-25 16:33:02 -05:00
Paul Gilbert fe1c3a8fe9 TITANIC: Correct cursor after ejecting cylinder in music system 2017-08-25 17:21:46 -04:00
Paul Gilbert 8512476a08 TITANIC: Don't allow cylinders to be dropped in music system slot closed 2017-08-25 17:06:56 -04:00
Eugene Sandulenko 853ad19934 WAGE: Update games status 2017-08-25 21:55:33 +02:00
Bastien Bouclet 9853d26344 GRIM: Fix playing bink videos in the demo version of EMI
The OpenGL renderers would choke because the pixel format of the screen
was being used instead of the expected one.
2017-08-25 21:24:16 +02:00
Torbjörn Andersson 7d52dbe7eb JANITORIAL: Remove unnecessary semicolon 2017-08-25 17:56:09 +02:00
Paul Gilbert 9b07378c24 Merge pull request #999 from dafioram/header_reduce
TITANIC: Reduce header includes
2017-08-25 07:23:35 -04:00
Paul Gilbert bb3fb4a963 Merge pull request #1000 from csnover/indeo4-transparency
IMAGE: Implement Indeo4 transparency
2017-08-25 07:22:20 -04:00
Colin Snover 2b46eda5b6 IMAGE: Allow Indeo4 transparency decoding in scalable videos
y459.avi in Starship Titanic uses these two modes together, and
this appears to work fine.
2017-08-24 21:17:54 -05:00
Colin Snover 4a39f85c1b IMAGE: Implement handling of key color in Indeo transparency
This should also improve performance by eliminating unnecessary
writes to the output bitmap for opaque pixels and by simplifying
the rendering loop.
2017-08-24 20:36:08 -05:00
Colin Snover d39a9272bf IMAGE: Remove unnecessary extra heap allocation of Indeo surface 2017-08-24 20:34:55 -05:00
Colin Snover 7dd2c0342d IMAGE: Remove unnecessary temporary surface in Indeo4/5 2017-08-24 20:34:19 -05:00
Colin Snover 085ec30b49 IMAGE: Add support for Indeo4 transparency plane
This is used by TITANIC for most of the furniture in the SGT
stateroom and Titania's parts.
2017-08-24 20:34:16 -05:00
Peter Kohaut 9512cf46b7 BLADERUNNER: Fix build 2017-08-25 00:18:38 +02:00
Peter Kohaut 0da18320af BLADERUNNER: Added audio mixer & various fixes
Audio mixer is supporting fading and pan animation
Added support for skipping speech by pressing Return
Added proper support for ambient sounds
Added more code to the dialogue menu
Added tooltips to the Spinner
Fixed calculation of volume and pan of walk steps
Code cleanup & formatting
2017-08-24 23:43:47 +02:00
Thomas Fach-Pedersen c9b4089ccb BLADERUNNER: Fix build 2017-08-24 22:46:07 +02:00
Thomas Fach-Pedersen d67e06c7b2 BLADERUNNER: Add support for elevators 2017-08-24 22:34:50 +02:00
Willem Jan Palenstijn bd10131242 Merge pull request #975 from wjp/bitstream
Rework and optimize Common::BitStream
2017-08-24 19:51:06 +02:00
Willem Jan Palenstijn 4278cff7f0 COMMON: Optimize BitStream::getBits 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn 47539e1939 VIDEO: Use new BitStreamMemory class for PSXStreamDecoder 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn e72f681ceb VIDEO: Use new BitStreamMemory class for SmackerDecoder 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn edfdbb9dd7 IMAGE: Use new BitStreamMemory class for indeo 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn 0c8f95603f COMMON: Add BitStream classes for memory buffers 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn e7428bca2e COMMON: Keep track of bitstream position 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn ac95030ef6 COMMON: Cache BitStream size 2017-08-24 19:46:59 +02:00