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
Filippos Karapetis
a1dc56429c
SCI: Removed duplicate warning for missing audio samples
...
svn-id: r50560
2010-07-01 17:42:39 +00:00
Robert Špalek
6859a30555
Fix a typo in the RAW format bugfix :-)
...
svn-id: r50559
2010-07-01 17:16:06 +00:00
Robert Špalek
2d6f912bd1
Fix playing RAW and RAW80 streams
...
svn-id: r50558
2010-07-01 17:06:14 +00:00
Max Horn
aa6be750fb
SCI: Invoke resetSegMan from SegManager::saveLoadWithSerializer, not from EngineState::saveLoadWithSerializer
...
svn-id: r50554
2010-07-01 16:06:04 +00:00
Max Horn
9d47b191f6
SCI: Rename some more stuff
...
svn-id: r50553
2010-07-01 16:05:47 +00:00
Max Horn
b8904a48ed
SCI: Make SegManager::_heap private
...
svn-id: r50552
2010-07-01 16:05:29 +00:00
Max Horn
c822cd67cb
SCI: Make SegManager::_classTable private.
...
This require a small tweak to the save/load code: I moved the syncing
logic for _classtable from EngineState::saveLoadWithSerializer to
SegManager::saveLoadWithSerializer, which in theory should have no
effect (luckily, _classtable was being synced right after the
segment manager).
svn-id: r50551
2010-07-01 16:05:10 +00:00
Max Horn
36799dc83f
SCI: Add SegManager::getSystemString() method
...
svn-id: r50550
2010-07-01 16:04:48 +00:00