Walter van Niftrik
5ffba8631d
SCI: Fix out-of-bounds error in MT-32 patch reading in GM mode.
...
svn-id: r47662
2010-01-29 01:09:41 +00:00
Martin Kiewitz
981252b1fe
SCI: view class fix for hires views that are larger than 64k (fixes kq7 cel corruption)
...
svn-id: r47661
2010-01-29 00:03:10 +00:00
Lars Skovlund
39ebb168a1
SCI: Make SQ6 sound work. The meaning of these extra parameters is not yet understood.
...
svn-id: r47660
2010-01-28 23:11:55 +00:00
Filippos Karapetis
e110b02895
Added some more information on the errors thrown by lookupString() and freeString() - Torin full currently crashes in lookupString, called from kString (strcpy)
...
svn-id: r47659
2010-01-28 22:58:09 +00:00
Filippos Karapetis
b20ccaa8ab
Corrected the map number for the GK2 resource patch files, and added some preliminary non-working code for the hires content in GK1
...
svn-id: r47658
2010-01-28 22:26:13 +00:00
Martin Kiewitz
a35e1a2100
SCI: removed upscaled hires switch for sci2.1+ games (not needed anymore), added #ifdef SCI32 for gk1 upscaled hires switch
...
svn-id: r47657
2010-01-28 21:59:05 +00:00
Martin Kiewitz
81a0d7d20d
SCI: changing to upscaled hires for gk1 and kq6 when being on platform windows, added comment explaining the situation about gk1/dos
...
svn-id: r47656
2010-01-28 21:53:07 +00:00
Martin Kiewitz
8653f62b15
SCI: added todo for upscaled hires on sci2
...
svn-id: r47655
2010-01-28 21:24:28 +00:00
Martin Kiewitz
e85e045851
SCI: removed obsolete SCI2 upscaledHires
...
svn-id: r47654
2010-01-28 21:12:39 +00:00
Filippos Karapetis
a83fca1430
kDisposeList() is not needed according to waltervn, as the garbage collector automatically clears unused objects
...
svn-id: r47653
2010-01-28 21:05:42 +00:00
Johannes Schickel
347a974609
Add some paranaoia assert (and a related TODO) to the MSIMA2 implementation.
...
svn-id: r47652
2010-01-28 21:05:10 +00:00
Martin Kiewitz
9e511e0751
SCI: detecting hires for SCI2+ games, qfg4cd is sci2.1 but still 320x200
...
svn-id: r47651
2010-01-28 21:01:57 +00:00
Filippos Karapetis
3c46bc33aa
Disabled the automatic list fixing feature, introduced in rev. #47636 (there's no point in fixing lists created by game scripts)
...
svn-id: r47650
2010-01-28 20:53:33 +00:00
Walter van Niftrik
639fb4c389
SCI: Cleanup
...
svn-id: r47649
2010-01-28 20:29:45 +00:00
Filippos Karapetis
493350e905
SCI2.1: Added a dummy function for kRobot (with some info on its parameters), assigned IsOnMe to OnMe (needs verification, but seems to be correct) and changed kSave(8) to return nonzero. The menu of the Phantasmagoria demo is now shown, together with its creepy music :)
...
svn-id: r47648
2010-01-28 19:57:14 +00:00
Martin Kiewitz
f7692e724f
SCI: some progress on REing robot files (99% comments only)
...
svn-id: r47647
2010-01-28 19:28:56 +00:00
Walter van Niftrik
31728b32ca
SCI: Add debug opcodes
...
svn-id: r47646
2010-01-28 19:22:58 +00:00
Matthew Hoops
d883b6215f
Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call.
...
svn-id: r47645
2010-01-28 18:57:31 +00:00
Martin Kiewitz
8ecd76e415
SCI: process robot files again (i need those for REing)
...
svn-id: r47644
2010-01-28 16:30:46 +00:00
Lars Skovlund
1ceaf34948
Handle calls to NewNode() with just one parameter.
...
Takes care of Phantasmagoria, Torin, etc.
svn-id: r47643
2010-01-28 15:01:28 +00:00
Filippos Karapetis
104cc92d6b
Changed run_vm() to use the sci_opcodes enum, and fixed several wrong opcodes inside that enum
...
svn-id: r47642
2010-01-28 13:07:47 +00:00
Filippos Karapetis
0b987fe066
Added support for the SCI2.1 resource patches (resmap.pat and ressci.pat). GK2 goes a bit further now (but still dies because of a new script opcode)
...
svn-id: r47641
2010-01-28 11:19:27 +00:00
Filippos Karapetis
3f4ef3aff8
Removed a hack for the demo version of Torin's passage. It errors out because the static selector vocabulary for SCI2+ games isn't implemented yet
...
svn-id: r47640
2010-01-28 10:34:11 +00:00
Filippos Karapetis
858eb1a283
Don't attempt to pause/resume sounds when the debug console opens if the sound subsystem hasn't been initialized yet
...
svn-id: r47639
2010-01-28 10:31:37 +00:00
Johannes Schickel
42c4316f98
Get rid of use of Audio::makeRawMemoryStream_OLD in SKY.
...
svn-id: r47638
2010-01-28 10:08:54 +00:00
Filippos Karapetis
a408a025b6
Since we fix the list problems inside isSaneNodePointer(), don't abort processing of the list
...
svn-id: r47637
2010-01-28 10:04:54 +00:00
Filippos Karapetis
383019c518
- The list checks now throw more verbose warnings
...
- Some obvious list problems are now fixed automatically when found, after the relevant warnings are shown
- kDisposeList now clears all the nodes in the list
- Some cleanup
svn-id: r47636
2010-01-28 09:49:54 +00:00
Johannes Schickel
0417c0ab88
Fix seek implementation of our Vorbis stream.
...
svn-id: r47635
2010-01-28 09:44:21 +00:00
Max Horn
1c906a1f08
Hide VagStream implementation, only expose it via a factory method
...
svn-id: r47634
2010-01-28 09:38:21 +00:00
Max Horn
f85c77d63e
Fix warning when using -Wuninitialized
...
svn-id: r47633
2010-01-28 09:37:50 +00:00
Johannes Schickel
23f9891749
Fix MP3 playback speed.
...
svn-id: r47632
2010-01-28 09:15:58 +00:00
Filippos Karapetis
6fd8f7c015
Always try and load the associated digital track if the requested MIDI track couldn't be found
...
svn-id: r47631
2010-01-28 08:23:40 +00:00
Filippos Karapetis
1e6123ce89
Improved the diskdump command so that it also writes the resource header, if it exists (e.g. in SOL audio files)
...
svn-id: r47630
2010-01-28 08:17:46 +00:00
Torbjörn Andersson
9a85b1284b
Silenced some more cppcheck style warnings.
...
svn-id: r47628
2010-01-28 05:20:52 +00:00
Filippos Karapetis
33780aa3a5
Fixed the demos of LSL1 and LSL5
...
svn-id: r47625
2010-01-28 02:16:20 +00:00
Filippos Karapetis
75ae56b0d4
Improved kSetCursor() semantics detection
...
svn-id: r47624
2010-01-28 02:15:15 +00:00
Filippos Karapetis
da7d221d40
Introduced a new console command, diskdump, which is able to dump files from resource files to disk
...
svn-id: r47623
2010-01-28 01:45:20 +00:00
Travis Howell
0702bdab82
Fix regressions in Let's Explore the Jungle with Buzzy.
...
svn-id: r47622
2010-01-28 00:28:08 +00:00
Travis Howell
ca7d670b4b
Fix regression in Let's Explore the Jungle with Buzzy.
...
svn-id: r47621
2010-01-28 00:24:02 +00:00
Travis Howell
f81735fffc
Fix regression in Let's Explore the Jungle with Buzzy.
...
svn-id: r47619
2010-01-28 00:15:53 +00:00
Filippos Karapetis
2974ead245
Corrected assert inside load_script. Fixes loading in SQ4CD
...
svn-id: r47617
2010-01-27 23:43:23 +00:00
Arnaud Boutonné
705910f122
- Fixed openWin, saveWin, restoreWin, closeWin, winMove and activeWin, so that windows are AT LEAST working
...
- Suppressed dirty traces. This has to be reviewed/rewritten. It looks better without.
- Add initialization of two variables in one exceptional case in winDraw. (Thanks Cyx)
svn-id: r47616
2010-01-27 23:39:16 +00:00
Filippos Karapetis
08006eef1e
Made the code inside SciGui::display() a bit more readable
...
svn-id: r47615
2010-01-27 22:56:00 +00:00
Martin Kiewitz
34346bfd33
SCI: fix view detection for sci1.1 pq4demo
...
svn-id: r47614
2010-01-27 22:55:30 +00:00
Martin Kiewitz
dfae4f7e99
SCI: fix for clipping code inside kGraph
...
svn-id: r47613
2010-01-27 22:53:09 +00:00
Matthew Hoops
898135b7d0
SearchMan.listMatchingMembers does not return files in alphabetical order, so we can't rely on the order of the lists. Rework the SCI2.1+ loading code to iterate through both lists in nested loops to fix multi-archive SCI2.1 games (such as GK2).
...
svn-id: r47612
2010-01-27 21:43:23 +00:00
Martin Kiewitz
90712388f8
SCI: added workaround for laura bow 2 game menu (same issue as in pharkas)...sigh
...
svn-id: r47611
2010-01-27 21:33:51 +00:00
Filippos Karapetis
76ff84a62f
Fixed the demo version of Longbow - speech was not played at all with the new sound code
...
svn-id: r47610
2010-01-27 21:11:24 +00:00
Filippos Karapetis
e81ddfcdcc
Removing obsolete comment
...
svn-id: r47609
2010-01-27 20:55:35 +00:00
Martin Kiewitz
00413a0b04
SCI: also change exit to quit in help
...
svn-id: r47608
2010-01-27 20:06:07 +00:00