Commit Graph

38522 Commits

Author SHA1 Message Date
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
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