David Turner
43800ebf0c
MOHAWK: Remove unused variables warnings introduced in r54982.
...
svn-id: r54994
2010-12-21 22:16:37 +00:00
Filippos Karapetis
42dc70bb83
- SCI: Added code to free the _baseVars value in SCI3 as well. Both free() operations
...
have been commented out for now, as MSVC complains about heap corruption in SCI3 games
- Code formatting fixes
svn-id: r54991
2010-12-21 21:18:25 +00:00
Filippos Karapetis
7680ed0be7
Added back the null check in kArray(cpy): it happens in SCI3
...
svn-id: r54990
2010-12-21 20:54:33 +00:00
Alyssa Milburn
372ede7904
MOHAWK: Support compound images (subimages)
...
These are images embedded in the bitmap data of another image; they
are used in CSTime and Zoombinis, at least. Thanks to clone2727 for
helping me puzzle this out.
svn-id: r54989
2010-12-21 18:16:37 +00:00
Alyssa Milburn
7e5ffb2bcf
MOHAWK: Remove sound.h include from resource.h
...
svn-id: r54988
2010-12-21 18:16:20 +00:00
Alyssa Milburn
e97b2d25d1
MOHAWK: Allow DefaultCursorManager to use alternative tags
...
svn-id: r54987
2010-12-21 18:15:56 +00:00
Lars Skovlund
7b0760f1bc
Make Object::_baseMethod a Common::Array. This is intended to clean up
...
the Object class, and it also plugs a leak.
svn-id: r54986
2010-12-21 15:36:27 +00:00
Lars Skovlund
f1cd95e462
Simplify SCI3 relocation code, also making it correct.
...
svn-id: r54985
2010-12-21 15:34:02 +00:00
Filippos Karapetis
3a14a7760e
SCI: Fixed bug #3092115 - "ECOQUEST2: Initial text not cleared during ecorder intro"
...
svn-id: r54984
2010-12-21 15:31:59 +00:00
Filippos Karapetis
75649f8903
SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping dialogs
...
in the Windows version of KQ6
svn-id: r54983
2010-12-21 07:53:34 +00:00
David Turner
3d3f7b09b2
MOHAWK: Add Framework of getVar(), setVar() and toggleVar() to Myst Stoneship Script Parser.
...
svn-id: r54982
2010-12-21 01:09:14 +00:00
David Turner
b87bc18d22
MOHAWK: Add var getters for Myst Stellar Observatory Date-Time Display.
...
svn-id: r54980
2010-12-20 18:44:25 +00:00
Arnaud Boutonné
39fec99f26
HUGO: Fix several warnings reported by CppCheck
...
svn-id: r54979
2010-12-20 17:40:19 +00:00
Arnaud Boutonné
184d56df0a
HUGO: Improve keyboard handling
...
- Handle keypad
- Fix 'QWERTY' only issue
- Suppress useless variable and parameter
svn-id: r54977
2010-12-20 17:25:58 +00:00
Filippos Karapetis
26dfb6affa
SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
...
The left window dimension adjustment (rev #48772 ) has been moved from
GfxPorts::setOrigin() into GfxPorts::addWindow(), as the updated dimension is
later used when filling the contents of the window (apparent in some fan made
games)
svn-id: r54976
2010-12-20 15:30:31 +00:00
Filippos Karapetis
4b836d611f
SCI: Fixed bug #3037945 - "PQ3 : Graphical Glitch with White Mercedes on Freeway"
...
svn-id: r54975
2010-12-20 12:21:18 +00:00
Filippos Karapetis
d3340b0d0c
SCI: Commented out unused signal flags
...
svn-id: r54974
2010-12-20 12:19:28 +00:00
Bastien Bouclet
9c23440ae4
MOHAWK: Fix 2 crashers with the Myst imager (selecting 00 and playing the moutain video).
...
svn-id: r54973
2010-12-20 07:58:45 +00:00
David Turner
3cc456bf2a
MOHAWK: Fixed Valgrind Error in Myst When Selecting 0 in Imager Code (Myst Card 4709)
...
Reworked MystGraphics::copyImageSectionToScreen() :
Added clipping of width and height within src surface dimensions.
Improved function readability.
svn-id: r54972
2010-12-20 04:29:53 +00:00
Arnaud Boutonné
9fd43ba6cc
HUGO: Add god mode to H1 Dos and H2 Dos
...
svn-id: r54970
2010-12-20 00:18:03 +00:00
Arnaud Boutonné
8a1f628d37
HUGO: Fix case bug in God Mode
...
svn-id: r54969
2010-12-19 23:44:53 +00:00
Bastien Bouclet
da53b85498
MOHAWK: Implement Myst opcodes 109, 117, 118 and 208 : dock forechamber imager
...
svn-id: r54965
2010-12-19 17:36:36 +00:00
Arnaud Boutonné
5e9002a4aa
HUGO: Implement setBackgroundColor()
...
svn-id: r54963
2010-12-19 16:07:03 +00:00
Filippos Karapetis
91bee3e7b0
SCI: Added another English version of QFG3 (bug #3125559 )
...
svn-id: r54962
2010-12-19 15:48:51 +00:00
Henry Bush
49d529cb7a
GROOVIE: Add two new t7g detection entries, one from bug tracker, one from me
...
svn-id: r54961
2010-12-19 08:56:42 +00:00
Bastien Bouclet
c2bae4b35b
MOHAWK: Add 2 Myst var getter / setters
...
svn-id: r54960
2010-12-19 07:26:34 +00:00
Bastien Bouclet
c3fdcef751
MOHAWK: Fix Myst courtyard boxes. Hover areas entering / leaving is now handled separatly from other resources since the former have to get events even when they are disabled.
...
svn-id: r54959
2010-12-19 07:02:02 +00:00
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
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
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
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
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
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
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
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
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
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
Alyssa Milburn
9e483b79ce
MOHAWK: Skip CD-ROM titles in LB paths
...
svn-id: r54885
2010-12-12 19:00:53 +00:00
Matthew Hoops
26c3705152
MOHAWK: Silence warnings
...
svn-id: r54884
2010-12-12 18:55:27 +00:00
Bastien Bouclet
c6887d0404
MOHAWK: Implement Myst opcodes 106, 108 and 202 : tower rotation
...
svn-id: r54883
2010-12-12 18:41:15 +00:00
Nicola Mettifogo
d19d9991b2
PARALLACTION: do not skip commands on Examine zones if there is no text to show. This fixes bug #3135782 .
...
svn-id: r54882
2010-12-12 11:43:23 +00:00
Arnaud Boutonné
2bbe59ad8d
HUGO: Replace PROMPT box by YESNO box in H3 Dos
...
This only applies to the old man dialog.
This makes H3 Dos completable.
svn-id: r54881
2010-12-12 08:37:19 +00:00
Arnaud Boutonné
c428cfbb85
HUGO: Fix "mouse" bug in H3 Dos, TPS tuning
...
- Fix "mouse" bug in H3 DOS. Game is still not completable
- Use variable normal TPS, as it was slightly different in
some DOS versions
svn-id: r54880
2010-12-12 07:40:00 +00:00
Nicola Mettifogo
c4e4f7dc86
PARALLACTION: parse command lists for kNoneType zones, even if defined after TYPE markers. This fixes bug #3131769 .
...
svn-id: r54879
2010-12-12 07:17:13 +00:00
Alyssa Milburn
d88476e677
MOHAWK: parse LB script named targeting modes
...
svn-id: r54874
2010-12-12 00:18:49 +00:00
Florian Kagerer
56f98a8574
SCUMM/FM-TOWNS: hopefully fix bug #1463434
...
o5_verbOps() case 9 (SO_VERB_NEW) works slightly different in SCUMM 3 FM-TOWNS (I don't know about DOS).
This should fix the issue with the broken key shortcuts.
Old savegames won't be fixed, though (since the broken verb states will be restored from the save file).
svn-id: r54872
2010-12-11 23:51:50 +00:00
Alyssa Milburn
85c8960d8b
MOHAWK: Improve LB script parsing
...
svn-id: r54871
2010-12-11 23:48:29 +00:00
Alyssa Milburn
7c97a86a9a
MOHAWK: Add size check when reading LB messages
...
svn-id: r54870
2010-12-11 19:53:44 +00:00
Alyssa Milburn
60c844efd3
MOHAWK: Add yet more fallbacks for LB page loading
...
svn-id: r54869
2010-12-11 19:53:28 +00:00
Matthew Hoops
b1e3b48418
MOHAWK: Fix some Myst ME cards that store PICT images in WDIB resources (see myst 4013)
...
svn-id: r54867
2010-12-11 18:38:27 +00:00
Bastien Bouclet
36851d4eb4
MOHAWK: Implement Myst opcodes 113, 114, 198 : Vault open / close
...
In progress tower rotation
svn-id: r54866
2010-12-11 17:00:22 +00:00
Matthew Hoops
43aa47dd31
MOHAWK: Fix loading with non-Selenitic red/blue pages in hand
...
svn-id: r54865
2010-12-11 16:55:25 +00:00
Bastien Bouclet
adc7dc0785
MOHAWK: Fix using wrong coordinates in Myst opcode 28, restoreDefaultRect
...
svn-id: r54864
2010-12-11 12:59:56 +00:00
Bastien Bouclet
7419d8c087
MOHAWK: Implement Myst opcodes 116, 186, 188, 189, clock tower time controls
...
svn-id: r54863
2010-12-11 11:40:12 +00:00
Bastien Bouclet
2a8c1ab13a
MOHAWK: Change Myst fireplace and green book to use correct vars
...
svn-id: r54859
2010-12-11 08:33:39 +00:00
Matthew Hoops
eefb3ee787
MOHAWK: Fix another typo (heigth -> height)
...
svn-id: r54858
2010-12-10 20:09:05 +00:00
Matthew Hoops
9aa7f2e7f0
MOHAWK: Fix a typo
...
svn-id: r54857
2010-12-10 20:05:38 +00:00
Bastien Bouclet
107a2a25aa
MOHAWK: Implement Myst opcode 115, give page to book
...
svn-id: r54856
2010-12-10 19:51:00 +00:00
Arnaud Boutonné
f8fa960cfd
HUGO: Enable the use of the icon based inventory
...
In Win versions, F6 now opens the directory. Not perfect yet...
svn-id: r54853
2010-12-10 07:08:54 +00:00
Arnaud Boutonné
e6366d4972
HUGO: Fix bug in HUGO.DAT loading
...
svn-id: r54852
2010-12-10 07:03:24 +00:00
Matthew Hoops
6bc638a54b
MOHAWK: Fix the Myst drawImage debug command
...
svn-id: r54850
2010-12-10 02:10:18 +00:00
Alyssa Milburn
4393ef1bd5
MOHAWK: Fix LBPaletteItem to handle variable-size palettes
...
svn-id: r54846
2010-12-09 21:25:21 +00:00
Alyssa Milburn
0257f2a217
MOHAWK: Implement LBMovieItem
...
svn-id: r54845
2010-12-09 21:25:05 +00:00
Alyssa Milburn
eecc2bcb12
MOHAWK: Don't redraw the screen every frame in LB
...
svn-id: r54844
2010-12-09 21:24:46 +00:00
Alyssa Milburn
32ed3b3582
MOHAWK: Allow background videos to be played/manipulated with resource handles
...
svn-id: r54843
2010-12-09 21:24:31 +00:00
Alyssa Milburn
8be4da02f6
MOHAWK: Add BCOD resource type
...
svn-id: r54842
2010-12-09 21:24:12 +00:00
Arnaud Boutonné
9a117e3eca
HUGO: Hopefully fix overlapping memory regions
...
Thanks Digitall for debugging that
svn-id: r54835
2010-12-08 21:18:48 +00:00
Arnaud Boutonné
efc5ab5398
HUGO: Fix an episode name and several picture directories
...
svn-id: r54834
2010-12-08 20:51:44 +00:00
Alyssa Milburn
5db43d641e
MOHAWK: Use named constants for LB opcodes, add warnings when unimplemented
...
svn-id: r54833
2010-12-08 15:45:40 +00:00