Commit Graph

38332 Commits

Author SHA1 Message Date
Eugene Sandulenko
e71caf8600 Drascula: Fix bug #2827169.
Bug #2827169: "DRASCULA: gfx glitch in pendulum room" fixed by
rearranging draw sequence.

svn-id: r49719
2010-06-15 10:23:36 +00:00
Eugene Sandulenko
02a76b2e91 Drascula: add even more responsiveness
svn-id: r49718
2010-06-15 10:23:17 +00:00
Eugene Sandulenko
ba25faaf42 Drascula: more responsiveness.
svn-id: r49717
2010-06-15 10:22:56 +00:00
Eugene Sandulenko
e4d77cf098 Drascula: Add responsiveness while talking.
svn-id: r49716
2010-06-15 10:22:39 +00:00
Eugene Sandulenko
f53211fbad Drascula: Move more cursor-related blits to cursorSurface.
svn-id: r49715
2010-06-15 10:22:19 +00:00
Eugene Sandulenko
1850d53793 Drascula: Plug memory leak
svn-id: r49714
2010-06-15 10:21:59 +00:00
Eugene Sandulenko
671ed4873f Drascula: Fixed bug #2826608.
Bug #2826608: "DRASCULA: Cursor GFX error" fixed by introducing
separate buffer for cursors. This also fixes the root cause of
the problem.

svn-id: r49713
2010-06-15 10:21:42 +00:00
Eugene Sandulenko
0796580c3e Drascula: Made actors animation more smooth.
svn-id: r49712
2010-06-15 10:21:18 +00:00
Eugene Sandulenko
07cc483e13 Drascula: Restore cursors before automated converse responses
svn-id: r49711
2010-06-15 10:21:01 +00:00
Eugene Sandulenko
a9b9da5d72 Drascula: Fix bug #2826610.
Bug #2826610: "DRASCULA: Graveyard GFX error". Actually it was fixed
by previous commit. Added more responsiveness for this animation.

svn-id: r49710
2010-06-15 10:20:44 +00:00
Eugene Sandulenko
e8b72467e1 Drascula: ease load on backend.
svn-id: r49709
2010-06-15 10:20:26 +00:00
Eugene Sandulenko
27c27c82b1 Drascula: add more pic-related debug output.
svn-id: r49708
2010-06-15 10:20:10 +00:00
Eugene Sandulenko
b743cc316e Drascula: Fix bug #2929931.
Bug #2929931: "DRASCULA: Graphic Glitches". Cursor graphics was
not loaded at needed time.

svn-id: r49707
2010-06-15 10:19:48 +00:00
Eugene Sandulenko
eac1fdc7ca Drascula: added more debug output
svn-id: r49706
2010-06-15 10:19:25 +00:00
Eugene Sandulenko
9224a0bd6e Hid hashed fileopening to debuglevel 8.
svn-id: r49705
2010-06-15 10:19:06 +00:00
Eugene Sandulenko
6d4ad23b55 Drascula: Fix bug #2854303.
Bug #2854303: "DRASCULA: Glitch when using cross on vampire guard".
Apparently during refactoring of animation-related code duplication
the conversion was incorrect. Rewrote relevant function.

svn-id: r49704
2010-06-15 10:18:51 +00:00
Eugene Sandulenko
2ccb5bb025 Drascula: Added debug console. Implemented a (buggy) room comand.
svn-id: r49703
2010-06-15 10:18:34 +00:00
Eugene Sandulenko
f992721361 Drascula: hid room updater-related debug output to deeper level
svn-id: r49702
2010-06-15 10:18:08 +00:00
Eugene Sandulenko
b78663f6fb Drascula: Added animation-related debug output.
svn-id: r49701
2010-06-15 10:17:51 +00:00
Eugene Sandulenko
c933bec975 Drascula: Optimized blitting code.
svn-id: r49700
2010-06-15 10:17:34 +00:00
Eugene Sandulenko
d577d863ce CINE: Fix bug #2812694.
Bug #2812694: "CINE: Operation Stealth german crash". Our code
assumed that there exists only 256-color version which is not
the case for German version. Added code to store background
format. Old savegames are broken and could not be fixed.

Bumped savefile version.

svn-id: r49699
2010-06-15 10:17:18 +00:00
Eugene Sandulenko
7746321ed6 SAGA: Fix bug #1970191.
Bug #1970191: "IHNM: Psychic Profile problem". Still there is a
slight artefact. When the profile has 2 pages and is skipped,
there are two fade-ins in a row. It could be checked by analysing
event queue.

svn-id: r49698
2010-06-15 10:16:53 +00:00
Eugene Sandulenko
5d72a614ec SAGA: Add more thread-related output.
svn-id: r49697
2010-06-15 10:16:32 +00:00
Eugene Sandulenko
723cb6c0f0 SAGA: Moved more code under ENABLE_IHNM
svn-id: r49696
2010-06-15 10:16:13 +00:00
Eugene Sandulenko
d137b4610a Split out detection code in Kyra engine.
svn-id: r49695
2010-06-15 10:15:51 +00:00
Eugene Sandulenko
d5c3cda8c5 Moved tinsel detection tables to separate file.
svn-id: r49694
2010-06-15 10:15:29 +00:00
Eugene Sandulenko
560809e42c Split out detection tables for AGI engine
svn-id: r49693
2010-06-15 10:15:08 +00:00
Eugene Sandulenko
977b1561d4 Split out detection tables for Gob engine
svn-id: r49692
2010-06-15 10:14:38 +00:00
Eugene Sandulenko
28f6f7a3f0 Split out detection tables for Cine engine
svn-id: r49691
2010-06-15 10:14:04 +00:00
Filippos Karapetis
13aba8747a Throttle screen updates to 60fps in some screen transition effects as well
svn-id: r49690
2010-06-15 10:09:42 +00:00
Filippos Karapetis
e64eb71ce8 Properly reconstruct the running stack when restoring (a regression from commits #49376 and #49525), some formatting
svn-id: r49689
2010-06-15 09:11:26 +00:00
Filippos Karapetis
ba3c43498b - Swapped the return value of gamestate_save (false = failed, true = succeeded)
- Removed some duplicate code inside Console::cmdSaveGame()

svn-id: r49688
2010-06-15 08:39:03 +00:00
Filippos Karapetis
0ad3bedf98 Added a signature of the game itself inside saved games (the size of script 0, as well as the offset of the game object, which are unique for each game), to prevent users from loading saved games across different versions of the same game. In the cases where we can't load a saved game, throw a nice GUI dialog instead of a console warning
svn-id: r49687
2010-06-15 08:25:51 +00:00
Lars Skovlund
9a1db3f770 Add support for SCI32 segment types to seg_table and vr debug commands
svn-id: r49686
2010-06-15 08:21:39 +00:00
Filippos Karapetis
0dab9e0e1f Reorganized functions a bit
svn-id: r49685
2010-06-15 07:25:09 +00:00
Filippos Karapetis
60d8cc5180 Removed the now unused EngineState parameter of script_adjust_opcode_formats(), as well as an obsolete TODO
svn-id: r49684
2010-06-15 07:21:52 +00:00
Filippos Karapetis
e93f8902a8 Cleanup of the savegame code:
- Added a saveLoadWithSerializer() method to the reg_t class
- Moved SegManager::reconstructClones() inside savegame.cpp
- Moved SoundCommandParser::syncPlayList() and SoundCommandParser::reconstructPlayList() inside savegame.cpp

svn-id: r49683
2010-06-15 07:20:53 +00:00
Yotam Barnoy
ff66c67439 PSP: fixed SCI freeze issue by using recursive mutexes
svn-id: r49682
2010-06-15 06:30:49 +00:00
Yotam Barnoy
25c7dc08b1 PSP: fixed bug in hardware MP3 that caused crash in broken sword. The sample rate must be returned from our member variable, not from the header value which disappears.
svn-id: r49680
2010-06-15 05:34:37 +00:00
Filippos Karapetis
a6a482b83c SCI: Added a version of allNotesOff() which sends messages only to the channels used by the associated song instead of all channels
svn-id: r49673
2010-06-14 22:35:49 +00:00
Filippos Karapetis
22e9fe8291 Since allNotesOff() is virtual and can be overriden, make its associated variables protected instead of private
svn-id: r49672
2010-06-14 22:31:38 +00:00
Filippos Karapetis
1fde7f1abc Removed the code used for tracking script code block relocations in SCI0-SCI1 games, as we don't actually relocate these blocks, and it was used solely for verification of the exports table. The issue that this warning was created for should no longer occur
svn-id: r49669
2010-06-14 20:45:00 +00:00
Filippos Karapetis
86878450ee Cleanup of the SCI0 object initialization code
svn-id: r49666
2010-06-14 19:37:19 +00:00
Matthew Hoops
303c7b0a8d Ignore and remove invalid plane and item objects in kFrameout. Fixes loading in-game in GK1.
svn-id: r49663
2010-06-14 16:58:15 +00:00
Filippos Karapetis
60eced7a81 Cleanup
svn-id: r49662
2010-06-14 16:57:43 +00:00
Filippos Karapetis
b04269e7e4 Fixed GK1 again, including the inventory screen
svn-id: r49660
2010-06-14 16:04:28 +00:00
Filippos Karapetis
95f55f3b05 Hopefully fixed kOnMe (SCI2) and implemented kIsOnMe (SCI2.1). GK1 and the demo of Phantasmagoria 1 should now be responding to mouse clicks and movement correctly
svn-id: r49659
2010-06-14 15:49:11 +00:00
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