871 Commits

Author SHA1 Message Date
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