Commit Graph
39095 Commits
Author SHA1 Message Date
Johannes Schickel 052d2ab6f1 Prevent GraphicsWidget from being assigned a surface which wouldn't fit in the widget.
svn-id: r50641
2010-07-04 01:18:49 +00:00
Johannes Schickel 336cde4b61 Always use kThumbnailHeight2 (i.e. 120) for the height of the thumbnail widget.
This fixes the thumbnails for games with resolutions != n*200 in the launcher.

svn-id: r50640
2010-07-04 01:11:37 +00:00
Johannes Schickel acecfcaf69 Center the surface of a GraphicsWidget in case it is smaller than the widget's size.
svn-id: r50639
2010-07-04 01:11:18 +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
Johannes Schickel 2662d569d9 Fix long standing regression (introduced with r34053) in thumbnail scaling code for Hercules graphics.
svn-id: r50605
2010-07-02 22:38:42 +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
Filippos Karapetis e22a75de99 Rewrote the handling of thumbnail creation for KQ6 Windows in rev #50600, so that it recreates the screen buffer like the other workarounds above it (thanks to LordHoto for pointing this out)
svn-id: r50601
2010-07-02 19:04:44 +00:00
Filippos Karapetis 1beff1a599 Added a special case for KQ6 hires in the thumbnail creation code, which runs at a resolution of 640x440
svn-id: r50600
2010-07-02 16:52:09 +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 4fabca98a5 Remove -Wcast-align -- it cause many spurious warnings on several ports
svn-id: r50583
2010-07-01 23:12:45 +00:00
Max Horn 762ff57e0d NDS: Some tweaks for compiling via std build system
svn-id: r50582
2010-07-01 23:12:28 +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 a905327e65 NDS: Fix typo
svn-id: r50557
2010-07-01 16:26:18 +00:00
Max Horn 78b6e246df Fix configure output (missing newline)
svn-id: r50556
2010-07-01 16:26:00 +00:00
Max Horn e3590a60a0 NDS: Fix compile errors and a warning
svn-id: r50555
2010-07-01 16:06:26 +00:00