Filippos Karapetis
fdc9bbcbf5
Simplified the channel monitoring code inside the SoundResource class
...
svn-id: r49429
2010-06-04 14:53:12 +00:00
Nicola Mettifogo
9906030312
Ensure that zones/animations always get the same index number.
...
When a zone/animation is skipped by the parser because already
loaded, the index is now increased. This does not affect NS, since
indexes are only used for scene sorting there, but is relevant for
BRA, where indexes need to be coherent across location changes.
Patch #3004008 by fuzzie.
svn-id: r49428
2010-06-04 13:48:09 +00:00
Paul Gilbert
3d98f679e7
Bugfix for the loading of the animation frame list
...
svn-id: r49427
2010-06-04 12:51:06 +00:00
Paul Gilbert
86462c66a0
Added code and support routines for destroying animations correctly, which also necessitated changing the sprite list code
...
svn-id: r49426
2010-06-04 11:28:30 +00:00
Walter van Niftrik
997fdac427
SCI: Replace strncpy with Common::strlcpy
...
svn-id: r49425
2010-06-04 10:51:27 +00:00
Walter van Niftrik
a8acf7468c
SCI: Add savegame version check in CheckSaveGame
...
svn-id: r49424
2010-06-04 10:36:49 +00:00
Walter van Niftrik
f1a55a9c67
SCI: Cleanup
...
svn-id: r49423
2010-06-04 10:15:13 +00:00
Tony Puccinelli
28e28a2fea
further tweaks to Makefile and main linker
...
svn-id: r49422
2010-06-04 07:46:07 +00:00
Neeraj Kumar
333989fc6d
some code on getting strings printed on the screen
...
svn-id: r49421
2010-06-04 03:54:17 +00:00
Alejandro Marzini
5277842cc8
Created DefaultGraphicsManager.
...
svn-id: r49420
2010-06-04 02:55:17 +00:00
Alejandro Marzini
f83360f66b
Created DefaultAudioManager and DefaultMutexManager.
...
Deleted base subsystems, managers will be used instead.
svn-id: r49419
2010-06-04 01:51:32 +00:00
Johannes Schickel
664c86f25d
Replace two uses of ::qsort by Common::sort.
...
svn-id: r49418
2010-06-03 23:37:05 +00:00
Johannes Schickel
02ed1a684a
- Made some methods const
...
- Prefer const_iterator over iterator in SciMusic::findUsedChannels
svn-id: r49417
2010-06-03 23:07:53 +00:00
Filippos Karapetis
8dd7537a55
A first attempt at channel remapping (currently disabled)
...
svn-id: r49416
2010-06-03 22:13:23 +00:00
Filippos Karapetis
ddf7449b00
Added code to get which channels are used by a sound. Also, fixed a crash when using Sierra's GM patches, a regression from commit #49391 .
...
svn-id: r49415
2010-06-03 22:00:50 +00:00
Filippos Karapetis
1973bd5a71
Added channel remapping to MidiParser_SCI (currently unused)
...
svn-id: r49414
2010-06-03 21:57:49 +00:00
Filippos Karapetis
576306c323
Re-enabled the cursor position limiting code
...
svn-id: r49413
2010-06-03 21:52:21 +00:00
Torbjörn Andersson
038ac90482
Renamed some variables to silence GCC warnings.
...
svn-id: r49412
2010-06-03 21:13:08 +00:00
Filippos Karapetis
7f0b0a83ed
Fixed crashing with wave file patches, a regression from commit #49391
...
svn-id: r49411
2010-06-03 20:42:06 +00:00
Paul Gilbert
26860b8e51
Properly implemented the logic for loading the correct interface background as specified in a scene's resources
...
svn-id: r49409
2010-06-03 10:46:55 +00:00
Filippos Karapetis
2ae4c5796b
The setCursor selector is no longer used for the detection of the kSetCursor() kernel function semantics
...
svn-id: r49408
2010-06-03 10:44:50 +00:00
Filippos Karapetis
f1af6bad6d
Fixed compilation
...
svn-id: r49407
2010-06-03 10:26:51 +00:00
Filippos Karapetis
86b452d36c
Moved several object-related defines inside vm.h into segment.h, where the Object class resides. Also, removed several unused defines
...
svn-id: r49406
2010-06-03 10:16:21 +00:00
Paul Gilbert
86dcc28342
Moved the MADS interface view into mads_scene.cpp and did a major cleanup of scene loading code
...
svn-id: r49405
2010-06-03 09:34:32 +00:00
Neeraj Kumar
fababbe205
able to display rectangle on screen using grabPalette() and copyRectToScreen, will use it to test palettes and autocomputeDirtyRects features
...
svn-id: r49404
2010-06-03 03:55:08 +00:00
Oystein Eftevaag
90649938d2
We'll now default to non-touchpad mode on the iPad
...
svn-id: r49403
2010-06-03 03:22:10 +00:00
Oystein Eftevaag
0d0abbc91a
Updated xcode project
...
svn-id: r49402
2010-06-03 03:11:19 +00:00
Tony Puccinelli
f47d5bd35a
minor correction to makefile
...
svn-id: r49401
2010-06-03 02:39:11 +00:00
Tony Puccinelli
3c1034dbbb
modified linker now both compiles and runs when dynamic modules turned off
...
svn-id: r49400
2010-06-03 02:36:18 +00:00
Tony Puccinelli
f1ae25baa8
compiles with modified linker when dynamic plugins turned off now
...
svn-id: r49399
2010-06-03 00:46:24 +00:00
Matthew Hoops
14a4d8f8b0
Fix a regression from r49377 - we should be checking against code in addition to index for duplicate MLST's.
...
svn-id: r49395
2010-06-02 17:04:55 +00:00
Filippos Karapetis
c4bdca72d7
Fixed regression from commit #49332 (merging of the SCI0 and SCI11 relocate functions, where the SCI0 equivalent had a +1 count): it seems that we should skip over zero exports, however the total number of valid exports remains the same. Fixes KQ5 and QFG2. This also fixes the relocation calculation of script 71 in SQ3, so remove the comment that the script has broken relocation entries
...
svn-id: r49394
2010-06-02 15:31:20 +00:00
Matthew Hoops
a8deacfc7e
In Riven, if we get a change card opcode on a mouse down event, ignore the next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup.
...
svn-id: r49393
2010-06-02 15:26:35 +00:00
Neeraj Kumar
91a8d25cea
completed the basic testsuite class
...
svn-id: r49392
2010-06-02 13:56:04 +00:00
Filippos Karapetis
af3fec8c26
- Fixed findGameObject() to properly handle SCI0-SCI1 games where the first block of script 0 isn't the exports block
...
- Changed many places where Common::File is used directly to use Common::SeekableReadStream instead (in order to ultimately remove the SCI_detection hack in the fallback detector)
svn-id: r49391
2010-06-02 13:17:36 +00:00
Neeraj Kumar
5df3809d37
enhanced the basic testsuite class
...
svn-id: r49390
2010-06-02 04:45:44 +00:00
Matthew Hoops
4493080220
If we can't find the game object or game ID in fallback detection, break out instead of assuming the script is there. Fixes a segfault when detecting an LSCI game.
...
svn-id: r49389
2010-06-02 02:55:55 +00:00
Max Horn
767edc91fa
OSYSTEM: Get rid of kFeatureAutoComputeDirtyRects
...
svn-id: r49388
2010-06-02 00:52:57 +00:00
Max Horn
c4c63223cc
IPHONE: Disable RTTI and C++ exceptions
...
svn-id: r49387
2010-06-02 00:25:11 +00:00
Max Horn
24673b9ee9
Fix warning
...
svn-id: r49386
2010-06-02 00:20:52 +00:00
Max Horn
9f14e43d16
Fix bug #2999153 : "IPHONE: No grabPalette() implementation"
...
svn-id: r49384
2010-06-01 22:29:55 +00:00
Max Horn
93867d567f
Inline palettes in SDL backend into class OSystem_SDL
...
svn-id: r49383
2010-06-01 22:28:24 +00:00
Filippos Karapetis
a6efbf8880
Fixed the detection of SCI2.1 games in the fallback detector
...
svn-id: r49382
2010-06-01 22:06:52 +00:00
Filippos Karapetis
95001e3676
Add support for SCI2.1 resource patches to the fallback detector
...
svn-id: r49380
2010-06-01 20:37:55 +00:00
Neeraj Kumar
da1f5ee54c
created the basic testsuite class, will use it to create the GFX testsuite in graphics.h
...
svn-id: r49379
2010-06-01 18:06:31 +00:00
Johannes Schickel
4cb3a2b41b
This hopefully fixes the compilation of the GP2x backend.
...
svn-id: r49378
2010-06-01 17:03:43 +00:00
Matthew Hoops
42b22d16f6
Fix videos in Riven activated from a different card from which they are played; minor cleanup.
...
svn-id: r49377
2010-06-01 17:01:22 +00:00
Filippos Karapetis
65f3cfcbd8
Stop reconstructing the engine state when restoring, but reset it instead
...
svn-id: r49376
2010-06-01 15:48:17 +00:00
Max Horn
1f54cdf90d
SCI: Fix malloc<->new mismatch in SysStrings, try to increase readability
...
svn-id: r49375
2010-06-01 15:38:34 +00:00
Max Horn
caf1a6bee4
Remove dead code from PS2 and GP2x backends
...
svn-id: r49374
2010-06-01 15:38:09 +00:00