Bastien Bouclet
2ac1fdad32
Revert "MOHAWK: Revert the screen cache since it has a huge performance hit, and is not needed as is."
...
This reverts commit 291bea1858 .
svn-id: r54624
2010-11-29 20:57:41 +00:00
Bastien Bouclet
359cece3b7
MOHAWK: Implement opcode 3 "take / drop page", and the corresponding getters and setters for selenitic
...
svn-id: r54623
2010-11-29 20:57:27 +00:00
Bastien Bouclet
d3289529eb
MOHAWK: Fix flag values used to dertermine if an area can become active.
...
svn-id: r54622
2010-11-29 20:57:11 +00:00
Bastien Bouclet
3b1440b0d4
MOHAWK: Implement / fix Myst opcode 4.
...
svn-id: r54621
2010-11-29 20:56:56 +00:00
Bastien Bouclet
92dc0fe5b5
MOHAWK: Only draw a resource conditional subimages if it has the "subimages enabled" flag set.
...
svn-id: r54620
2010-11-29 20:56:39 +00:00
Bastien Bouclet
0cff3be66f
MOHAWK: More Myst common opcodes checking / renaming
...
svn-id: r54619
2010-11-29 20:56:21 +00:00
Bastien Bouclet
c7e488c201
MOHAWK: Rename and fix / explain a few Myst opcodes
...
svn-id: r54618
2010-11-29 20:56:04 +00:00
Bastien Bouclet
fa7ec5ae4c
MOHAWK: Describe Myst opcode 9
...
svn-id: r54617
2010-11-29 20:55:50 +00:00
Bastien Bouclet
34981c61b6
MOHAWK: Fix Myst opcode 14
...
svn-id: r54616
2010-11-29 20:55:31 +00:00
Bastien Bouclet
92d74fa56d
MOHAWK: Disabled hotspots are now unclickable areas. Display blue rects for unreachable zip destinations when drawing resource rects.
...
svn-id: r54615
2010-11-29 20:55:11 +00:00
Bastien Bouclet
0ac6af59d1
MOHAWK: Check / Fixed / Renamed some simple opcodes.
...
svn-id: r54614
2010-11-29 20:54:52 +00:00
Bastien Bouclet
18e1f4a8c3
MOHAWK: Added helpher functions to redraw a resource. Do not redraw all the resources on mouse up.
...
svn-id: r54613
2010-11-29 20:54:36 +00:00
Bastien Bouclet
d8b5319f15
MOHAWK: Fixed some warnings
...
svn-id: r54612
2010-11-29 20:54:23 +00:00
Bastien Bouclet
95e97094fb
MOHAWK: Completed the sound lock puzzle
...
svn-id: r54611
2010-11-29 20:54:11 +00:00
Bastien Bouclet
00e13f4c25
MOHAWK : Implemented selenitic sound lock slider opcodes and adjusted sliders behaviour.
...
svn-id: r54610
2010-11-29 20:53:56 +00:00
Bastien Bouclet
462a150b8a
MOHAWK: Implement value setters for the selenitic sound lock sliders
...
svn-id: r54609
2010-11-29 20:53:38 +00:00
Bastien Bouclet
c832151fa5
MOHAWK: Implement slider value setting
...
svn-id: r54608
2010-11-29 20:53:26 +00:00
Bastien Bouclet
8da42b4221
MOHAWK: Don't change current resource when dragging
...
svn-id: r54607
2010-11-29 20:53:14 +00:00
Bastien Bouclet
b4913548d0
MOHAWK: Implement sliders
...
svn-id: r54606
2010-11-29 20:53:00 +00:00
Bastien Bouclet
291bea1858
MOHAWK: Revert the screen cache since it has a huge performance hit, and is not needed as is.
...
svn-id: r54605
2010-11-29 20:52:46 +00:00
Bastien Bouclet
e26fb921e9
MOHAWK; Post rebase fixes :
...
- Restore invoking resource change
- Update the screen after drawing a conditional image
svn-id: r54604
2010-11-29 20:52:33 +00:00
Bastien Bouclet
200cafd40f
MOHAWK: Start implementing type 10 areas
...
svn-id: r54603
2010-11-29 20:52:20 +00:00
Bastien Bouclet
fc504c72e8
MOHAWK: Update area type 11 position when the mouse moves
...
svn-id: r54602
2010-11-29 20:52:04 +00:00
Bastien Bouclet
dab856c33f
MOHAWK: Fix selenitic sound receiver left button
...
svn-id: r54601
2010-11-29 20:51:48 +00:00
Bastien Bouclet
536c6b6ef4
MOHAWK: Rename some fields for type 11 areas
...
svn-id: r54600
2010-11-29 20:51:35 +00:00
Bastien Bouclet
a85346cb16
MOHAWK : Change areas inheritance to match the original
...
svn-id: r54599
2010-11-29 20:51:18 +00:00
Bastien Bouclet
2e984cf136
MOHAWK : Move area classes to their own file
...
svn-id: r54598
2010-11-29 20:51:04 +00:00
Bastien Bouclet
16afca4c3d
MOHAWK: Add mouse move event for type 10 and 11 resources
...
svn-id: r54597
2010-11-29 20:50:40 +00:00
Bastien Bouclet
49ed251573
MOHAWK: Name selenitic opcodes, and implement opcode 204
...
svn-id: r54596
2010-11-29 20:50:25 +00:00
Bastien Bouclet
4e420ef6fc
MOHAWK: Keep resource type around
...
svn-id: r54595
2010-11-29 20:50:11 +00:00
Bastien Bouclet
117f46a884
MOHAWK : Cleanup selenium opcodes
...
svn-id: r54594
2010-11-29 20:49:56 +00:00
Bastien Bouclet
6a4ff1a9b5
MOHAWK : Finished implementing Selenitic sound receiver
...
svn-id: r54593
2010-11-29 20:49:42 +00:00
Bastien Bouclet
5f8e6e3824
MOHAWK: Start splitting Myst scripts into one class per Stack.
...
svn-id: r54592
2010-11-29 20:49:14 +00:00
Matthew Hoops
cef8d20fb2
MOHAWK: Divide GType_LIVINGBOOKSV3 into V2 and V3
...
svn-id: r54570
2010-11-29 12:51:53 +00:00
Matthew Hoops
6a456a0e0e
MOHAWK: Set Maggie's Farmyard Adventure as an LB game
...
The game will start, but has many problems as it uses a later version of the LB code. Also, make sure we check for filename being empty to stop an assertion in the MacCursorManager.
svn-id: r54566
2010-11-29 06:35:50 +00:00
David Turner
207b9a25df
MOHAWK: Add Detection Entry For "ABC By Dr Seuss" Living Book Game
...
svn-id: r54565
2010-11-29 01:34:56 +00:00
Matthew Hoops
2d924afa9d
MOHAWK: Add basic Living Books support (all credit goes to fuzzie!)
...
v1 and v3 (both Windows and Mac) are working, v1 support is in better shape.
svn-id: r54558
2010-11-28 22:55:15 +00:00
Matthew Hoops
3d4ca8e405
MOHAWK: Add an isPlaying() and stopSound(id) function to Sound (for LB and others)
...
svn-id: r54514
2010-11-27 21:36:04 +00:00
Matthew Hoops
73ee52c670
MOHAWK: Fix non-LZ compressed old Mohawk bitmaps (thanks, fuzzie)
...
svn-id: r54501
2010-11-26 15:06:35 +00:00
Matthew Hoops
21c6bbde5d
MOHAWK: Fill in meanings of known resources
...
svn-id: r54497
2010-11-26 14:28:33 +00:00
Matthew Hoops
abe6baafb9
MOHAWK: Enable the drawImage debug command for all LB games
...
svn-id: r54491
2010-11-26 06:08:04 +00:00
Max Horn
5ae718d148
MOHAWK: Add missing include, which prevented the CursorMan destructor from being called
...
svn-id: r54470
2010-11-25 11:18:20 +00:00
Matthew Hoops
07ea74d37b
MOHAWK: Refactor cursor handling
...
Cursor handling has now been moved to a new CursorManager class (which is subclassed for Myst/Riven) from the GraphicsManager classes. This will be needed for Living Books which will have a class for Windows and Mac cursors (coming soon!).
svn-id: r54469
2010-11-25 04:49:11 +00:00
Matthew Hoops
4c733c4278
MOHAWK: Cleanup image surface handling
...
- Renamed ImageData to MohawkSurface
- Added offset x/y fields to MohawkSurface
- The image cache now stores MohawkSurface pointers
- Switched Living Books to 8bpp mode (it requires that in the end anyway)
svn-id: r54468
2010-11-25 02:59:56 +00:00
Matthew Hoops
f5b1b9fa75
MOHAWK: Change the unused version detection field to 'appName' for use with LB
...
svn-id: r54462
2010-11-24 21:12:21 +00:00
Max Horn
be822d8bc2
MOHAWK: Pass Common::Strings directly to SaveFileManager, instead of first converting to a C string
...
svn-id: r54444
2010-11-23 22:32:55 +00:00
Max Horn
121056c12f
MOHAWK: Pass objs by const ref not by value
...
svn-id: r54443
2010-11-23 22:32:39 +00:00
Matthew Hoops
90cabfef38
MOHAWK: Find the small marble images by string; should fix German version
...
svn-id: r54431
2010-11-23 18:29:45 +00:00
Matthew Hoops
799757132f
MOHAWK: Remove the no longer needed RLE8 hack
...
svn-id: r54430
2010-11-23 18:15:45 +00:00
Matthew Hoops
26bf0e8176
MOHAWK: Fix a typo fail (thanks, fuzzie)
...
svn-id: r54419
2010-11-22 18:09:31 +00:00