Max Horn
b3ba5f6ec5
SWORD25: Fix warning about uninitialized DijkstraNode::parentIter
...
svn-id: r54551
2010-11-28 21:33:27 +00:00
Max Horn
5d2b77899f
SWORD25: Fix warning: deref type-punned pointer breaks strict-aliasing rules
...
svn-id: r54550
2010-11-28 21:33:02 +00:00
Torbjörn Andersson
6b8a3dba70
TOON: Attempt to fix crash when Bricabrac puts on his glasses
...
This was a regression in r54223, and it's the most direct fix I can
think of. The problem seems to be that sys_Cmd_Remove_Scene_Anim()
clears the character's _animationInstance while character::playAnim()
is waiting "for the character to be ready".
My fix was to treat _animationInstance NULL as another sign that the
wait is over, but maybe the real fix is for sys_Cmd_Remove_Scene_Anim()
to do more than just clear the variable, e.g. stop the script or
something like that?
svn-id: r54549
2010-11-28 20:53:57 +00:00
Thierry Crozat
16c73378b9
i18N: Add a few strings to translate in the SCUMM help dialog.
...
svn-id: r54547
2010-11-28 19:23:02 +00:00
Arnaud Boutonné
54b756e1ba
HUGO: Modify or suppress some obsolete comments and warnings
...
svn-id: r54530
2010-11-28 16:38:01 +00:00
Filippos Karapetis
0b5f6d4c97
SCI: Fixed bug #3034471 - "SCI, Castlebrain/Amiga: Invisible text in word search"
...
Fixed some endianness issues in Amiga versions, thanks to wjp. Amiga
versions expect a BE VM, thus we adjust accordingly in the places
where memory is accessed directly (i.e. kStrAt, kMemory and all places
that set/get characters from memory)
svn-id: r54521
2010-11-28 14:57:56 +00:00
Arnaud Boutonné
5f7ac43a24
HUGO: Add F4/F5 keys to save/restoreGame
...
Currently, it only saves/restores slot #0 , no selection
screen is displayed
svn-id: r54515
2010-11-27 23:09:19 +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
Filippos Karapetis
c76422412d
SCI: Compensate for buggy KQ5CD saved games (before r54510)
...
svn-id: r54513
2010-11-27 18:46:12 +00:00
Filippos Karapetis
0312235f67
SCI: Removed bogus warning
...
svn-id: r54512
2010-11-27 18:27:02 +00:00
Filippos Karapetis
91e42bbcb9
SCI: Reverted changes to savegame.cpp made in r54510, as that still occurs
...
svn-id: r54511
2010-11-27 18:23:39 +00:00
Filippos Karapetis
3485d433c5
SCI: Fixed bug #3034713 - "ICEMAN Demo: Fails to find base object"
...
This could happen because objects in scripts can be in the wrong order.
Same thing happens in the French and German version of KQ5 (bug #3035396 ).
Removed the scriptObjRemove() method, which is in fact a hack.
svn-id: r54510
2010-11-27 18:08:47 +00:00
Filippos Karapetis
49afe9ccff
SCI: Fix for bug #3119713 - "PQ2: song-specific reverb changes are ignored" (thanks to waltervn)
...
svn-id: r54509
2010-11-27 17:29:42 +00:00
Arnaud Boutonné
8b7c42f0b0
TOOLS: Fix 'Boat' bug in H1 Dos
...
H1 Dos is now completable
svn-id: r54507
2010-11-27 16:48:38 +00:00
Torbjörn Andersson
83206e20cb
HUGO: Fix warning
...
svn-id: r54506
2010-11-27 08:27:13 +00:00
Arnaud Boutonné
b70aa0d419
HUGO: Add Win save/restore behavior to the Dos versions
...
(useful to debug the lake screen)
svn-id: r54505
2010-11-26 23:57:39 +00:00
Arnaud Boutonné
fd6157e778
HUGO: Avoid using 'short' in function definition
...
svn-id: r54504
2010-11-26 23:30:31 +00:00
Arnaud Boutonné
bab5aa433b
HUGO: Get rid of initial savegame
...
svn-id: r54503
2010-11-26 23:17:16 +00:00
Arnaud Boutonné
a0cc07268d
HUGO: Clean up Scheduler
...
svn-id: r54502
2010-11-26 22:15:31 +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
Walter van Niftrik
52b89206c0
SCI: Pull reverb default directly from control channel.
...
svn-id: r54499
2010-11-26 14:35:46 +00:00
Walter van Niftrik
3d38a383bb
SCI: Only filter channels for early SCI0, as GM currently uses all channels.
...
svn-id: r54498
2010-11-26 14:35:28 +00:00
Matthew Hoops
21c6bbde5d
MOHAWK: Fill in meanings of known resources
...
svn-id: r54497
2010-11-26 14:28:33 +00:00
Filippos Karapetis
5562f9e087
SCI: Added a define to turn off channel remapping (for debugging)
...
svn-id: r54496
2010-11-26 14:25:18 +00:00
Filippos Karapetis
d3b14e1445
SCI: Implemented FR #3101338 : "King's Quest 6 Windows Mouse Icons"
...
Added an option to use the original Windows cursors in the Windows version of KQ6
Also, added an update on how the Mac cursors are handled (perhaps the handling is
the same)
svn-id: r54495
2010-11-26 12:37:24 +00:00
Filippos Karapetis
ce9f7c0df1
SCI: Fixed keyboard input when numlock is on, and cleaned up the way some special keys are translated
...
svn-id: r54493
2010-11-26 10:03:24 +00:00
Filippos Karapetis
1d4e452c78
SCI: Send the SCI0 reverb init after reading the reverb data
...
svn-id: r54492
2010-11-26 06:41:45 +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
Filippos Karapetis
e793d62c8d
Fixed bug with r54485
...
svn-id: r54488
2010-11-26 00:10:51 +00:00
Filippos Karapetis
069309f88a
SCI: set the reverb setting of the current song when a relevant event is fired from the MIDI stream
...
svn-id: r54485
2010-11-26 00:05:27 +00:00
Filippos Karapetis
af15ac6f6a
SCI: Some reverb-related changes in the MIDI driver, based on a patch by waltervn
...
svn-id: r54484
2010-11-25 22:23:14 +00:00
Filippos Karapetis
3a8648c4db
SCI: Initialize reverb in the music driver correctly. Based on a patch by waltervn
...
svn-id: r54483
2010-11-25 22:17:23 +00:00
Filippos Karapetis
11ac03b7ab
SCI: Global reverb can't be 127. Some cleanup
...
svn-id: r54482
2010-11-25 22:16:22 +00:00
Filippos Karapetis
1cf26f67e0
SCI: Initialize global reverb correctly. Fixes bug #3118700 - "SCI KQ5: Assertion in midi.cpp" (regression from r54478)
...
svn-id: r54481
2010-11-25 22:14:38 +00:00
Filippos Karapetis
601494cad4
SCI: implemented reverb handling and related functionality
...
svn-id: r54478
2010-11-25 16:09:45 +00:00
Filippos Karapetis
16006c78f5
SCI: Fixed a bug in the show_instruments console command
...
svn-id: r54477
2010-11-25 15:59:30 +00:00
Filippos Karapetis
2c2f3a97e6
SCI: Added support for the alternate Windows MIDI soundtracks of the CD versions of EcoQuest, Jones, KQ5 and SQ4
...
svn-id: r54476
2010-11-25 14:22:09 +00:00
Filippos Karapetis
394daa5704
SCI: Added engine method isCD()
...
svn-id: r54475
2010-11-25 14:19:02 +00:00
Filippos Karapetis
29395974ca
SCI: Remove the Windows versions of Freddy Pharkas. This one has an alternative sound track, but it's handled in a different manner
...
svn-id: r54474
2010-11-25 14:16:46 +00:00
Filippos Karapetis
d9f429716f
SCI: Fixed compilation
...
svn-id: r54473
2010-11-25 13:01:45 +00:00
Filippos Karapetis
69da6a6dd6
SCI: added Windows entries for all games with alternate GM tracks
...
These are the CD versions of EcoQuest, Jones, KQ5, Pharkas and SQ4
Also, added AGDF_CD to all CD versions that have corresponding floppy versions
svn-id: r54472
2010-11-25 12:44:17 +00:00
Walter van Niftrik
8c4ebc434d
SCI: Fix bug in MT-32 checksum computation. Thanks Sven for finding this.
...
svn-id: r54471
2010-11-25 11:19:46 +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
Filippos Karapetis
52898b6336
SCI: Fixed digital audio at the beginning of KQ5CD and removed a hack for the Windows version
...
svn-id: r54466
2010-11-25 02:21:07 +00:00
Filippos Karapetis
ff58eea2ce
SCI: Set _useMT32Track correctly for KQ5 Windows, thus simplifying the code
...
svn-id: r54465
2010-11-25 01:31:03 +00:00
Filippos Karapetis
7508260954
SCI: Added support for the alternative GM tracks of the Windows version of KQ5CD (bug #3041239 )
...
Note that the empty GM track for the Sierra logo makes the game hang, so the
MT-32 track is used, which sounds awful
svn-id: r54464
2010-11-25 01:19:45 +00:00
Filippos Karapetis
169c6be32b
SCI: Fixed a bug in the script disassembler
...
svn-id: r54463
2010-11-24 21:32:34 +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