Commit Graph

43040 Commits

Author SHA1 Message Date
David Turner
e9e09d297c MOHAWK: Added further var getter and setter code for Myst Island.
This fixes Stellar Observatory Lights.

svn-id: r54958
2010-12-19 02:27:09 +00:00
David Turner
fd5b8b7fa0 MOHAWK: Add some missing var getters for Myst Island.
svn-id: r54957
2010-12-18 22:12:36 +00:00
Johannes Schickel
e5463502c0 NEWS: Set 1.2.1 release date in trunk's NEWS file too.
svn-id: r54956
2010-12-18 19:28:27 +00:00
Bastien Bouclet
3e31ed6d98 MOHAWK: Myst sound rework, part 2
svn-id: r54954
2010-12-18 13:13:49 +00:00
Bastien Bouclet
c870bf22d1 MOHAWK: Separate background sound handling from other sounds for Myst. Allow the scripts to change the background sound volume.
svn-id: r54953
2010-12-18 13:12:56 +00:00
Florian Kagerer
41acf18a53 FMTOWNS AUDIO: formatting
svn-id: r54950
2010-12-18 12:17:33 +00:00
Bastien Bouclet
03da126ec7 MOHAWK: Implement Myst opcodes 157, 161 and 162: Rocket piano
svn-id: r54949
2010-12-18 08:07:16 +00:00
Arnaud Boutonné
222d2809e9 HUGO: little code cleanup
svn-id: r54948
2010-12-17 23:12:36 +00:00
Bastien Bouclet
7daea87e61 MOHAWK: Yet more Myst vertical alignment / clipping fixes.
Fixes the boiler wheels drawing incorrectly. Fixes the rocket piano's leftmost key drawing too high. Fixes the timeclock controls beeing misaligned.

svn-id: r54947
2010-12-17 18:18:52 +00:00
Matthew Hoops
8ec9f96d54 MOHAWK: Remove global construction of _viewport
svn-id: r54945
2010-12-17 14:36:32 +00:00
Johannes Schickel
44dfb67faa GUI: Adapt GUI themes to latest Mohawk resolution change.
svn-id: r54944
2010-12-17 12:23:59 +00:00
Bastien Bouclet
c441539bb0 MOHAWK: Change resolution to 544x332 to match the original.
This fixes the vertical alignment issues, and graphic corruption on some cards.

svn-id: r54943
2010-12-17 11:31:08 +00:00
Yotam Barnoy
8d1f3f00ad PSP: fixed bug exhibited in Gob engine with blacked out video frames
The problem was that I was allowing changes to the palette (in this case) even before the separate display thread, which is synchronized to vsync, was done drawing. This caused the palette to change mid-render.

The fix is a semaphore synchronizing the threads.

svn-id: r54942
2010-12-17 10:58:34 +00:00
Bastien Bouclet
151d180e55 MOHAWK: Implement Myst opcodes 128, 168, 216, 217, 304, 305, and 153 to 156 : Giant tree. Channelwood is now accessible from Myst.
svn-id: r54941
2010-12-17 07:44:59 +00:00
David Turner
e3eddf32e9 MYST: Add Var Getter For Myst Courtyard Box Variables.
svn-id: r54937
2010-12-16 20:52:18 +00:00
Alyssa Milburn
eac4a64143 VIDEO: Add CDToons decoder
svn-id: r54936
2010-12-16 17:01:09 +00:00
Alyssa Milburn
3d81fc1522 MOHAWK: Move readString into the LB engine class
svn-id: r54935
2010-12-16 16:53:26 +00:00
Bastien Bouclet
68e32de097 MOHAWK: Implement Myst opcodes 146, 149, 150, 150 : Minimal boiler
svn-id: r54934
2010-12-16 16:13:50 +00:00
Bastien Bouclet
24808d49eb MOHAWK: Added the "resources" command to Myst's debug console, which lists the resources in the current card.
Allow the "drawRect" debug command to take a resource id as a parameter, to draw the resource's bounding rect.

svn-id: r54933
2010-12-16 16:12:38 +00:00
Matthew Hoops
ebf2dd8d38 VIDEO: Extend Codec to support internal palettes
svn-id: r54932
2010-12-16 13:25:29 +00:00
Bastien Bouclet
1b267f5281 MOHAWK: Implement Myst opcodes 147, 169, 182 : Cabin match
svn-id: r54931
2010-12-16 08:03:19 +00:00
Matthew Hoops
9285986e62 VIDEO: Make Codec::decodeImage() return a const Surface pointer
svn-id: r54930
2010-12-16 02:02:53 +00:00
Matthew Hoops
98a2bc8a9a VIDEO: Remove the need to call updateAudioBuffer() externally for QuickTime
svn-id: r54929
2010-12-16 01:49:29 +00:00
Matthew Hoops
1ead0d8436 VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
svn-id: r54928
2010-12-16 01:41:11 +00:00
Matthew Hoops
375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Arnaud Boutonné
a2bb676c19 HUGO: Fix pathfinding bug in 'bridge' screen (H3 Dos)
svn-id: r54926
2010-12-15 23:52:24 +00:00
Filippos Karapetis
aa15235858 SCI: Slight cleanup
svn-id: r54925
2010-12-15 23:35:21 +00:00
David Turner
58b7295193 SCI: Fixed View Cel RLE Decoding when RLE Code 0x40 is used (Corrects Bug #3135872 "LSL1VGA: "Pause Game" problem")
In the copy case, the runLength can be up to 127, not 64 i.e. the LSB of the RLE code forms part of the runLength.

svn-id: r54924
2010-12-15 22:36:55 +00:00
Arnaud Boutonné
76eb9d7f64 HUGO: Clean-up, move MidiPlayer class definition to .h file
svn-id: r54923
2010-12-15 20:37:09 +00:00
Arnaud Boutonné
ca547118e3 HUGO: Ensure F6 (inventory) is only active when appropriate
svn-id: r54922
2010-12-15 20:11:59 +00:00
Arnaud Boutonné
f05f5348b7 HUGO: No longer shift down inventory by 8 pixels
svn-id: r54920
2010-12-15 07:35:20 +00:00
David Turner
f2205a5a01 SCI: Close Memory Leaks in SCI Resource Loading, reported by Valgrind.
svn-id: r54916
2010-12-14 23:30:22 +00:00
Matthew Hoops
e88fcee057 MOHAWK: Add support for DOS bitmaps (thanks to fuzzie for the EGA planar code)
svn-id: r54913
2010-12-14 22:59:39 +00:00
Matthew Hoops
0c677aacde MOHAWK: Add support for DOS v2 archives (CSWorld Deluxe)
svn-id: r54912
2010-12-14 22:58:51 +00:00
David Turner
3a5c8e6cfa SOUND: Fix Un-initialised Memory Reads in MT-32 Emulator, reported by Valgrind.
svn-id: r54909
2010-12-14 22:25:10 +00:00
Bastien Bouclet
d4ce603361 MOHAWK: Rework Myst GFX updates
- Initial card state is drawn to the back buffer
- Script driven updates are drawn to the front buffer
Allows opcode 28 (copy back buffer to screen) and opcodes 29/33 (copy image to screen / back buffer) to work properly.
Fixes among others the generator room lights, and the matchbox.

svn-id: r54907
2010-12-14 19:11:16 +00:00
Bastien Bouclet
c2e48f5c08 MOHAWK: Implement Myst opcodes 122 to 124 : Cabin safe handle
svn-id: r54905
2010-12-14 06:42:00 +00:00
Arnaud Boutonné
a90fdce46d HUGO: Add splash screen in H2 and H3 Win
svn-id: r54902
2010-12-13 21:08:52 +00:00
Alyssa Milburn
0082f8ec8b MOHAWK: parse LB subentries correctly
svn-id: r54901
2010-12-13 20:19:34 +00:00
Arnaud Boutonné
51685f26dc TOOL: Fix palette bug in H3 Dos (when leaving the cave)
svn-id: r54898
2010-12-13 00:20:45 +00:00
Alyssa Milburn
03777f1867 MOHAWK: Use named constants for LB control modes
svn-id: r54897
2010-12-13 00:03:15 +00:00
Alyssa Milburn
679f67b2e7 MOHAWK: Use named constants for LB timing modes
svn-id: r54896
2010-12-12 23:59:46 +00:00
Alyssa Milburn
0650934337 MOHAWK: Handle chained LB commands
svn-id: r54895
2010-12-12 23:11:23 +00:00
Arnaud Boutonné
47e9726385 TOOLS: Suppress 2 unused (and corrupted) act35 in H3 DOS
svn-id: r54894
2010-12-12 23:09:09 +00:00
Alyssa Milburn
1d61c9a508 MOHAWK: Handle kLBGlobalDisable
svn-id: r54893
2010-12-12 23:00:46 +00:00
Alyssa Milburn
c089fb22cd MOHAWK: More work on LB script parsing
svn-id: r54892
2010-12-12 23:00:15 +00:00
Bastien Bouclet
896316a96a MOHAWK: Fix freeze after tower rotation. Fix opcode 121 : cabin safe digit change.
svn-id: r54889
2010-12-12 19:28:43 +00:00
Alyssa Milburn
467b30f1a2 MOHAWK: Refactor/improve LB script entry parsing
svn-id: r54888
2010-12-12 19:01:46 +00:00
Alyssa Milburn
a97c90c903 MOHAWK: Always run kLBEventMouseUpIn, for now
svn-id: r54887
2010-12-12 19:01:27 +00:00
Alyssa Milburn
4d5ab0cff2 MOHAWK: Handle LB load phase
svn-id: r54886
2010-12-12 19:01:10 +00:00