Commit Graph

941 Commits

Author SHA1 Message Date
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
Matthew Hoops
4516b5ea24 GRAPHICS: Convert PictDecoder to the ImageDecoder API 2012-03-20 01:06:48 +01:00
Matthew Hoops
270f8077c2 MOHAWK: Make MystBitmap use BitmapDecoder 2012-03-20 01:06:47 +01:00
Matthew Hoops
29f7cc33fb MOHAWK: Use Surface::convertTo() for video 8bpp->true color conversion 2012-03-20 01:06:47 +01:00
Matthew Hoops
4bdd38923a MOHAWK: Properly initialize the Riven tdomeelev variable
Thanks to Robot_Maker20 for noticing the bug
2012-03-19 11:03:38 -04:00
Matthew Hoops
5ae2543795 MOHAWK: Disable Riven demo save/load GUI buttons 2012-03-16 16:16:25 -04:00
Matthew Hoops
2f6528933d MOHAWK: Improve Riven save/load error messages 2012-03-16 16:03:14 -04:00
Christoph Mallon
d21cef4117 JANITORIAL: Avoid the ugly operator invocation syntax. 2012-03-13 15:43:23 +01:00
Matthew Hoops
5e52b0a5d4 MOHAWK: Split the graphics classes into their own files 2012-03-10 13:55:08 -05:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
D G Turner
8c5f988a00 MOHAWK: Correct detection md5sum for Tortoise and the Hare Hebrew.
md5sum was for datafiles modified by bug submitter to access hidden
content. New md5sum is for unmodified standard release.
2012-02-16 20:57:52 +00:00
D G Turner
910e93db40 MOHAWK: Add Detection Entry for "Tortoise and the Hare" Hebrew Variant.
Parameter from bug #3441928 - "MOHAWK: Hebrew Tortoise and Hare not
detected".
2012-02-16 00:57:18 +00:00
D G Turner
8103d57d37 MOHAWK: Add Detection Entries For 3 LB Mac Games.
Parameters taken from bug #3461368 - "MOHAWK: Living Books Mac
Versions Not Recognized".
2012-02-15 17:36:58 +00:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Willem Jan Palenstijn
07904c881b MOHAWK: Avoid warning 2012-02-11 23:05:43 +01:00
Matthew Hoops
8a22c2d65e MOHAWK: Add another lilmonster demo 2011-12-19 19:06:57 -05:00
Andrea Corna
a6ec4f70da COMMON: Make more members of Archive constant. 2011-12-13 17:55:57 +01:00
Bastien Bouclet
b04af6dc31 MOHAWK: Display the weight up after resetting the clock puzzle in Myst ME 2011-12-12 19:29:26 +01:00
Matthew Hoops
d1628feb76 MOHAWK: Fix Myst ME Mac picture file names 2011-12-12 12:28:49 -05:00
Matthew Hoops
8cd55a11a0 MOHAWK: Fix Stoneship's hologram projector 2011-12-12 12:28:48 -05:00
Alyssa Milburn
99d3b7b5c3 MOHAWK: Stub LB clone command. 2011-12-08 23:23:35 +01:00
Alyssa Milburn
64c5a12d60 MOHAWK: Fix LBCode goto notify. 2011-12-08 23:18:08 +01:00
Alyssa Milburn
ef22475988 MOHAWK: Implement LB getProperty/setProperty. 2011-12-08 23:15:48 +01:00
Alyssa Milburn
0d71aa7969 MOHAWK: LB variables are case-insensitive. 2011-12-08 23:12:53 +01:00
Alyssa Milburn
0db0bf4504 MOHAWK: Name the LB phases, and default to kLBPhaseLoad for v3+. 2011-12-08 23:08:34 +01:00
Alyssa Milburn
3be628735b MOHAWK: Implement LB exec,return. 2011-12-02 00:06:58 +01:00
Alyssa Milburn
2657d14636 MOHAWK: Implement LB add,addAt,setAt. 2011-12-02 00:05:45 +01:00
Alyssa Milburn
82ff40c548 MOHAWK: Implement LBCode::itemIsLoaded. 2011-12-02 00:03:01 +01:00
Alyssa Milburn
9b00b3d5b7 MOHAWK: LB list improvements, implement &= operator. 2011-12-02 00:01:06 +01:00
Alyssa Milburn
446822369b MOHAWK: Implement LB move/moveTo. 2011-12-01 23:59:15 +01:00
Alyssa Milburn
43d6d49e2e MOHAWK: Handle LB conversion from string to point/rect. 2011-12-01 23:55:40 +01:00
Alyssa Milburn
3a2bd43c75 MOHAWK: Fix kLBOpBreakExpression. 2011-12-01 23:54:48 +01:00
Alyssa Milburn
3553e58bb0 MOHAWK: Run LB load-time scripts properly. 2011-12-01 23:54:18 +01:00
Alyssa Milburn
553d32a818 MOHAWK: Implement LBCode::cmdMousePos. 2011-12-01 23:52:47 +01:00
Alyssa Milburn
d015a37e00 MOHAWK: Fix parameterless calls when parsing LB scripts. 2011-12-01 23:51:52 +01:00
Alyssa Milburn
1e9ea08495 MOHAWK: Fix LBCode seek/seekToFrame. 2011-11-27 21:02:13 +01:00
Alyssa Milburn
e4bdea7c17 MOHAWK: Stub LB's min/max/abs. 2011-11-27 00:11:34 +01:00
Alyssa Milburn
9f56876165 MOHAWK: Add the start of support for LBXDataFile. 2011-11-26 23:50:45 +01:00
Alyssa Milburn
dc02f67127 MOHAWK: Add some basic LB list support. 2011-11-26 23:45:40 +01:00
Alyssa Milburn
a6af439eff MOHAWK: Add Rugrats subfolders to the path too. 2011-11-26 23:37:54 +01:00
Alyssa Milburn
89b1ff3dc3 MOHAWK: Run kLBEventInit at init time. 2011-11-26 20:49:02 +01:00
Alyssa Milburn
285a92ffaa MOHAWK: Handle globals from the LB book info file. 2011-11-26 20:49:02 +01:00
Alyssa Milburn
4466b6556a MOHAWK: Start the LB load phase at load time. 2011-11-26 20:49:02 +01:00
Alyssa Milburn
581aca66fa MOHAWK: Parse true/false in LB scripts. 2011-11-26 20:49:02 +01:00
Alyssa Milburn
61bac6ed15 MOHAWK: Convert between rects/points in LB code (thanks clone2727). 2011-11-25 23:03:18 +01:00
Alyssa Milburn
d070d11c30 MOHAWK: Name/stub some unknown LB item flags. 2011-11-25 23:00:22 +01:00
Alyssa Milburn
4d4c84fd82 MOHAWK: Load/unload LB proxies properly. 2011-11-25 22:59:30 +01:00
Alyssa Milburn
528c1173d7 MOHAWK: Implement kLBOpLoad, kLBOpUnload. 2011-11-20 20:24:51 +01:00
Alyssa Milburn
383b307f69 MOHAWK: Replace _neverEnabled with basic _loaded logic. 2011-11-20 20:24:31 +01:00
Alyssa Milburn
c74b364b21 MOHAWK: Implement LB's makePt. 2011-11-20 16:32:23 +01:00
Alyssa Milburn
40474f0bc6 MOHAWK: Draw LB items in sorted order. 2011-11-20 16:30:33 +01:00
Matthew Hoops
ff7bd63238 MOHAWK: Make rocketSliderGetSound easier to understand 2011-11-03 17:57:02 -04:00
Bastien Bouclet
26c5a1f3a4 MOHAWK: Fix an incorrect state update in Myst / Stoneship.
Thanks to sev and clone2727 for respectively spotting and fixing the issue.
2011-11-03 19:08:10 +01:00