Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
sluicebox
0aa55ce452
SCI32: Avoid global constructors in CelObj
...
Fixes the last clang warning in the SCI engine
2021-08-24 18:01:42 -05:00
sluicebox
a92582ef0e
SCI32: Translate Mac colors when drawing CelObjColor
...
Fixes several kSetShowStyle transitions such as the iris effect
in LSL6 Hi-res Mac at the end of the beach scene at night (room 860)
2021-05-01 14:29:18 -07:00
Filippos Karapetis
2c4b4c6cd5
SCI: Add missing class member initializers
2021-02-08 03:11:46 +02:00
Filippos Karapetis
bd7e708fc3
SCI: Move resource related functionality into a separate folder
2020-11-29 14:34:55 +02:00
sluicebox
336bf0dd37
SCI32: Translate Mac colors when drawing cels
...
Fixes KQ7 credits, RAMA credits
2020-07-23 02:41:10 -07:00
Bastien Bouclet
553d2968bb
SCI: Add override keywords
2020-02-09 12:43:16 +01:00
Adrian Frühwirth
9e3376c8d0
JANITORIAL: Silence GCC warning
2018-03-23 18:42:37 +01:00
Colin Snover
b6c3f0f547
SCI32: Clean up CelObj
...
* Rewrap comments to 80 columns
* Clarify comments where possible
* Use smart pointers where appropriate
* Change view/pic flags detection to always use word-size
(byte-size check for flag 0x80 was a compiler optimisation)
2017-10-06 22:56:24 -05:00
Colin Snover
43a07abb46
SCI32: Implement kCelLink
...
kCelLink exists in SSCI since 2.1mid, but it is only known to be
used in Lighthouse, during the weapon creation puzzle near the end
of the game.
2017-09-03 20:58:07 -05:00
Willem Jan Palenstijn
d9807b0fca
SCI32: Fix warning
2017-05-26 19:33:59 +02:00
Colin Snover
8a5eb0c784
SCI32: Fix dumb typo in CelInfo32::toString
...
The typo was `if (kCelTypeColor)` instead of
`if (type == kCelTypeColor)`. Changed to use a switch instead for
improved clarity and code intelligence.
2017-04-22 19:28:36 -05:00
Colin Snover
31daa956d6
SCI: Implement bounds-checked reads of game resources
2017-03-27 19:42:31 -05:00
Colin Snover
600a9127de
SCI32: Add pic cel to CelInfo32 debugging output
2017-01-16 12:16:14 -06:00
Colin Snover
2eadb3e924
SCI32: Improve ScreenItem missing resource error
2016-12-19 14:46:59 -06:00
Colin Snover
40444b0aeb
SCI32: Clarify some identifiers
...
transparentColor -> skipColor
displace -> origin
scaledWidth -> xResolution
scaledHeight -> yResolution
2016-10-09 11:21:46 -05:00
Colin Snover
9a64c0587b
SCI32: Always build scaler tables to the maximum possible size
...
This fixes rendering errors in Torin caused by the scaler table
being cut off early when cels larger than the dimensions of the
screen are scaled.
2016-09-29 19:39:16 -05:00
Colin Snover
051eae4639
SCI32: Increase maximum line width for graphics
...
Torin renders pics that are wider than 1024px; SCI3 bumps the
maximum line width to 4k.
2016-08-19 15:23:10 -05:00
Colin Snover
fdb2290415
SCI32: Add some bounds checking, const-correctness, and errors to CelObj
2016-08-19 13:57:40 -05:00
Colin Snover
ff00e93c67
SCI32: Remove GfxScreen from SCI32
2016-08-19 13:57:40 -05:00
Colin Snover
b6dbc79021
SCI32: Add support for blacklined video
...
Ow. My eyeballs.
2016-07-10 09:36:10 -05:00
Colin Snover
29f7a66af4
SCI32: Add low resolution constants
...
In a few places in the graphics system, fixed low-resolution values
are used instead of the game script resolution.
2016-06-30 14:04:56 -05:00
Colin Snover
c4e8ffc821
SCI32: Update header parameters with const, to match implementation
2016-05-25 19:16:11 -05:00
Colin Snover
e25d928a9c
SCI32: Fix crashes in kIsOnMe caused by stale CelObjs
2016-03-18 13:08:37 -05:00
Filippos Karapetis
a393a1348a
SCI32: Remove dead code related to priority map handling
...
The priority map is not used at all in SCI32 at the engine level by
design, so all the relevant code that handles picture priority is
pretty much dead
2016-03-16 01:51:07 +02:00
Colin Snover
bd81da1a6a
SCI32: Initialise all scaler tables
...
Initialising only the first table means that if the first ratios
aren't 1:1 but the *second* ratios are 1:1, the second ratios will
read from an uninitialised table.
2016-03-15 14:30:57 -05:00
Johannes Schickel
7be486ae27
SCI: Slight template formatting fixes.
2016-03-08 20:15:22 +01:00
Johannes Schickel
693f8dc295
SCI: Add missing namespace comments in graphics/.
2016-03-08 20:13:05 +01:00
Colin Snover
73eea88939
SCI32: Move in-memory bitmap read/write into its own class
2016-03-07 20:51:06 -06:00
Colin Snover
9a280d3965
SCI32: Add all kBitmap signatures
...
Not all SCI2.1late/SCI3 function signatures are fully known yet,
but all subops are now represented in the kernel tables.
2016-03-03 20:31:10 -06:00
Martin Kiewitz
19283b94a9
SCI32: Some work on kIsOnMe
...
Plenty of hotspots seem to work now
Not fully done yet
2016-02-20 05:38:22 +01:00
Filippos Karapetis
c1dacbe65d
SCI: Use American English, like we do in other parts of ScummVM
...
This replaces "colour" to "color"
2016-02-19 02:50:16 +02:00
Filippos Karapetis
52f11b1357
SCI: Use proper constification in overriden base class functions
2016-02-19 02:37:35 +02:00
Colin Snover
775c39102a
SCI: Implement templated drawing subroutines
2016-02-18 13:18:02 -06:00
Colin Snover
75ccabc325
SCI: Implement accurate renderer architecture for SCI32
2016-02-18 13:18:02 -06:00