Commit Graph

19356 Commits

Author SHA1 Message Date
David Turner
d3719a8192 HUGO: Partial Fix For Leaks from ReadPCX()
The shutdown() call has been reinstated, and freeObjects() now works without a double free and thus segfault, but this still misses some allocated resources...

svn-id: r54789
2010-12-05 22:02:04 +00:00
David Turner
7adecddbfc HUGO: Remove Invalid Memory Read in getSound() - Size not defined until after function returns.
svn-id: r54787
2010-12-05 21:52:42 +00:00
Matthew Hoops
669ad3d217 MOHAWK: Silence a warning
svn-id: r54779
2010-12-05 17:23:57 +00:00
Alyssa Milburn
f84b027e50 MOHAWK: read and use LB 2/3 conditions/commands
svn-id: r54778
2010-12-05 16:19:52 +00:00
Alyssa Milburn
9e6fe3bd88 MOHAWK: add runCommand/checkCondition routines for LB 2/3
svn-id: r54777
2010-12-05 16:19:35 +00:00
Bastien Bouclet
24a0b50ac3 MOHAWK: Implement Myst opcodes 158 to 166: Rocket sliders + check lever + link book
svn-id: r54776
2010-12-05 08:36:41 +00:00
Matthew Hoops
9a8539e1d8 MOHAWK: Fix tMOV resources at the end of the file list (thanks, fuzzie)
svn-id: r54774
2010-12-05 00:45:21 +00:00
Alyssa Milburn
4a8d68f3d3 MOHAWK: implement setGlobalEnable and setGlobalVisible for LB
svn-id: r54771
2010-12-04 23:48:31 +00:00
Alyssa Milburn
e37257fe39 MOHAWK: fix LB menu mode with subpages
svn-id: r54770
2010-12-04 23:48:14 +00:00
Alyssa Milburn
5928532f0b MOHAWK: fix LiveText items without phrases
svn-id: r54769
2010-12-04 23:47:59 +00:00
Alyssa Milburn
8ed8adeeba MOHAWK: tidy up LB hardcoded UI click functions, add poetry mode support
svn-id: r54768
2010-12-04 23:47:43 +00:00
Bastien Bouclet
52217fa434 MOHAWK: Implement Myst opcodes 120 and 210, rocket power generator
svn-id: r54759
2010-12-04 11:54:08 +00:00
Bastien Bouclet
4a8fc942b7 MOHAWK: Give meaningful names to the game global vars and selenitic vars
svn-id: r54758
2010-12-04 09:26:44 +00:00
Lars Persson
9163b9e032 LURE : Fix for ID: 3030143 Unexpected game cursor behavior. Always refresh menu and screen when mouse is moved.
svn-id: r54747
2010-12-03 09:23:56 +00:00
Sven Hesse
4b7af0244f GOB: Make drawYUV() more clear
(It's still wrong though :P)

svn-id: r54744
2010-12-02 21:40:17 +00:00
Alyssa Milburn
27799e354e MOHAWK: move shared setPalette/copyImage routines into GraphicsManager
svn-id: r54743
2010-12-02 21:25:15 +00:00
Alyssa Milburn
eb729b5f2e MOHAWK: implement kLBAnimOpDelay
svn-id: r54742
2010-12-02 21:24:55 +00:00
Bastien Bouclet
bf82f16982 MOHAWK: Implement Myst opcodes 141 to 143, circuit breakers
svn-id: r54741
2010-12-02 21:16:39 +00:00
Bastien Bouclet
a9388af996 MOHAWK: Fix resource type 12
svn-id: r54740
2010-12-02 21:15:47 +00:00
Johannes Schickel
c14399c229 SCI: Slight formatting fix.
svn-id: r54737
2010-12-02 17:03:21 +00:00
Filippos Karapetis
4fe03f1b66 SCI: Enabled the GUI option to play speech and show subtitles simultaneously in SQ4CD
svn-id: r54736
2010-12-02 13:37:39 +00:00
Lars Skovlund
0ac28d1fbf Disable error message regarding RESOURCE.AUD/.SFX for now.
svn-id: r54735
2010-12-02 13:29:49 +00:00
Matthew Hoops
41ad4a431d MOHAWK: Stub off various Myst opcodes
svn-id: r54731
2010-12-02 04:01:07 +00:00
Max Horn
31d2d2af4c SCUMM: Workaround for bug #1447058, a race condition in the game scripts
svn-id: r54730
2010-12-02 00:27:46 +00:00
Max Horn
e85d196f33 SCUMM: Fix bug in V12 games causing chars to be lost when wrapping talk text
svn-id: r54729
2010-12-02 00:27:26 +00:00
Johannes Schickel
b36b7ee349 SCUMM: Fix GM initialization when "enable_gs" is set.
This is a regression from r25630, which caused the code to send some garbage
data to the GS device, which resulted in some devices to fail with an
"Address Error." (like the Roland SC-55).

This might also fix bug #1927501 "GS option is broken". Even though actually
the device there failed with another error it is likely to be caused by the
same code. At least it is the only iMuse MIDI code change between 0.9.0 and
0.12.0, which might result in such a problem.

svn-id: r54727
2010-12-01 23:55:10 +00:00
David Turner
349ebe94f1 HUGO: Add Missing shutdown() Call - Currently Disabled.
The engine shutdown() function is required to be called to clean up a number of allocated memory blocks. Unfortunately, this currently causes double free issues. This call is added, but commented out with a FIXME explaining this.

svn-id: r54726
2010-12-01 23:15:28 +00:00
Arnaud Boutonné
a029f6a5c4 GOB: Add back 3 empty lines used by DrMcCoy
svn-id: r54724
2010-12-01 21:08:47 +00:00
Matthew Hoops
bdc3742ced MOHAWK: Split makingof and preview opcodes into their own class (and now all are separate)
svn-id: r54723
2010-12-01 21:05:08 +00:00
Bastien Bouclet
f3bda71376 MOHAWK: Implement maze runner backtrack button. Last part of Selenitic completed !
svn-id: r54720
2010-12-01 20:37:36 +00:00
Arnaud Boutonné
250d5d81f7 GOB: little clean-up
Remove a useless include of cursorman.h and several 
superflous empty lines.

svn-id: r54718
2010-12-01 20:17:31 +00:00
Arnaud Boutonné
85d42c405d HUGO: Use cursorman, add a windows-looking cursor
Cursor copied from Mohawk engine, thanks clone2727

svn-id: r54717
2010-12-01 20:11:24 +00:00
Jordi Vilalta Prat
d5a4f554af ALL: Fix a few typos
svn-id: r54716
2010-12-01 20:03:05 +00:00
Alyssa Milburn
1cb199229a MOHAWK: add stub implementations for more LB script opcodes
svn-id: r54712
2010-12-01 18:22:36 +00:00
Alyssa Milburn
1b27de3829 MOHAWK: fix LBPaletteItem
svn-id: r54711
2010-12-01 18:22:21 +00:00
Alyssa Milburn
a62500db1e MOHAWK: document/handle more LB item data
svn-id: r54710
2010-12-01 18:22:05 +00:00
Alyssa Milburn
4e3233fdba MOHAWK: fix LBLiveTextItem drawing for LB 2+
svn-id: r54709
2010-12-01 18:21:49 +00:00
Alyssa Milburn
3471d8ee45 MOHAWK: rename DelayedEventType values
svn-id: r54708
2010-12-01 18:21:33 +00:00
Alyssa Milburn
ddd691e2d3 MOHAWK: add LBGraphics::copyImageSectionToScreen
svn-id: r54707
2010-12-01 18:21:17 +00:00
Matthew Hoops
77782f4eb3 MOHAWK: Split intro and demo opcodes into their own classes
svn-id: r54706
2010-12-01 17:56:36 +00:00
Matthew Hoops
81209867a2 MOHAWK: Split the demo slideshow opcodes into their own class
svn-id: r54705
2010-12-01 15:24:54 +00:00
Matthew Hoops
65a7d28e21 MOHAWK: Rename the Myst stack/card link maps
svn-id: r54702
2010-12-01 14:57:05 +00:00
Matthew Hoops
26f27d9983 MOHAWK: Split d'ni opcodes into their own class
svn-id: r54699
2010-12-01 14:46:59 +00:00
Matthew Hoops
13c1540522 MOHAWK: Downgrade the Myst unknown op error to a warning as new ones have been uncovered
svn-id: r54694
2010-12-01 03:39:47 +00:00
Matthew Hoops
bdc3e5c353 MOHAWK: Cleanup Myst opcode handling and reduce code duplication
svn-id: r54693
2010-12-01 03:30:00 +00:00
Matthew Hoops
b9cfb52927 MOHAWK: Split mechanical opcodes into their own class
svn-id: r54692
2010-12-01 02:45:31 +00:00
Matthew Hoops
261cf23901 MOHAWK: Split channelwood opcodes into their own class
svn-id: r54691
2010-12-01 02:11:11 +00:00
Filippos Karapetis
94801fcea3 SCI: Fixed bugs #3041044, #3046543 and #3046513
svn-id: r54690
2010-12-01 00:40:52 +00:00
Matthew Hoops
e4fa2855b6 MOHAWK: Split out stoneship opcodes into their own class
svn-id: r54689
2010-11-30 22:02:03 +00:00
Alyssa Milburn
90b61c0bd4 MOHAWK: add changePage Living Books debug command
svn-id: r54688
2010-11-30 21:06:40 +00:00