Commit Graph

16745 Commits

Author SHA1 Message Date
Matthew Hoops
541daf918a Introduce the RivenScriptManager to keep track of scripts and free them when required. The old way of using SharedPtr was quite hacky and didn't work properly when talking to Gehn in ospit.
svn-id: r50761
2010-07-09 16:53:20 +00:00
Martin Kiewitz
eddd6d0dba SCI: actually all sound-sci0 games used a completely different kDoSoundPause logic, implement it - fixes all sorts of games not pausing when going to restore menu and more
svn-id: r50760
2010-07-09 16:05:47 +00:00
Martin Kiewitz
aadf2e9765 SCI: added currently commented-out pauseSound implementation for some sci0 games, allowing integer for that subfunction
svn-id: r50759
2010-07-09 14:11:27 +00:00
Martin Kiewitz
b8933d7e8f SCI: removing unneeded mutex locking inside sci0 update cues
svn-id: r50758
2010-07-09 13:01:48 +00:00
Martin Kiewitz
b602e7071b SCI: fixing regression of r50755 - fixing kDoSoundSendMidi
svn-id: r50757
2010-07-09 12:30:34 +00:00
Martin Kiewitz
125f28c367 SCI: fixing signature for kDoSound(suspend)
svn-id: r50756
2010-07-09 12:26:54 +00:00
Martin Kiewitz
ba776fb293 SCI: implemented subsignatures for kDoSound
svn-id: r50755
2010-07-09 12:06:41 +00:00
Martin Kiewitz
9117eec6a7 SCI: getting signatures for subfunctions from previous entries, if needed
svn-id: r50754
2010-07-09 09:26:57 +00:00
Martin Kiewitz
7e05d6e62b SCI: part of subfunction signature&mapping implemented, little cleanup
svn-id: r50750
2010-07-08 21:22:59 +00:00
Martin Kiewitz
07fef4c6e6 SCI: hopefully fix build :P
svn-id: r50747
2010-07-08 18:38:15 +00:00
Martin Kiewitz
b877f3c711 SCI: sorted kernel map alphabetically
svn-id: r50746
2010-07-08 18:26:05 +00:00
Filippos Karapetis
9add81aaf2 SCI: Dropped support for the very old saved game versions 9 - 11. Rationale: a lot has changed since then, we're still not stable, and this helps clean up the code, thus we're still in a position to drop support for old saved games
svn-id: r50738
2010-07-07 20:12:41 +00:00
Martin Kiewitz
322d57a1dd SCI: adding support to kernel signatures that invalid references may also get allowed - doing exactly this for kGraph(restoreBox) - fixes castle of dr. brain when quitting the game - maybe a game specific workaround would be better?!?!
svn-id: r50737
2010-07-07 18:35:07 +00:00
Martin Kiewitz
9b14164bfc SCI: accepting decimal/hexadecimal input on segment_info & kill_segment debug command, cleanup
svn-id: r50735
2010-07-07 14:19:36 +00:00
Paul Gilbert
dd5f6f13e2 Bugfixes and changed field names in the player class to be more explanatory. Implemented Ctrl-T to turn the player - the original game used Ctrl-U, but this is reserved by ScummVM for toggle Mute.
svn-id: r50734
2010-07-07 11:02:11 +00:00
Max Horn
afd2850058 SCI: Add version to obsolete string
This way, if we ever get rid of support for savegames with
version <= 23, we can also get rid of this syncString()
call. Without this change, it would have "infected" every
new savegame version, forever.

svn-id: r50730
2010-07-06 23:24:36 +00:00
Martin Kiewitz
c349d7130c SCI: removing invalid reference error from signature checking, instead adding new type "invalid", so that full call parameter debug information is available
svn-id: r50725
2010-07-06 14:26:29 +00:00
Martin Kiewitz
a7cd1534c6 SCI: fix regression of r50721 - pausing/resuming only on actual menu usage
svn-id: r50724
2010-07-06 14:10:09 +00:00
Paul Gilbert
c89fe5f6d5 Added support for idle character animations
svn-id: r50723
2010-07-06 11:33:09 +00:00
Paul Gilbert
3f7dc9e0e2 Added extra initialisation code for the game's global variables list
svn-id: r50722
2010-07-06 11:32:10 +00:00
Martin Kiewitz
2d5dabee30 SCI: implemented pauseSound inside kMenuSelect
svn-id: r50721
2010-07-06 11:16:11 +00:00
Martin Kiewitz
f3a935351b SCI: fix regression of r50599 - broken greyed font drawing
svn-id: r50720
2010-07-06 11:03:10 +00:00
Filippos Karapetis
0c411d66ce SCI: Simplified op_div and op_mod, removed some variables and removed the pointless OBJ_PROPERTY wrapper
svn-id: r50719
2010-07-06 07:42:25 +00:00
Johannes Schickel
0c3cbcbfc5 Prevent SCUMM from adding gui options based on user flags into the config file (regression from r50706).
svn-id: r50710
2010-07-05 21:18:25 +00:00
Martin Kiewitz
cffcc3d936 SCI: fixing signature of kDoSound (fading related) thx to Ceriand
svn-id: r50707
2010-07-05 20:25:33 +00:00
Johannes Schickel
1443a2721c Fix update of GUI options, which only differ in the language setting.
svn-id: r50706
2010-07-05 20:10:56 +00:00
Martin Kiewitz
0d317c40a2 SCI: fixing kDrawCel signature for kq6
svn-id: r50703
2010-07-05 19:31:32 +00:00
Max Horn
00dfb4db29 SAGA: Fix warning on systems where enum's are unsigned
svn-id: r50685
2010-07-05 16:08:43 +00:00
Martin Kiewitz
63c439a858 SCI: fix compilation issues from r50678
svn-id: r50679
2010-07-05 14:46:09 +00:00
Martin Kiewitz
5527882daa SCI: implemented new kernel call signature format
svn-id: r50678
2010-07-05 14:36:31 +00:00
Paul Gilbert
660ffc194d Bugfixes for new player code - Rex is now correctly positioned when the player manager takes over from the wakeup animation sequence
svn-id: r50669
2010-07-05 09:53:10 +00:00
Matthew Hoops
18b449d4fd Add a hexDumpReg function to view references that are not raw and fix SCI32 strings/arrays in segmentInfo.
svn-id: r50660
2010-07-04 23:38:08 +00:00
Filippos Karapetis
6219ffe52f SCI: Removed the unused line number parameter from validate_variable() and related functions
svn-id: r50654
2010-07-04 21:31:09 +00:00
Filippos Karapetis
7d64f3e343 SCI: Added a short description for all opcodes, so that it's easier to understand what they do without cross referencing the wiki, and removed some obsolete and unused code
svn-id: r50645
2010-07-04 14:55:28 +00:00
Paul Gilbert
587ba8a90e Implemented more of the support methods for player display
svn-id: r50644
2010-07-04 12:45:33 +00:00
Torbjörn Andersson
dde6dabac9 Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,
because that would cause some nasty regressions...)

svn-id: r50643
2010-07-04 07:32:12 +00:00
Paul Gilbert
10e7581fe1 Added support for horizontally flipped foreground sprites, which are indicated by setting the high bit of frame numbers
svn-id: r50638
2010-07-04 00:38:16 +00:00
Martin Kiewitz
5872f5bb1f SCI: adding support to identify uninitialized values, when doing debug output for kernel signatures
svn-id: r50626
2010-07-03 18:44:44 +00:00
Paul Gilbert
88d1155c5e Implemented necessary logic for the abort timer/action code, which allows the player manager to be correctly activated when the 'getting up' animation finishes
svn-id: r50622
2010-07-03 12:49:42 +00:00
Martin Kiewitz
6b152e8039 SCI: fixing #define SIGFOR_ALL, so that amiga games work again :P
svn-id: r50621
2010-07-03 12:33:49 +00:00
Paul Gilbert
99939109d7 Adding the beginnings of a player control class, as well as various changes to the other classes to support it
svn-id: r50620
2010-07-03 11:50:42 +00:00
Martin Kiewitz
42dfdea5df SCI: added resetting of SoundCommandParser, so that error()s before that one got initialized wont crash
svn-id: r50619
2010-07-03 06:55:10 +00:00
Robert Špalek
0fd3558986 Finish support of compressed dubbing
Now even the length of a compressed stream is measured precisely and
the dubbing sounds exactly like the original.

svn-id: r50618
2010-07-03 05:05:28 +00:00
Robert Špalek
8d26e7c2d2 Dragon History tries uses compressed dubbing when available
Timing of speaking is not fixed yet.

svn-id: r50614
2010-07-03 03:48:26 +00:00
Florian Kagerer
aefc42ab0e KYRA/PC98 Audio: fix invalid mem access
svn-id: r50608
2010-07-03 00:06:54 +00:00
Filippos Karapetis
4304a414ab AGI: Removed the deprecated (and confusing) getGameId() function inside the AgiEngine class, and fixed a related bug, too
svn-id: r50607
2010-07-02 23:12:17 +00:00
Filippos Karapetis
188f8d9a11 AGI: Fixed bug #3017905 - "AGI: GR - Crash on start". A free() was done on an already freed reference
svn-id: r50606
2010-07-02 22:55:56 +00:00
Florian Kagerer
a6e07f01bb KYRA/PC98: fix long standing bug were certain sound effects would bring each other out of tune
svn-id: r50604
2010-07-02 21:27:36 +00:00
Florian Kagerer
022808fda6 KYRA/PC98: cleanup
svn-id: r50603
2010-07-02 19:47:14 +00:00
Florian Kagerer
5625c6d1ee KYRA/PC98: fix sfx volume control
svn-id: r50602
2010-07-02 19:08:22 +00:00