Commit Graph

896 Commits

Author SHA1 Message Date
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
Matthew Hoops
0817a02a7d MOHAWK: Use setStopTime() 2012-08-12 01:22:47 -04:00
Johannes Schickel
e8fd51e56b Merge pull request #252 from DrMcCoy/detector_public_reportUnknown
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-29 16:19:00 -07:00
Matthew Hoops
e58724a180 MOHAWK: Remove Myst ME Macintosh "support"
The Mac version of Myst ME is actually not Mohawk and is instead closer to the engine used in Myst3.
2012-07-29 14:31:36 -04:00
Matthew Hoops
991710d0a1 VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder API 2012-07-27 11:32:51 -04:00
Johannes Schickel
93d4eb14ad MOHAWK: Fix delete[] formatting. 2012-07-25 21:09:46 +02:00
Alyssa Milburn
bed2eb20cd MOHAWK: Restart anims when LiveText plays them. 2012-07-09 09:11:31 +02:00
Alyssa Milburn
ff1828fc71 MOHAWK: Play anims for LiveText items *after* the speech.
Another attempt at fixing bug #3541294.
2012-07-08 20:26:02 +02:00
Alyssa Milburn
e265be07bf MOHAWK: Run animations attached to LiveText items.
Should fix bug #3541294.
2012-07-08 09:54:36 +02:00
Sven Hesse
2c760cb15e DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizes
Since we need a FSNode parent for Mac resource forks, we need to change
signature of detectGameFilebased(), too.
2012-06-27 05:14:18 +02:00
Johannes Schickel
60a6ce70c1 MOHAWK: Get rid of casts on CursorManager::replaceCursor calls. 2012-06-16 03:28:43 +02:00
Johannes Schickel
d214391431 MOHAWK: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Matthew Hoops
3324aef8d0 MOHAWK: Make sure we convert video surfaces if they're not in the screen format 2012-06-11 23:14:26 -04:00
Johannes Schickel
7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
5c8b7af495 MOHAWK: Do not call close on SaveLoadChooser.
This is actually always called when a dialog closes, thus manual closing is
not required. It furthermore is actually *bad* to call this from outside the
dialog's code, since it will remove the top dialog from the dialog stack and
thus mess up the GUI in case multiple dialogs are opened.
2012-06-10 04:19:57 +02:00
Johannes Schickel
15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Matthew Hoops
d67f9b89f2 MOHAWK: Use video volume control in Riven 2012-05-28 14:05:17 -04:00
Matthew Hoops
b253a05454 GRAPHICS: Hide the WinCursor implementation 2012-05-14 09:56:56 -04:00
Matthew Hoops
9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Matthew Hoops
8e107f8c78 MOHAWK: Enable the SVQ1 intro for Myst ME Mac 2012-04-08 03:29:53 +01:00
Matthew Hoops
765a870445 GRAPHICS: Convert JPEG to the ImageDecoder API 2012-03-20 01:06:48 +01:00