Willem Jan Palenstijn
30b5497e24
SCI: Clarify function name
2015-05-03 13:45:05 +02:00
Martin Kiewitz
031b9b8ced
SCI: restore: clear screen when restoring
...
primarily to clear kPortrait graphics in kq6
when restoring during portrait animation
2015-04-26 15:50:12 +02:00
Matthew Hoops
6dbdf03746
SCI: Fix Mac games with a height of 190
...
A regression from 72e6a9eeab
2015-01-07 00:29:50 -05:00
Matthew Hoops
59cd015fc9
SCI: Silence a gcc warning
2014-12-24 10:38:28 -05:00
Martin Kiewitz
5594feff2a
SCI: Phantasmagoria actually outputs 630x450 now
...
clipping of video output was required
2014-11-09 17:33:17 +01:00
Martin Kiewitz
72e6a9eeab
SCI: some more work on 480x300 mac support
2014-11-09 12:54:41 +01:00
Filippos Karapetis
9783f0bbd9
SCI: Remove trailing whitespace
2014-10-28 16:17:06 +02:00
Martin Kiewitz
924f1f1fee
SCI: fix coordination translation for 480x300 mac
2014-06-08 23:10:17 +02:00
Martin Kiewitz
c1e895d799
SCI: fix regression introduced by 480x300 commit
...
fix EGA graphic corruption
2014-06-02 01:37:08 +02:00
Martin Kiewitz
94160a28e3
SCI: work on SCI0/01 Mac 480x300 scaling
2014-06-01 13:41:14 +02:00
Johannes Schickel
8fc7d60feb
SCI: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
m-kiewitz
fa41ee132b
SCI: fix for heap corruption during lsl3 ending
2013-09-21 22:35:53 +02:00
Johannes Schickel
dbda889e63
SCI: Take advantage of Surface::getPixels.
2013-08-03 04:02:52 +02:00
Johannes Schickel
dd67e9f099
SCI: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 02:52:33 +02:00
Filippos Karapetis
5b25c40c40
SCI: Fix a non-initialized variable in GfxScreen - CID 1003105
2013-05-01 01:51:12 +03:00
Filippos Karapetis
c0beaf2337
SCI: Differentiate between screen width and pitch
...
This properly addresses the odd screen width (630) in Phantasmagoria 1
2012-07-26 11:06:51 +03:00
Filippos Karapetis
e4378d5bac
SCI: Better handling for Phantasmagoria's odd screen size
...
Still not right, as the width isn't set
2012-07-06 13:17:04 +03:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Eugene Sandulenko
78f1ea7690
OSYSTEM: extended installTimerProc() with timer ID parameter
2011-08-06 11:28:35 +01:00
Johannes Schickel
933ee5b156
GRAPHICS: Remove default values from FontSJIS::drawChar.
...
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first
parameter another one "void *", they furthermore have the exact same
number of required parameters. The one "void *" just had a few extra
parameters with default values. This resulted in a bug in SCUMM, where
"VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &"
and thus the method taking "void *" was incorrectly used.
To make it easier to spot such bugs in the future I just removed the default
values and thus disallow such calls.
2011-07-01 05:42:54 +02:00
Walter van Niftrik
4628833a32
SCI: Set Mac versions of LSL1 and LSL5 to screen height 190.
...
This fixes bug #3310782 . However, as I was unable to get the games working in
a Mac emulator, this is an educated guess at this point.
2011-06-04 15:32:57 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
389b613190
SCI: Fix warning about potential strict-aliasing rules violation
2011-05-09 14:42:45 +02:00
Max Horn
76cf7bc907
SCI: Slight cleanup to undithering code
2011-05-09 14:41:49 +02:00
Willem Jan Palenstijn
fc59a52e7a
SCI: Remove left-over fixme comment
...
It should have been removed in b40b87fdb5
2011-04-13 18:57:18 +02:00
Matthew Hoops
2a2c7f5bef
SCI: Minor cleanup
2011-03-30 16:00:46 -04:00
Lars Skovlund
40d922206b
SCI32: Support for views with 640x400 native resolution
...
(fixes Wolfgang closeup, room 720)
2011-03-30 21:30:51 +02:00
dhewg
c144bbf957
SCI: Add two TODOs
2011-03-25 00:41:01 +01:00
Matthew Hoops
6864a6084d
SCI: Fix the screen height of SQ1 Mac
2011-03-14 18:48:43 -04:00
md5
91d2d04f90
SCI: Some renaming related to the undithering code
...
Renamed some variables, functions and comments related to the
undithering code, to make them a bit easier to understand
2011-03-10 18:05:59 +02:00
md5
5b9677da72
SCI: Cleaned up some view type checks
2011-03-04 22:04:12 +02:00
Willem Jan Palenstijn
b40b87fdb5
SCI: Fix flood fill matching in EGA mode
...
In EGA games a pixel in the framebuffer is only 4 bits. We store a full
byte per pixel to allow undithering, but when comparing pixels for
flood-fill purposes, we should only compare the visible color of a
pixel.
This fixes bug #3078365 in Iceman.
2011-03-04 18:24:46 +01:00
Willem Jan Palenstijn
78c00744c2
SCI: Add fixme for EGA flood fill bug ( #3078365 )
2011-03-04 00:28:23 +01:00
Matthew Hoops
7b5792d6d2
SCI: Fix window height for some Mac SCI1/1.1 games
...
Some games have removed the menu bar from the screen. This also fixes King's Quest V's icon bar.
2011-02-18 15:58:23 -05:00
Matthew Hoops
d3e3eca6a3
SCI: Fix Mac icon bar vertical positioning
2011-02-17 13:38:24 -05:00
Matthew Hoops
266806d892
SCI: Fix Mac icon bar palettes
...
The Mac icon bar uses a palette from the executable and keeps those entries in the palette constantly.
In addition, we're now performing gamma correction on the Mac-based colors so that they are in the same gamma as SCI. The color matching now works with this and using the same color finding as the Mac Palette Manager.
2011-02-17 13:38:23 -05:00
Matthew Hoops
85f8dc5dee
SCI: Add detection for Freddy Pharkas Mac
...
svn-id: r55828
2011-02-08 15:03:23 +00:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Matthew Hoops
4d088332a2
SCI: Add support for GK1 Mac high-res fonts
...
svn-id: r55754
2011-02-03 15:51:51 +00:00
Matthew Hoops
4c0af01d6a
SCI: Disable the special QFG1 Mac icon bar
...
The original interpreter completely ignores it in favor of the regular one.
svn-id: r55748
2011-02-03 02:26:57 +00:00
Matthew Hoops
24e983610d
SCI: Fix GK1 Mac views, the game now starts
...
svn-id: r55721
2011-02-02 15:33:33 +00:00
Filippos Karapetis
5d7729be32
SCI: Cleanup
...
svn-id: r55182
2011-01-09 13:21:19 +00:00
Filippos Karapetis
8b14137c07
SCI: Some video related changes
...
- Now playVideo() is used when playing videos from the console (reducing
code duplication)
- Added support for 16bpp scaling in scale2x, so that the 16-bit color
Duck videos are scaled correctly
svn-id: r54210
2010-11-11 19:22:56 +00:00
Martin Kiewitz
bb716c23fa
SCI: adding force to memorial area for SQ3/intro
...
makes the view getting fully undithered
svn-id: r54068
2010-11-04 18:37:03 +00:00
Matthew Hoops
07abe3d603
SCI: Add detection for Hoyle4 Mac
...
svn-id: r53397
2010-10-13 03:28:59 +00:00
Filippos Karapetis
dd0095f1a2
SCI: Added parentheses inside GfxScreen::isFillMatch() to make the code more
...
readable
svn-id: r52615
2010-09-07 08:12:59 +00:00
Martin Kiewitz
52c9c7b445
SCI: fixing getting selected language
...
for multilingual games
svn-id: r51608
2010-08-02 08:47:06 +00:00
Martin Kiewitz
ddd2bd6a1c
SCI: switching to upscaled hires on pc98 games
...
instead of checking the language to be japanese for that
svn-id: r51601
2010-08-01 22:59:58 +00:00
Matthew Hoops
79bf94c877
SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's used in GK1)
...
svn-id: r51583
2010-08-01 17:54:48 +00:00
Martin Kiewitz
f456b7cfa2
SCI: separating qfg1ega and qfg1vga gameids
...
svn-id: r50881
2010-07-14 11:53:12 +00:00