Commit Graph

917 Commits

Author SHA1 Message Date
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
Bastien Bouclet
07ee25c87d MOHAWK: Implement most of Myst's transition system 2012-12-16 06:54:13 +01:00
Bastien Bouclet
0358a44738 MOHAWK: Implement the last two Myst opcodes 2012-12-16 06:51:01 +01:00
Bastien Bouclet
4ae8b3b1e8 MOHAWK: Fix Myst ME's clock tower weight not going back up 2012-12-16 06:51:01 +01:00
Bastien Bouclet
fb02d1decd MOHAWK: Add a workaround for Myst ME fortress rotation bug 2012-12-16 06:51:01 +01:00
Bastien Bouclet
e0c923fd5a MOHAWK: Play Stoneship chest valve opening movie backwards 2012-12-16 06:51:01 +01:00
Bastien Bouclet
5d90c93385 MOHAWK: Play Channelwood stairs door closing movie backwards 2012-12-16 06:51:01 +01:00
Bastien Bouclet
bbc760c51c MOHAWK: Implement Mechanical fortress rotation
Both the simulation and the actual rotation.
2012-12-16 06:51:01 +01:00
Bastien Bouclet
adf3a8d7dd MOHAWK: Play the gear closing movie in Myst 2012-12-16 06:51:01 +01:00
Bastien Bouclet
8050bca8d3 MOHAWK: Implement the Myst boiler movies 2012-12-16 06:51:00 +01:00
Bastien Bouclet
fdad5ec7b4 MOHAWK: Allow changing video rates
getVideoDuration now returns an Timestamp
2012-12-16 06:51:00 +01:00
Matthew Hoops
3b7224f052 MOHAWK: Add Rugrats Print Shop demo detection 2012-11-04 21:26:09 -05:00
Matthew Hoops
ce03ff344f MOHAWK: Add detection for the Rugrats Adventure Game demo 2012-11-04 21:19:59 -05:00
Willem Jan Palenstijn
23de059262 VIDEO: Make getCurFrame declaration consistent
The declaration used int32 while the definition used int.
This should fix building on AmigaOS4 (bug #3570577).
2012-09-21 22:35:15 +02:00
Matthew Hoops
b49bf2da2a MOHAWK: Fix minor formatting issue 2012-09-09 17:31:45 -04:00
Matthew Hoops
ed2be9d873 GRAPHICS: Fix ImageDecoder inconsistency with getPalette()
Per LordHoto's suggestion
2012-09-09 17:20:07 -04:00
Matthew Hoops
857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Matthew Hoops
18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops
7569ec7dc0 VIDEO: Rename setStopTime() to setEndTime()
To better differentiate with stop()
2012-08-16 13:34:28 -04:00
Matthew Hoops
fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00