sluicebox
daed465639
SCI: Add option for high resolution Mac fonts
...
This adds the existing GAMEOPTION_HIGH_RESOLUTION_GRAPHICS option to
Mac games with native fonts. Default is enabled. If disabled, then the
low resolution Mac fonts are used and the game isn't upscaled.
2022-11-06 23:05:20 -08:00
sluicebox
1efdb1cb6c
SCI: Add support for Macintosh fonts
...
High-resolution native Macintosh fonts are now supported in the
following games when the game's executable is present:
- Castle of Dr. Brain
- Freddy Pharkas
- King's Quest 6
- Leisure Suit Larry 1
- Leisure Suit Larry 5
- Space Quest 1
And in these games when classicmacfonts.dat is present:
- Leisure Suit Larry 6 (floppy)
- Quest for Glory 1
2022-11-06 23:05:20 -08:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paul Gilbert
0136043f09
COMMON: Revert Change Rect and Point to have int32 fields
...
This reverts commit 1c3e7fb4e9 .
2021-07-06 20:35:42 -07:00
Paul Gilbert
1c3e7fb4e9
COMMON: Change Rect and Point to have int32 fields
2021-07-04 18:24:26 -07:00
sluicebox
05d5299c54
SCI: Remove unused 640x480 mode from SCI16 code
...
This is old SCI32 code that should have been removed from
GfxScreen when GfxScreen32 was created.
2021-05-14 17:37:19 -06:00
wonst719
b7664c24dc
SCI: Korean fan translation support
2020-11-08 22:26:31 +02:00
Willem Jan Palenstijn
2cc67cd29b
SCI: Add custom palette mods for SQ3 and LSL2
...
This adds a devtools script to convert scifx config files from FreeSCI
into C++ code to apply the palette mods.
The actual palette mods are by Matt Hargett, and from FreeSCI.
2020-10-31 11:44:28 +02:00
Filippos Karapetis
c5df234521
SCI: Render text in games running at a 480x300 resolution
...
It looks awful for now, but at least there is text showing up on screen
2020-10-28 22:12:41 +02:00
Willem Jan Palenstijn
0be765b288
SCI: Add support for RGB rendering
2020-10-24 02:55:01 +03:00
sluicebox
b8390fa161
GRAPHICS: Add interface for horizontal shake
2019-11-19 00:20:40 +01:00
Colin Snover
a4eb6a5ca5
SCI: Remove old SCI32 view scaling code from SCI16 graphics code
2017-09-27 20:27:34 -05:00
Colin Snover
31daa956d6
SCI: Implement bounds-checked reads of game resources
2017-03-27 19:42:31 -05:00
Eugene Sandulenko
dead4aa014
JANITORIAL: Remove trailing spaces
2016-10-09 14:59:58 +02:00
Colin Snover
75ccabc325
SCI: Implement accurate renderer architecture for SCI32
2016-02-18 13:18:02 -06:00
Martin Kiewitz
209907d01e
SCI: Screen pixel optimizations
...
Put things like putPixel() into screen.h, so that it can be inlined.
Also don't use look up tables for those methods anymore and instead
calculate offsets manually, because that should be faster.
2016-02-06 23:41:20 +01:00
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
Martin Kiewitz
72e6a9eeab
SCI: some more work on 480x300 mac support
2014-11-09 12:54:41 +01: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
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
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
76cf7bc907
SCI: Slight cleanup to undithering code
2011-05-09 14:41:49 +02: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
Matthew Hoops
e1883a6cf4
SCI: Limit SCI32 view scaling to when we're actually scaling
...
Fixes bug #3253208
2011-03-29 10:56:19 -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
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
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
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
4d088332a2
SCI: Add support for GK1 Mac high-res fonts
...
svn-id: r55754
2011-02-03 15:51:51 +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
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
c77c84f5c5
SCI: also sync palette after playing movies, fixes kq6 intro
...
svn-id: r50798
2010-07-11 10:11:31 +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
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
Max Horn
7e0240ab14
SCI: Comment cleanup
...
svn-id: r50423
2010-06-28 11:20:51 +00:00
Max Horn
db2d41a433
SCI: Make src param of GfxScreen::scale2x const
...
svn-id: r50420
2010-06-28 11:19:45 +00:00
Filippos Karapetis
52ddc711d0
SCI: separated the graphics initialization code a bit
...
- Moved all of the graphics initialization code on startup inside initGraphics()
- Moved all of the screen initialization (resolution, upscaled graphics etc) code inside GfxScreen()
svn-id: r50412
2010-06-28 08:18:55 +00:00
Martin Kiewitz
a0db16294a
SCI: adding workaround for some underwater rooms in iceman - removing visual&priority lines that appear because of non dither mode (would merge with dithered fill color combination normally)
...
svn-id: r49113
2010-05-20 05:48:37 +00:00
Martin Kiewitz
f3b2627179
SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits are drawn at the right position
...
svn-id: r49041
2010-05-15 15:16:32 +00:00
Martin Kiewitz
eb2b3f352e
SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6)
...
svn-id: r49040
2010-05-15 14:17:50 +00:00
Martin Kiewitz
59a255226f
SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum GFX_SCREEN_UPSCALED_*
...
svn-id: r49039
2010-05-15 08:57:13 +00:00
Martin Kiewitz
cd4812dfd9
SCI: support for kanji (sjis), minor centering issue left
...
svn-id: r48674
2010-04-16 18:23:50 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Martin Kiewitz
03dd0ac7bb
SCI: screen specific debug functions are now called directly w/o SciGui/32
...
svn-id: r47905
2010-02-05 15:53:36 +00:00
Martin Kiewitz
ab2941bb52
SCI: adding some minor documentation for the various graphic classes
...
svn-id: r47904
2010-02-05 15:48:45 +00:00
Martin Kiewitz
5f39e3b7b5
SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32
...
svn-id: r47889
2010-02-04 20:52:56 +00:00
Martin Kiewitz
5cf510648a
SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32
...
svn-id: r47781
2010-01-31 21:59:37 +00:00