Commit Graph

919 Commits

Author SHA1 Message Date
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
Strangerke
7d920d076a MOHAWK: Add GUIO_NOASPECT to mohawk 2011-10-24 06:10:06 +02:00
Matthew Hoops
b071ee4623 MOHAWK: Finish a comment that was left unfinished 2011-10-23 19:52:00 -04:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Alyssa Milburn
0f15f95912 MOHAWK: Add various Living Books detection entries from bug #3422652. 2011-10-15 17:12:51 +02:00
Filippos Karapetis
8ff61cd9c2 MOHAWK: Added an entry for lbsampler (bug #3309306), and marked two non working LB V3 games as unstable 2011-09-28 01:16:00 +03:00
Matthew Hoops
5e47c2cfb1 MOHAWK: Remove erroneous executable name from a detection entry 2011-09-24 11:32:31 -04:00
D G Turner
3039ea5e5e MOHAWK: Add Detection Entry for LBv3 games from bug #3413119.
These will not start yet, so maybe they should be marked as GF_UNSTABLE?
2011-09-24 14:11:56 +01:00
D G Turner
3eeef5cc8e MOHAWK: Add missing Living Book detection entry from bug #3413119. 2011-09-23 14:01:32 +01:00
Matthew Hoops
8004a82f29 MOHAWK: Fix using the Mac binary for Riven cursors 2011-08-29 10:35:08 -04:00
Bastien Bouclet
ac53915d01 MOHAWK: Stop the engine sound when Myst's generator voltage goes down to zero (patch from P. Monnerat) 2011-08-27 17:09:13 +02:00
Bastien Bouclet
e0030a2aab MOHAWK: Fix incorrect cursor in D'ni (patch from P. Monnerat) 2011-08-27 17:09:12 +02:00
Bastien Bouclet
2d8457fceb MOHAWK: Implement channelwood var getter 31 (patch from P. Monnerat) 2011-08-27 17:09:12 +02:00
Bastien Bouclet
3ca0b304cf MOHAWK: Implement fading for Myst Demo 2011-08-27 17:09:11 +02:00
Eugene Sandulenko
39a49bf817 MOHAWK: Explain some obscure strings to translators 2011-08-20 14:18:26 +01:00
Matthew Hoops
a18312677d MOHAWK: Use the default Windows cursor in /graphics now 2011-08-16 00:30:42 -04:00
Matthew Hoops
52d8146d9b MOHAWK: Fix timing of the first two Riven credits frames 2011-08-15 23:04:58 -04:00
Matthew Hoops
fcd84f67c8 MOHAWK: Stub off Riven transition speed code 2011-08-15 22:53:02 -04:00
Bastien Bouclet
72a9f06f93 MOHAWK: Add a return to menu button to the dialog for the demo 2011-08-14 09:18:21 +02:00
Bastien Bouclet
ef1f5d48fa MOHAWK: Implement remaining Myst demo sneak preview opcodes 2011-08-14 09:18:20 +02:00
Bastien Bouclet
df381055c4 MOHAWK: Implement remaining Myst demo menu opcodes 2011-08-14 09:18:20 +02:00
Bastien Bouclet
0bbd43eb32 MOHAWK: Implement Myst demo opcodes 298 and 299, sneak preview speech. 2011-08-13 20:22:27 +02:00
Alyssa Milburn
d13b967376 MOHAWK: Yet more LB detection entries. 2011-08-12 21:11:39 +02:00