Commit Graph

16732 Commits

Author SHA1 Message Date
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
Martin Kiewitz
c1aecd0b9b SCI: change drawing of fonts, so that we never do triple pixel line duplications. sierra didn't do this, but it looks much better - "fixes" gk1, kq6 font rendering when running in hires
svn-id: r50599
2010-07-02 15:58:09 +00:00
Filippos Karapetis
7fa2664828 Some slight fixes so that Phantom/Dragon start again
svn-id: r50598
2010-07-02 14:39:13 +00:00
Filippos Karapetis
dcb92c8352 Add checks for null reference to strncpy() and strlen() - happens for example when trying to talk to inanimate objects in KQ6
svn-id: r50596
2010-07-02 10:38:42 +00:00
Filippos Karapetis
79768098b1 Added handling for kLock called with resource id -1 (unlock all resources of the requested type). Happens e.g. in KQ6 and LSL6
svn-id: r50595
2010-07-02 10:18:11 +00:00
Martin Kiewitz
7b6be52f22 SCI: added possible workaround or final solution for hires portraits not fully removed from screen in kq6 - needs to get investigated further but this will get a little bit difficult
svn-id: r50594
2010-07-02 09:50:33 +00:00
Martin Kiewitz
b8ff75047b SCI: changing adjusting of upscaled hires box coordinates
svn-id: r50593
2010-07-02 09:09:22 +00:00
Filippos Karapetis
91a414dbc9 Extended the SCI2 text drawing hack for SCI2.1 too, and added font caching
svn-id: r50592
2010-07-02 08:55:12 +00:00
Filippos Karapetis
b252d5f0b9 getString() on a NULL pointer is an empty string (verified in SCI2.1)
svn-id: r50591
2010-07-02 08:53:51 +00:00
Matthew Hoops
8b0f49b801 Only print the ambiguous object notice in findObjectByName if we didn't specify an index.
svn-id: r50584
2010-07-01 23:13:42 +00:00
Max Horn
ac351c175f Fix code formatting
svn-id: r50581
2010-07-01 23:05:13 +00:00
Filippos Karapetis
21450f1a2e Added a workaround for an unitialized variable in GK2
svn-id: r50580
2010-07-01 22:56:02 +00:00
Lars Skovlund
e47dee2faa Accidentally missed this file in commit 50577
svn-id: r50578
2010-07-01 22:44:36 +00:00
Lars Skovlund
4dd02d2f4a Support the CD kernel call (stub) and add the TRUE_REG constant.
Would be nice to use this constant in pre-existing code.

svn-id: r50577
2010-07-01 22:38:36 +00:00