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
Matthew Hoops
cb843daec0
MOHAWK: Have MohawkResource::open() return a bool for success/failure
...
svn-id: r54418
2010-11-22 18:07:33 +00:00
Matthew Hoops
9d4827b5e1
MOHAWK: Fix gspit dome from always opening
...
svn-id: r54417
2010-11-22 17:51:54 +00:00
Matthew Hoops
cc6c7e33bf
MOHAWK: Switch slider bitmap ID's to matching via string; fixes some versions
...
svn-id: r54416
2010-11-22 17:50:30 +00:00
Matthew Hoops
5616bde4e7
MOHAWK: Fix Living Books v1 sound (courtesy of fuzzie)
...
svn-id: r54397
2010-11-21 00:02:25 +00:00
Matthew Hoops
0f2bcd2f9f
MOHAWK: Cleanup resource handling
...
- Renamed getRawData() to getResource()
- Add a getResource() and hasResource() function for named resources
- Other minor formatting changes
svn-id: r54396
2010-11-20 23:53:14 +00:00
Matthew Hoops
7fb352e38a
MOHAWK: Implement an image cache system
...
This should greatly improve the performance in Myst (especially Myst ME, which uses the slow JPEG decoder). This should also slightly improve the Riven performance; the sliders now work a bit better.
svn-id: r54388
2010-11-19 21:25:36 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Matthew Hoops
769b460f0d
MOHAWK: Implement another Riven demo external
...
xademoquit() is called from card 12 when clicking anywhere but the system requirements (which is why I hadn't noticed it earlier). I've also stubbed another demo function (xaexittomain()), called from an unused card's script for completeness.
svn-id: r54359
2010-11-19 03:52:06 +00:00
Matthew Hoops
d94844f205
MOHAWK: Add support for Riven 24bpp images (not yet used)
...
svn-id: r54345
2010-11-18 20:40:48 +00:00
Matthew Hoops
411866ee18
MOHAWK: Cleanup bitmap surface and pack/draw function handling
...
svn-id: r54338
2010-11-18 19:06:38 +00:00
Matthew Hoops
ffc6ed643f
MOHAWK: Remove unused drawRLE() function
...
svn-id: r54320
2010-11-18 13:48:49 +00:00
Matthew Hoops
48416a7f03
MOHAWK: Implement the old Mohawk bitmap format (thanks to fuzzie)
...
svn-id: r54319
2010-11-18 13:31:12 +00:00
Matthew Hoops
d971396572
MOHAWK: Cleanup Myst script handling
...
Scripts are now loaded from a central place and are properly freed at the correct time. This fixes a regression from r54152.
svn-id: r54309
2010-11-18 05:47:16 +00:00
Matthew Hoops
ecb42156ce
MOHAWK: Cache the Myst screen buffer
...
This is needed for use with sliders. The screen is now updated fewer times as well.
svn-id: r54300
2010-11-17 19:58:19 +00:00
Matthew Hoops
4e445b9467
MOHAWK: Apply patch #2988976 : "MYST: Fix drawing partial subimages"
...
svn-id: r54297
2010-11-17 18:22:22 +00:00
Max Horn
668adaa461
GUI: Rename gui/GuiManager.* to gui/gui-manager.*
...
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
427dc1ae93
GUI: Move major widgets to new directory gui/widgets
...
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
2010-11-16 10:11:57 +00:00
Matthew Hoops
45f4f84e03
MOHAWK: Fix one more memory leak (hopefully the last :))
...
svn-id: r54166
2010-11-09 18:58:44 +00:00
Matthew Hoops
0dd4a46102
MOHAWK: Fix cache memory leak and some formatting
...
svn-id: r54165
2010-11-09 18:52:29 +00:00