82395 Commits

Author SHA1 Message Date
David Fioramonti
d3a0a487be TITANIC: star control, removed todos and improved some comments 2017-09-07 06:33:05 -07:00
David Fioramonti
4bdea384c3 TITANIC: make sure of setOrientations more clear
Made camera automover setOrientations not virtual and reduced
arguments also changed name since to differentiate it from
behavior of derived classes.
2017-09-07 06:31:20 -07:00
David Fioramonti
d69404d5de TITANIC: Make use of CCameraAutoMover::setPath() more clear
There was a setPath() adn setPath2() function took in
different arguments and were doing the same thing, but
not using the different arguments. I made it into
one function that only takes in the arguments it uses.

Also it was marked virtual, but all the derived classes,
CMarkedAutoMover, and CUnmarkedAutoMover were just doing
there own thing and then calling this base class implementation.
Therefore, I made it be not virtual and the derived classes can do
there own thing and then call this, but since they are doing slightly
different things it makes sense to differentiate the names and not have
them all be called setPath. I.e., the derived classes also change
the orientation so that is included in their function names to reflect
that.
2017-09-07 06:25:43 -07:00
David Fioramonti
40684e83d3 TITANIC: Better naming for Viewport function
I differentiated getRelativePosCentering() and
getRelativePosCentering2() since one was using
the raw Pose and one was using the regular Pose.
2017-09-07 06:23:01 -07:00
Thierry Crozat
902b191266 MADE: Fix static noise when playing sounds
This was a regression introduced in commit 298ea1a.
This fixes bug #9753.
2017-09-07 00:52:50 +01:00
Paul Gilbert
258015571b TITANIC: Add 'skip' response for Deskbot to skip entire checkin 2017-09-06 19:37:06 -04:00
Paul Gilbert
0a3b6d34d5 TITANIC: Make Parrot speech respect the Parrot volume level 2017-09-06 19:26:58 -04:00
Paul Gilbert
f58156aba0 TITANIC: Fix gfx glitch closing SGT chest of drawers 2017-09-06 19:07:12 -04:00
Paul Gilbert
b5408d7245 TITANIC: Fix specifying end frame in movie debugger command 2017-09-06 07:50:18 -04:00
Paul Gilbert
aa3adfb4b1 TITANIC: Allow GMM loading from the copyright and continue dialog 2017-09-05 23:01:12 -04:00
Paul Gilbert
d5cfa3f2be TITANIC: Fix Bellbot disappearing during checkin cutscene 2017-09-05 22:37:50 -04:00
Paul Gilbert
0c2fc12756 TITANIC: Hook up in-game sound sliders to ScummVM volumes 2017-09-05 21:11:06 -04:00
Paul Gilbert
128edeebda TITANIC: Implement setup code for sound slider positions 2017-09-04 19:11:01 -04:00
Colin Snover
110b4f0991 COMMON: Add helper macro for printing rects 2017-09-04 23:57:19 +02:00
Colin Snover
9d42bea857 SCI32: Fix creating over 20 saves in Phant2 native save game 2017-09-04 15:20:00 -05:00
Colin Snover
bdbcc90148 SCI32: Disable save game mangling in Phant2
Fixes Trac#10035.
2017-09-04 15:19:59 -05:00
Colin Snover
109d870990 SCI: Remove already-finished TODO 2017-09-04 15:19:59 -05:00
Colin Snover
67fcb0bdaf SCI: Allow deep inspection of objects in debugger 2017-09-04 15:19:59 -05:00
Paul Gilbert
50e7a7eb3f TITANIC: Cleanup and enum for CPetSound 2017-09-04 15:38:38 -04:00
Paul Gilbert
9a0798f387 TITANIC: Fix display of music system stop button when pressed 2017-09-04 12:42:05 -04:00
Paul Gilbert
be208264dd VIDEO: Fix reverse playback right to the very start of the video 2017-09-04 12:03:34 -04:00
Paul Gilbert
0b19ebe7b2 IMAGE: Fix shadowing warning 2017-09-04 09:16:59 -04:00
Paul Gilbert
f36f3942ea TITANIC: Fix Doorbot disappearing on loading prologue elevator savegame 2017-09-03 23:36:47 -04:00
Paul Gilbert
9fa97cd119 TITANIC: Fix Doorbot disappearing in prologue elevator 2017-09-03 23:18:04 -04:00
Colin Snover
0092d5eaec BLADERUNNER: Fix compilation failure on PPC-AmigaOS4
On this platform, `int32` is `long`.
2017-09-03 21:52:32 -05:00
Thierry Crozat
5632792de7 I18N: Update translations templates 2017-09-04 04:39:40 +02:00
Colin Snover
96f702e9a8 SCI: Fix builds with SCI32 disabled 2017-09-03 21:39:22 -05:00
Thierry Crozat
968f67997a I18N: Update translations templates 2017-09-04 03:59:12 +02:00
Colin Snover
d6139890fe SCI32: Exit early from screen shake if engine is quitting 2017-09-03 20:58:10 -05:00
Colin Snover
aa20284027 SCI32: Ignore bad audio map entries on GK2 DE CD 6
This patch also cleans up the GK2 audio map blacklisting code to
reduce the number of redundant checks being made during audio map
processing.

Fixes Trac#10172.
2017-09-03 20:58:09 -05:00
Colin Snover
6e35676a9e SCI32: Fix load from launcher for Lighthouse
Launcher loads of games without a saved Robot were fine, but games
that were saved with a Robot (e.g. room 480 when facing the water)
would crash.
2017-09-03 20:58:09 -05:00
Colin Snover
be64c6ba8b SCI32: Fix closing a Robot when its Plane has been destroyed already
This can happen during game restores in at least Lighthouse, which
has a Robot on the menu screen whose plane is deleted prior to
a call to kRestoreGame32 (which closes the Robot).
2017-09-03 20:58:09 -05:00
Colin Snover
cc3088c529 SCI32: Make audio resource size mismatch non-fatal
Lighthouse audio.225 in RESSCI.002 (US English 1.0C) triggers this
condition; the audio resource says its data is one byte larger
than the recorded size in the volume. In this case, just use the
smaller of the two values for the size, to avoid overreads.
2017-09-03 20:58:08 -05:00
Colin Snover
439a026844 SCI32: Fix Lighthouse GUIOs 2017-09-03 20:58:08 -05:00
Colin Snover
08a717530d SCI32: Correct LSL7 demo GUIOs 2017-09-03 20:58:08 -05:00
Colin Snover
768d698434 SCI32: Add standard SRDialog patches to Lighthouse 2017-09-03 20:58:08 -05:00
Colin Snover
ebd5139653 SCI32: Fix crash after credits in Lighthouse 2017-09-03 20:58:07 -05:00
Colin Snover
7545bb7133 SCI32: Clip videos to the screen
This is needed for 8.VMD in Lighthouse (room 380, the credits
room), which is rendered partially off the bottom of the screen.
OSystem does not accept rects that are offscreen.

Technically this video probably should not have been doubled
vertically by game scripts, but there is not enough space to fix
the rendering with a regular script patch, and it is a very
unimportant video.
2017-09-03 20:58:07 -05:00
Colin Snover
43a07abb46 SCI32: Implement kCelLink
kCelLink exists in SSCI since 2.1mid, but it is only known to be
used in Lighthouse, during the weapon creation puzzle near the end
of the game.
2017-09-03 20:58:07 -05:00
Colin Snover
d2b4e16ab2 SDL: Fix unsafe sprintf usage
Translation strings come from external data sources and can cause
a stack buffer overflow here just by accidentally (or maliciously)
being too long.
2017-09-03 20:00:23 -05:00
Paul Gilbert
a2b05b5c63 TITANIC: Fix Doorbot doubletake in the prologue 2017-09-03 20:09:23 -04:00
Paul Gilbert
e72a1d7c46 VIDEO: Simplify AVIDecoder reverse playback special handling 2017-09-03 19:52:48 -04:00
Paul Gilbert
22e24d7c0b VIDEO: Fix reverse playback in AVIDecoder 2017-09-03 17:29:09 -04:00
Cameron Cawley
aba431ca9b RISCOS: Use double quotes in sed command 2017-09-03 10:40:07 +02:00
Cameron Cawley
0d1df59be1 RISCOS: Automatically calculate the correct WimpSlot size 2017-09-03 10:40:07 +02:00
Cameron Cawley
faf9fde50f RISCOS: Use armv3m as the target architecture instead of armv4 2017-09-03 10:40:07 +02:00
Cameron Cawley
b9694a01db RISCOS: Use shorter filenames for config and log files 2017-09-03 10:40:07 +02:00
Cameron Cawley
f55fa848b6 RISCOS: Check for GCCSDK_INSTALL_ENV 2017-09-03 10:40:07 +02:00
Cameron Cawley
0e7d9414a6 RISCOS: Correctly set executable extension 2017-09-03 10:40:07 +02:00
Cameron Cawley
7a00045df0 RISCOS: Add networking files to application 2017-09-03 10:40:07 +02:00