Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert 4557c31c54 Merge pull request #1001 from dafioram/viewport_refactor
TITANIC: Viewport refactor
2017-08-30 19:54:36 -04:00
Eugene Sandulenko 6a5aa12bfa WAGE: Update Parrot Talk games status 2017-08-30 09:06:20 +02:00
Eugene Sandulenko 31eb4724d3 WAGE: Correctly specify target name for dumped scripts 2017-08-29 20:15:19 +02:00
Eugene Sandulenko 5eaa48ec96 WAGE: Dump scripts by request 2017-08-29 19:21:20 +02:00
Eugene Sandulenko b5c552b3bb WAGE: Quit gracefully when requested 2017-08-29 09:33:44 +02:00
Eugene Sandulenko 58fb345b3e WAGE: Since the sounds are blocking, made the sound handle global 2017-08-29 09:33:44 +02:00
Eugene Sandulenko d0082982d5 WAGE: Make sound blocking 2017-08-29 09:33:44 +02:00
Paul Gilbert 1ec8d86593 TITANIA: Fix light being loose after Bellbot gets Titania's eye 2017-08-28 22:03:12 -04:00
Paul Gilbert d7ca6c3bc1 TITANIC: Fix crash opening GMM during startup & Continue dialog 2017-08-28 21:45:07 -04:00
Eugene Sandulenko 4a1a7f965f GRAPHICS: MACGUI: Do not crash when nothing was drawn yet 2017-08-28 19:17:45 +02:00
Eugene Sandulenko 90aca034df WAGE: Properly set the character when player is not defined 2017-08-28 19:13:49 +02:00
Thomas Fach-Pedersen 1def441e09 BLADERUNNER: Fix build 2017-08-27 22:50:33 +02:00
Thomas Fach-Pedersen 7ec2a3aad2 BLADERUNNER: Fix build 2017-08-27 22:46:55 +02:00
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
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