Commit Graph
936 Commits
Author SHA1 Message Date
Bastien Bouclet 131dcb0aad MOHAWK: Reset some Myst state variables as per the original
This fixes a bug where the player could be stuck on Channelwood's
lower level with the elevator on the upper level.

This also turns the light off on Stoneship when entering the age,
since the battery is depleted.

Thanks to dtungsten for submitting this fix in PR#478.
2014-07-08 20:13:29 +02:00
D G Turner 19ab6082d5 MOHAWK: Add version number for Riven Italian detection entry.
Also, annotate lanuage comment for preceding entry.
2014-06-10 22:37:13 +01:00
D G Turner 9d33b09885 MOHAWK: Add Detection Entry for Italian 5-CD version of Riven.
This closes bug #6629.
2014-06-09 17:24:55 +01:00
Johannes Schickel 7b32db3b37 MOHAWK: Use float constants in Myst code.
This silences some float conversion warnings.
2014-06-02 01:00:15 +02:00
Johannes Schickel ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Matthew Hoops b2be5788cf MOHAWK: Add missing comma 2014-05-04 13:13:01 -04:00
Matthew Hoops 0a899876e7 MOHAWK: Use original stack ID mapping for Riven 2014-05-03 22:55:50 -04:00
Matthew Hoops 363b23f55d MOHAWK: Use properly cased names for Riven variables 2014-05-03 15:10:13 -04:00
Matthew Hoops 955b8194db MOHAWK: Fix Riven movie volume clipping 2014-03-03 21:06:25 -05:00
Matthew Hoops 740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel abd9e92086 MOHAWK: Make GPL headers consistent in themselves. 2014-02-18 02:39:36 +01:00
D G Turner ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner 1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner 00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
D G Turner 242b9eef11 MOHAWK: Fix missing initializers in CSTime engine. CID 1002810. 2013-10-02 05:57:01 +01:00
Eugene Sandulenko 246edc82e6 MOHAWK: Fix compiler warning 2013-09-30 14:36:59 +03:00
Johannes Schickel 01dea8bd67 Merge pull request #378 from lordhoto/pluggable-engines-translations
RFC: Pluggable Engines: I18N: Move specification of engine specific files to enginedir/POTFILES
2013-09-12 15:38:13 -07:00
Torbjörn Andersson 74be7ed959 MOHAWK: Stop videos on stack change
Otherwise there may be both a book video and a flyby video playing
at the same time. Maybe it should only stop videos if there really
is a flyby video, but it already stops all sounds and may play a
blocking sound etc., so it makes sense to me to always do it.
2013-08-20 08:43:18 +02:00
Torbjörn Andersson 85ba7876d9 MOHAWK: Add missing break in switch, CID 1003750
Clicking on any of the image boxes would fall through to the case
where it checks if you are picking up or putting away the white
page, which just doesn't make any sense. It didn't have any
noticeable impact on the game, because that case only does
something if the hiding place for the white page is open, and
apparently that can only happen while you're at that hiding place.

I have verified that it's still possible to get the white page,
and that it's still possible to raise the sunken ship.
2013-08-20 07:59:24 +02:00
Johannes Schickel 378387c903 I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to
the engine sources itself.

Thanks to criezy for his suggestion on this approach.
2013-08-12 17:54:31 +02:00
Johannes Schickel 63750d6780 COMMON: Rename ConfigFile to INIFile.
This clears up that 'ConfigFile' is actually a class handling only INI-files.
2013-08-08 16:28:38 +02:00
Johannes Schickel 575cfca013 MOHAWK: Take advantage of Surface::getPixels. 2013-08-03 04:02:51 +02:00
Johannes Schickel 6eb9c8da9e MOHAWK: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:32 +02:00
Alyssa Milburn ac070ae0c0 MOHAWK: Use addSubDirectoryMatching for LB paths. 2013-06-06 21:41:47 +02:00
Alyssa Milburn a29eb151e0 MOHAWK: Add GF_LB_10 to try fixing bug#3611895. 2013-05-16 13:19:24 +02:00
Eugene Sandulenko 2a4bf37aab MOHAWK: Fix use after free. CID 1002114 2013-04-28 23:59:20 +03:00
Alyssa Milburn 1cec3beb8c MOHAWK: add detection entry from bug #3610725 2013-04-22 11:19:30 +02:00
Alyssa Milburn 80271c24b1 MOHAWK: Try LB subpage 0 if loading subpage 1 fails. 2013-04-19 15:05:53 +02:00
Alyssa Milburn 02d81911cd MOHAWK: Add LB function name aliases. 2013-04-19 00:48:41 +02:00
Alyssa Milburn aa140c4982 MOHAWK: Fix bug in View::setModule (thanks ST). 2013-04-19 00:46:11 +02:00
Alyssa Milburn ba9efd5c40 MOHAWK: Allow skipping LB videos, plus other video bits. 2013-04-19 00:42:28 +02:00
Alyssa Milburn 73d6294619 MOHAWK: Some LB bytecode improvements. 2013-04-19 00:36:45 +02:00
Alyssa Milburn 541a0b8c69 MOHAWK: Implement LB's kTokenEval. 2013-04-19 00:32:49 +02:00
Alyssa Milburn aa1fe8a161 MOHAWK: Implement kLBXDataFileAddSection/SetKey. 2013-04-19 00:25:18 +02:00
Matthew Hoops 369883bbd9 MOHAWK: Fix string offsets memory leak 2013-04-15 18:22:50 -04:00
Matthew Hoops 6a3f735392 MOHAWK: Fix cursor group memory leak 2013-04-15 18:19:09 -04:00
uruk cfeda28885 MOHAWK: Prevent left mouse click handling if the cursor isn't visible.
This fixes bug #3488327 - "LB: Mouse events processed when they
shouldn't be".
2013-04-12 15:57:40 +01:00
D G Turner 5e801ef41a MOHAWK: Add Myst and Riven Polish detection entries.
These are from bug #3606788 ("Mohawk: Myst: ME - polish MD5") and bug
2013-03-08 22:31:09 +00:00
Johannes Schickel b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Matthew Hoops d983b94bb5 MOHAWK: Silence warnings 2013-01-03 13:21:38 -05:00
Filippos Karapetis e9e2d6ccb9 MOHAWK: Initialize the empty cursor before setting it inside setCursor() 2012-12-17 19:01:03 +02:00
Filippos Karapetis 9e40a91b26 MOHAWK: Set a 2x2 invisible cursor, instead of a 1x1
This prevents an assert when hiding the mouse cursor while using a 2x scaled mode in Myst
2012-12-17 18:47:03 +02:00
Bastien Bouclet fb38d7c04e MOHAWK: Fix an uninitialized var usage in Mechanical
Thanks to digitall for the report
2012-12-16 13:51:21 +01:00
Bastien Bouclet 80a30286a2 MOHAWK: Fix opening the library in Myst Demo 2012-12-16 13:20:50 +01:00
Bastien Bouclet edb8b6e236 MOHAWK: Add the remaining Myst transition effects 2012-12-16 10:28:23 +01:00
Torbjörn Andersson af64cad069 JANITORIAL: Replace some spaces with tabs 2012-12-16 09:35:52 +01:00
Bastien Bouclet 611900d3c3 MOHAWK: The cancel button of Myst's dialog was actually saving 2012-12-16 06:55:07 +01:00