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
Max Horn
3f429d64a2
SCI: Rename some variables to match our naming conventions
...
svn-id: r50549
2010-07-01 16:04:29 +00:00
Max Horn
e309f05162
SCI: Simplify SegManager::findObjectByName
...
svn-id: r50548
2010-07-01 16:04:04 +00:00
Paul Gilbert
6c6d8b3fb3
Introduced a hash for storing all the miscellaneous data values, and used it to more properly implement display of all the wakeup text in the first room
...
svn-id: r50544
2010-07-01 12:01:17 +00:00
Robert Špalek
b45d2cd92b
Implement playing RAW/MP3/OGG/FLAC dubbing from ZIP archives.
...
Playing works well, but I am not enabling it in the game player yet, because
I have not implemented measuring the time duration of compressed dubbing,
which is needed in the (exclusively used) blocking mode.
svn-id: r50543
2010-07-01 07:10:40 +00:00
Filippos Karapetis
b0b4f34d27
Added a workaround for an uninitialized temp read in KQ6 floppy, when opening the controls window - from bug report #3023602
...
svn-id: r50541
2010-07-01 05:33:51 +00:00
Filippos Karapetis
3cd5821085
SCI: Silenced a warning about a non game breaking script bug in Castle of Dr. Brain, room 360
...
svn-id: r50538
2010-06-30 17:47:44 +00:00
Filippos Karapetis
b85fd471a6
Added support for kAddAfter with 4 parameters (used in Torin's Passage, for example)
...
svn-id: r50537
2010-06-30 17:36:52 +00:00
Martin Kiewitz
1287e6f252
SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots in gk1
...
svn-id: r50536
2010-06-30 15:44:26 +00:00
Martin Kiewitz
bcc010a56e
SCI: remove some duplicate code
...
svn-id: r50535
2010-06-30 15:26:45 +00:00
Martin Kiewitz
04d8ac4114
SCI: removing sq1 workaround for kUnLoad for now, maybe it was originally meant for calling kUnLoad with just 1 argument
...
svn-id: r50534
2010-06-30 14:39:03 +00:00
Martin Kiewitz
4e999c8295
SCI: support for hires views in gk1
...
svn-id: r50533
2010-06-30 14:26:47 +00:00
Filippos Karapetis
bff3e89e48
SCI: Removed the FreeSCI music code
...
svn-id: r50532
2010-06-30 13:49:05 +00:00
Filippos Karapetis
a14c6d7815
Fixed the signature for kUnload (thanks m_kiewitz)
...
svn-id: r50530
2010-06-30 13:31:47 +00:00
Martin Kiewitz
bf6acef9a9
SCI: fixed a typo, so that workarounds really trigger an ignore kernel call for now
...
svn-id: r50529
2010-06-30 11:09:49 +00:00