Eugene Sandulenko
1c3e96ac12
Split out Mohawk detection tables into separate file.
...
svn-id: r49658
2010-06-14 14:52:49 +00:00
Eugene Sandulenko
6916e547a3
AGOS: Fix bug #1777795 .
...
Bug #1777795 : "SIMON1: Acorn CD MD5s" fixed by specifying directory
depth for AdvancedDetector to 2.
svn-id: r49657
2010-06-14 14:52:13 +00:00
Eugene Sandulenko
ca161920a4
SCUMM: Fix bug #1438631 .
...
Bug #1438631 : "SCUMM: Detecting mac version of indy3/loom broken"
fixed by implementing recursive directory lookup similar to what
was done for AdvancedDetector, since SCUMM engine does not use it.
svn-id: r49656
2010-06-14 14:51:46 +00:00
Eugene Sandulenko
e281f2599a
Implement safeguard for negative depth values in AdvancedDetector.
...
svn-id: r49655
2010-06-14 14:51:18 +00:00
Eugene Sandulenko
d59c312b08
Mohawk: Added support for running Riven off DVD layout.
...
Uses new directory depth feature of AdvancedDetector.
Set directory depth to 2 and added Assets1/ directory.
As a result, DVD layout which does not have any game data
file in top level directory gets detected and runs well.
svn-id: r49654
2010-06-14 14:50:53 +00:00
Eugene Sandulenko
4d517ed0e9
Extended advancedDetector with depth parameter.
...
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
2010-06-14 14:50:23 +00:00
Filippos Karapetis
4f3bb60cd5
Really silence the warning with _bufSize
...
svn-id: r49652
2010-06-14 13:53:15 +00:00
Filippos Karapetis
5230930d95
Silenced warning
...
svn-id: r49651
2010-06-14 13:41:06 +00:00
Filippos Karapetis
2a78b82799
Fixed a bug with commit #49640
...
svn-id: r49650
2010-06-14 13:13:02 +00:00
Filippos Karapetis
cd77cb96fc
Some cleanup of the script locals code
...
svn-id: r49649
2010-06-14 12:44:57 +00:00
John Willis
b921cebce8
GP2XWiz: Add shellscripts to support building a non-stripped bundle for use with GDB.
...
* This should help Tony (GSoC) get debug builds going.
svn-id: r49648
2010-06-14 09:33:36 +00:00
Filippos Karapetis
cfdbfaa28e
SCI: Limit the screen refresh rate to 60fps
...
svn-id: r49647
2010-06-14 08:36:52 +00:00
Paul Gilbert
58487da20b
Moved the actionNouns array from the scene to the globals object, since the scene will no longer be active during animation sequences
...
svn-id: r49646
2010-06-14 06:33:24 +00:00
Neeraj Kumar
889013b546
some minor change as per CFC
...
svn-id: r49645
2010-06-14 05:39:10 +00:00
Paul Gilbert
6fb462e6b0
Further memory leak fixes reported by Valgrind
...
svn-id: r49644
2010-06-14 05:27:54 +00:00
Paul Gilbert
466a151744
Fixes for memory leaks reported by Valgrind
...
svn-id: r49643
2010-06-14 04:20:57 +00:00
Paul Gilbert
ae0a7a6675
Added logic for animation sequences specifying a starting animation frame number
...
svn-id: r49642
2010-06-14 03:15:58 +00:00
Filippos Karapetis
d36f6638c0
Fixed compilation with the old music code
...
svn-id: r49641
2010-06-13 22:48:49 +00:00
Filippos Karapetis
b5ebd40d61
The offset of script local variables is now calculated when the script is loaded, thus we no longer need to save it. Merged scriptInitialiseLocals() with scriptInitialiseLocalsZero()
...
svn-id: r49640
2010-06-13 22:15:30 +00:00
Filippos Karapetis
01d53a6216
Disabled two cases of findObjectByName() in SCI0 early games
...
svn-id: r49639
2010-06-13 22:01:10 +00:00
Filippos Karapetis
a4ac9347d4
Fixed regression from commit #49251 , and added an explanation. Calls to kNewNode with 1 parameter are handled properly again. Fixes the demo of Phantasmagoria 1. Thanks to lskovlun and waltervn for spotting this
...
svn-id: r49638
2010-06-13 21:43:13 +00:00
Alejandro Marzini
77f114b835
Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL.
...
svn-id: r49637
2010-06-13 21:09:52 +00:00
Alejandro Marzini
a77738e53b
Updated makefiles.
...
svn-id: r49636
2010-06-13 20:33:54 +00:00
Alejandro Marzini
360b82858c
Added SdlEventManager.
...
svn-id: r49635
2010-06-13 20:31:25 +00:00
Neeraj Kumar
3c511eab1a
added code for testing shake, focus, overlay, scaling, need to fix more some of these although
...
svn-id: r49634
2010-06-13 19:19:06 +00:00
Paul Gilbert
4c6d276ce9
Bugfixes for correct moving of the screen viewport within an animation
...
svn-id: r49629
2010-06-13 10:50:54 +00:00
Nicola Mettifogo
466479eb77
Added a parser for kZoneNone zones/animations in BRA.
...
The only thing it does is parsing a possible command list, which is enough to support the script bug in "scende2". See ticket #3005384 .
svn-id: r49628
2010-06-13 09:07:15 +00:00
Paul Gilbert
02ed880180
Added logic for handling the rate of animation background scrolling, and miscellaneous extra fields
...
svn-id: r49627
2010-06-13 08:53:06 +00:00
Tony Puccinelli
819bbfba01
changed DBG to printf instead of sioprintf
...
svn-id: r49626
2010-06-13 08:26:39 +00:00
Neeraj Kumar
0bd7bf32ca
removed obsolete comments
...
svn-id: r49625
2010-06-13 07:55:50 +00:00
Neeraj Kumar
12b591ed46
improved aspect ratio correction and cursor tests, added test for iconifying and testing mouse movements
...
svn-id: r49624
2010-06-13 07:49:36 +00:00
Nicola Mettifogo
d199377388
When closing inventory, do not force input back to game-mode if commands need otherwise.
...
svn-id: r49623
2010-06-13 07:35:48 +00:00
Filippos Karapetis
eff1d4bb1c
Added a default constructor for the ResourceSource struct
...
svn-id: r49622
2010-06-13 07:17:44 +00:00
Nicola Mettifogo
94cdfefe1c
Fixed clipping when drawing sprites at small scale factors (this fixes the balloon scene).
...
svn-id: r49621
2010-06-13 06:56:13 +00:00
Nicola Mettifogo
d16eb491b1
Support for vertical scrolling. Patch 3005933 by fuzzie.
...
svn-id: r49620
2010-06-13 06:55:58 +00:00
Nicola Mettifogo
3cacd7bc43
Keep the balloon from getting stuck in an infinite loop when floating near the borders of the screen.
...
See the detailed explanation in walk.cpp.
svn-id: r49619
2010-06-13 06:55:40 +00:00
Nicola Mettifogo
0659d5f244
Improved debug output of BRA walk code.
...
svn-id: r49618
2010-06-13 06:55:24 +00:00
Tony Puccinelli
fb54698b37
loadable modules working for ps2
...
svn-id: r49617
2010-06-13 05:57:24 +00:00
Paul Gilbert
2625c9b20b
Applied fix for checking unallocated channels for All Notes Off MIDI command
...
svn-id: r49613
2010-06-12 23:53:26 +00:00
Filippos Karapetis
0492bd6aa6
SAGA: Music code cleanup. The music driver is now placed inside the MusicPlayer class, instead of the SagaEngine class. Split the functionality that the music parser should handle from the functionality that the music driver should handle. Also, fixed a bug in MusicDriver::send() (the notes off signal was sent to unallocated channels, not allocated ones)
...
svn-id: r49607
2010-06-12 18:20:22 +00:00
Filippos Karapetis
6fa4d1ba80
Initialize compression-related variables when loading external patch files. Fixes Cassima's speech in the intro of KQ6 (the engine thought that the external patch files of her speech were compressed)
...
svn-id: r49606
2010-06-12 11:43:30 +00:00
Filippos Karapetis
f4739f9f68
Added debug output to kDoAudio and some music commands. Also added a warning when an audio stream can't be created. Finally, the debug level of the MIDI parser debug output has been raised to 4, as it's too verbose
...
svn-id: r49605
2010-06-12 11:41:22 +00:00
Paul Gilbert
277a700e67
Reimplemented the scaled sprite drawing logic. The first introduction sequence scene now displays correctly
...
svn-id: r49604
2010-06-12 11:32:28 +00:00
Filippos Karapetis
b97d7adc3b
Extended show_instruments to show the songs where each instrument is used in
...
svn-id: r49603
2010-06-12 09:29:28 +00:00
Alejandro Marzini
3cfa482b43
Created SdlMixerImpl. Added setSampleRate method to Audio::MixerImpl. Updated and removed mixer code in OSystem_SDL for using SdlMixerImpl.
...
svn-id: r49602
2010-06-12 02:54:51 +00:00
Alejandro Marzini
1447396d3f
Added virtual desctructor to MutexManager.
...
svn-id: r49601
2010-06-12 00:15:22 +00:00
Alejandro Marzini
b49814f274
Fixed compilation error on Mac.
...
svn-id: r49600
2010-06-11 23:04:57 +00:00
Filippos Karapetis
a8af267651
Renamed verify_midi to show_instruments (and fixed a bug with it at the same time). This command scans all songs, or a specific song of a game and displays the instruments used
...
svn-id: r49599
2010-06-11 19:49:41 +00:00
Filippos Karapetis
a08d06ad35
- Added a new debug command, verify_midi, which can be used to check all the songs of a game for unmapped instruments (still WIP and disabled)
...
- Fixed a bug in the verify_scripts command (it was loading the script resource twice)
svn-id: r49597
2010-06-11 14:47:13 +00:00
Paul Gilbert
e572267a05
Bugfixes to correctly scroll the background during animations
...
svn-id: r49596
2010-06-11 11:08:37 +00:00