Commit Graph

16723 Commits

Author SHA1 Message Date
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
Martin Kiewitz
32dfd0cedc SCI: adding jones/ega to detection tables
svn-id: r50575
2010-07-01 22:23:05 +00:00
Martin Kiewitz
4c04375c8c SCI: added another workaround for uninit temps, this time for jones/cd
svn-id: r50574
2010-07-01 22:09:19 +00:00
Filippos Karapetis
d5e037e703 Added some slight fixes for the RAMA demo, which starts now, though it dies horribly when clicking on anything
svn-id: r50569
2010-07-01 21:08:38 +00:00
Filippos Karapetis
0e3f923f78 The Shivers demo calls the debug kernel function 0x83 (PrintDebug), thus it isn't unused (thanks to clone2727 for pointing that out)
svn-id: r50568
2010-07-01 20:32:41 +00:00
Filippos Karapetis
fa014867cf SCI: Mark the ShiftScreen, ListOps and ATan SCI1 kernel functions as unused (dummy) - we haven't seen them being used anywhere. Added a check and an error in case a kernel function which is considered to be unused is called.
svn-id: r50567
2010-07-01 20:16:42 +00:00
Matthew Hoops
1a675dcd86 Add support for the 'fallback' MIDI in T7G's intro when the CD track cannot be found. The intro music in the Mac version now plays.
svn-id: r50564
2010-07-01 18:47:27 +00:00
Florian Kagerer
eb84a130ad KYRA/PC98: minor cleanup
svn-id: r50563
2010-07-01 18:34:14 +00:00
Filippos Karapetis
7f3b772938 SCI: Added workarounds for 2 uninitialized reads in Jones floppy (EGA and VGA), and added information on the SQ6 uninitialized workarounds
svn-id: r50562
2010-07-01 17:52:50 +00:00
Florian Kagerer
cc243bae34 KYRA/PC98: implement proper volume control (which distinguishes between music and sfx)
svn-id: r50561
2010-07-01 17:47:46 +00:00