Commit Graph
137148 Commits
Author SHA1 Message Date
David Fioramonti b2dd72adbd TITANIC: Improved naming for Helmet On/Off flag 2017-09-09 14:24:26 -07:00
Paul Gilbert 1e0a22db5c TITANIC: Fix occassional PET mixup when toggling nav helmet on & off 2017-09-09 17:05:53 -04:00
Paul Gilbert 635f189b9c TITANIC: Fix parrot freezing after multiple chicken drags 2017-09-09 15:58:59 -04:00
Colin Snover 41ee6431a9 BUILD: Remove macOS build target from Travis CI
The macOS build machines on Travis CI are failing constantly, and
for the time they've been enabled, they haven't really proven to
give any benefit. So, turning them off now, at least until Travis
CI gets more reliable so we are not contantly notified about their
broken build machines.
2017-09-09 11:22:48 -05:00
Paul Gilbert 8fb2371f6f TITANIC: Fix play/stop operation for 1st Class Restaurant Phonograph 2017-09-09 11:01:45 -04:00
Timo Mikkolainen b5ae927014 I18N: Update translation (Finnish)
Currently translated at 100.0% (967 of 967 strings)
2017-09-09 15:38:14 +02:00
Paolo Bossi 41e8f1460b I18N: Update translation (Italian)
Currently translated at 100.0% (967 of 967 strings)
2017-09-09 09:42:13 +02:00
Paolo Bossi d2cb72303f I18N: Update translation (Italian)
Currently translated at 100.0% (967 of 967 strings)
2017-09-09 09:36:11 +02:00
Colin Snover 14b3ed6414 SCI32: Fix volume config when changing volume from in-game Phant2 controls 2017-09-08 22:49:28 -05:00
George Kormendi 936c0bb2cd I18N: Update translation (Hungarian)
Currently translated at 100.0% (967 of 967 strings)
2017-09-09 04:29:53 +02:00
Colin Snover 04d4c11100 SCI32: Order nulls consistently in kernel signatures 2017-09-08 21:16:47 -05:00
Colin Snover 94b39c83b6 SCI32: Remove redundant kStringGetData implementation
This code is identical to the kArrayGetData implementation.
2017-09-08 21:10:51 -05:00
Colin Snover 7eedfdbeaf SCI32: Fix kString signatures to allow null references where appropriate
The original interpreter allowed most string references to be
null references, in which case it would substitute an empty
string.
2017-09-08 21:10:51 -05:00
Colin Snover 5228aa29fa SCI32: Fix crash when changing security level of dead people in Phant2
In the original interpreter, is it valid to pass a null reference
to both kArray(GetData) (it just acts as an identity function when
the passed argument is not an object) and to kString functions (it
always dereferences to an empty string).

Fixes Trac#10039.
2017-09-08 21:10:51 -05:00
Paul Gilbert 7a1b35212b TITANIC: Keep highlighted inventory items animating when changing room 2017-09-08 21:11:22 -04:00
Thierry Crozat 13908dd6c2 I18N: Update translations templates 2017-09-09 02:11:36 +02:00
Colin Snover a447664373 SCI32: Add missing include for ConfMan 2017-09-08 19:10:21 -05:00
Thierry Crozat f9bc0d6d9c I18N: Update translations templates 2017-09-08 23:16:56 +02:00
Colin Snover f11b0a4ff5 SCI32: Toggle Phant2 content censoring from game options
To enable the optional content censoring mode, Phant2 looks
for a RESDUK.PAT file, which is normally placed by the game's
installer if the user chose to enable censorship. If the file
exists, the game reads an unlock password out of the file and
asks the user to enter the password when starting a new game to
create an uncensored game, or to click a "less intense" button
to start the game with censoring. The censorship state of the
game is then persisted in the save game file, and installations
with the RESDUK.PAT file need to enter the password again in
order to restore any of the uncensored saves.

Since we do not have an installer that can enable this feature,
add a game option toggle to enable/disable censoring (for the
releases that have the optional censorship mode) instead so the
censored content feature is available for anyone that wants to use
it. This flag is restored from ScummVM whenever a save game is
loaded, so it can be toggled on or off at any point without
needing a separate save game, unlike in the original interpreter.
2017-09-08 16:03:24 -05:00
Colin Snover 6571111efc SCI32: Detect KQ7 2.00b using platform-specific files
The GOG.com release is missing the AVIs used for the intro &
ending animations in Windows. I'm unaware of any substantive
differences between the DOS and Windows versions otherwise, so
just not allowing Windows to be selected as a platform when the
video files are missing seems like it should be fine. (Same thing
in the opposite direction for a case where the DOS Robot files
are missing, though I don't know of a specific case where that is
a thing with KQ7 2.00b.)
2017-09-08 16:02:32 -05:00
Colin Snover 3ce5276b9c SCI32: Remove unnecessary calls to hide the virtual hardware cursor 2017-09-08 16:02:32 -05:00
Colin Snover 17ff41b740 SCI: Use SCI32 naming convention for Audio36/Sync36 patch files in SCI32 2017-09-08 16:02:32 -05:00
Colin Snover 29b338fff7 SCI: Add resource integrity dump command to debugger 2017-09-08 16:02:32 -05:00
Colin Snover 4771c41c35 SCI: Add method to get resource patch file extensions 2017-09-08 16:02:32 -05:00
Colin Snover 5bc4b46aa5 COMMON: Add comparator for sorting ArchiveMemberList 2017-09-08 16:02:32 -05:00
Colin Snover b5e801379f DEBUGGER: Flush stdout after debugger writes with USE_TEXT_CONSOLE_FOR_DEBUGGER
stdout may be buffered, in which case debugger messages are
delayed until a newline is written. The same kinds of calls to
OSystem::logMessage are flushed, so this just seems to be a simple
omission on this non-default code branch.
2017-09-08 16:02:32 -05:00
Colin Snover d97f192f45 SCI: Improve array bounds safety check
There is no practical risk now since the enum and array sizes are
the same, but there is no reason to rely on a separate data
structure to avoid potential out-of-bounds index use here instead
of just checking the array size directly, which is always safe.
2017-09-08 16:02:32 -05:00
Thierry Crozat d98d4bc25d UPDATES: Fix crash when compiling with updates enabled but without an UpdateManager
This can happen when Sparkle was not found during configure which results
in USE_UPDATES being defined but USE_SPARKLE not being defined.
2017-09-08 21:21:53 +01:00
Paul Gilbert aceff5852e TITANIC: Fix hiding SGT toilet after turning it on & off 2017-09-07 20:37:02 -04:00
Paul Gilbert 2b7b75f9a8 Merge pull request #1016 from dafioram/star_control-cleanup
TITANIC: Star control cleanup
2017-09-07 20:00:35 -04:00
Thierry Crozat e7745bf025 NEWS: Add fix for sound distortion bug in MADE engine 2017-09-07 21:34:32 +01:00
David Fioramonti 93d9ac926c TITANIC: star camera better handler function naming
The functions that dealt with the mover handling only
had handler in the name so I added mover and type to the
name to reflect that it involves the mover handler.
2017-09-07 06:34:03 -07:00
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 1ecb27e6cc TITANIC: Simplify sound command now that # character is allowed 2017-09-05 19:38:56 -04:00
Paul Gilbert 0b9b3e336a GUI: Remove code that closes debugger if # or ~ keys are pressed 2017-09-05 19:36:47 -04:00
Paul Gilbert 54ec788541 GUI: Update comment for strdup call 2017-09-05 19:35:08 -04:00
Cameron Cawley 7846d098b2 IMAGE: Support rendering Indeo videos at 15bpp 2017-09-05 23:40:05 +01: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