Sebastian Krzyszkowiak
44e2abaed7
SLUDGE: Use burnSurface in burnSpriteToBackDrop
...
Otherwise the only difference between it and pasteSpriteToBackDrop
is the different color used for blending.
burnString is supposed to transform brightness into alpha. This is
pre-rendered already at load time in burnSurface, so use that.
While at that, remove useLightTexture TODOs from above-mentioned
functions. The only thing the original interpreter does with
useLightTexture in those places is to make sure it's disabled.
2023-01-19 00:07:45 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Eugene Sandulenko
836825abcf
SLUDGE: Merge Parallax stuff back into GraphicsManager
2021-05-14 01:01:58 +02:00
Eugene Sandulenko
b93aa9b05d
SLUDGE: Fix transparency handling
2021-05-12 23:19:19 +02:00
Eugene Sandulenko
28e4e46707
SLUDGE: Reduce header dependencies
2021-05-07 01:29:53 +02:00
Eugene Sandulenko
e3da6f47b5
SLUDGE: Remove unused files and redundant header
2021-05-07 01:29:52 +02:00
Eugene Sandulenko
becfea5dbc
SLUDGE: Changed naming format for dump files
2021-05-07 01:29:52 +02:00
Eugene Sandulenko
2270799dac
SLUDGE: Dump images
2021-05-07 01:29:52 +02:00
Eugene Sandulenko
1ba5ecdde1
SLUDGE: Fix out-of-bounds access when scaling sprites
2021-05-03 15:57:35 +02:00
Eugene Sandulenko
52dfe31842
SLUDGE: Initialize variable for corner case
2020-04-28 11:56:36 +02:00
D G Turner
904e58c35b
SLUDGE: Really Fix MSVC Warnings
2019-10-03 04:57:18 +01:00
D G Turner
743d64bf53
SLUDGE: Further Fixes for MSVC Warnings
...
This _should_ fix the remaining issues with signed vs. unsigned
warnings in the TransparentSurface blit method calls.
2019-10-03 03:56:31 +01:00
D G Turner
75ee80cf1e
SLUDGE: Fix Some MSVC Warnings
2019-09-30 04:41:54 +01:00
Filippos Karapetis
f4e8eed13d
SLUDGE: Fix MSVC warnings
...
- Fix invalid check with empty()
- Change float suffixes to uppercase
- Fix potentially uninitialized variables
2019-05-27 14:53:43 +03:00
Simei Yin
fe9968a074
SLUDGE: Arrange include order
2017-12-19 22:16:21 +01:00
Simei Yin
867b8dbb92
SLUDGE: Reset engine when launching a new game data file
2017-08-22 16:20:15 +02:00
Simei Yin
9ee81ad127
SLUDGE: Fix zBuffer problem when credit scrolling
2017-08-18 05:17:03 +02:00
Simei Yin
302a14677d
SLUDGE: Fix sprite darkness bug and refactor
2017-08-15 07:47:56 +02:00
Simei Yin
1892d60c7a
SLUDGE: Apply dark color to sprite using multipy mode
2017-08-12 12:14:59 +02:00
Simei Yin
044ea6f8b0
SLUDGE: Apply lightmap to sprites
2017-08-12 11:20:48 +02:00
Simei Yin
c84720885a
SLUDGE: Fix sprite depth error
2017-08-12 07:25:29 +02:00
Simei Yin
949dcaa4e2
SLUDGE: Prepare sprites for lightmap
2017-08-11 06:35:14 +02:00
Simei Yin
cd00521552
SLUDGE: Fix default sprite depth
2017-08-08 14:08:29 +02:00
Simei Yin
44c5f5e474
SLUDGE: Refine debug channels
2017-08-02 17:46:42 +02:00
Simei Yin
a1be6d4209
SLUDGE: Move sprite bank to graphics manager
2017-07-21 14:00:24 +02:00
Simei Yin
28982aa9a5
SLUDGE: Remove useless zbuffer updating code
2017-07-20 19:10:01 +02:00
Simei Yin
0fb4a1ddd2
SLUDGE: Objectify input and event handler
2017-07-20 19:10:01 +02:00
Simei Yin
caa51ef49a
SLUDGE: Change all structure names to Uppercase
2017-07-20 19:10:01 +02:00
Simei Yin
e617a53608
SLUDGE: Objectify graphic classes
2017-07-20 00:43:16 +02:00
Simei Yin
4fc6cef968
SLUDGE: Objectify resource manager
2017-07-18 19:05:04 +02:00
Simei Yin
4c4690a1e3
SLUDGE: Update ZBuffer with changed backdrop
2017-07-18 19:05:04 +02:00
Simei Yin
b789c1ef4a
SLUDGE: Add sprite display color
2017-07-16 14:39:31 +02:00
Simei Yin
17dd32f3db
SLUDGE: Complete pasteCharacter to backdrop
2017-07-16 14:39:31 +02:00
Simei Yin
ebd36a8df2
SLUDGE: Complete burnSpriteToBackdrop
2017-07-16 14:39:31 +02:00
Simei Yin
a3876ee8c1
SLUDGE: Clean useless #if 0's
2017-07-15 17:51:57 +02:00
Simei Yin
59f9157106
SLUDGE: Remove gl-related graphics.h
2017-07-15 17:51:57 +02:00
Simei Yin
b60aa5eae7
SLUDGE: fix warnings
2017-07-13 23:29:26 +02:00
yinsimei
d37888ad5f
SLUDGE: use read/writeSint16LE instead of get/putSigned
2017-07-13 18:27:45 +02:00
yinsimei
f8e1fe0064
SLUDGE: replace int types to scummvm defined ones
2017-07-13 18:27:45 +02:00
yinsimei
08304b848a
SLUDGE: use Common/debug instead of sludge debug
2017-07-13 18:27:45 +02:00
yinsimei
07e4982027
SLUDGE: remove #ifdef HAVE_GLES2 and clean code in graphics
2017-07-13 18:27:45 +02:00
yinsimei
9560969ea8
SLUDGE: remove shader-related files
2017-07-13 18:27:45 +02:00
yinsimei
b5a77c9393
SLUDGE: check point to non transparent part of a character
2017-07-13 18:27:45 +02:00
yinsimei
91d2b5d31e
SLUDGE: kill a sprite bank
2017-07-13 18:27:45 +02:00
yinsimei
9a57db6b9c
SLUDGE: correct text color for png font
2017-07-13 18:27:45 +02:00
yinsimei
ae54897ff5
SLUDGE: add channel to debug text
2017-07-13 18:27:45 +02:00
yinsimei
44d7663a49
SLUDGE: read headless png sprites
2017-07-13 18:27:45 +02:00
yinsimei
d63953d9ce
SLUDGE: free resource when finish reading png sprite
2017-07-13 18:27:45 +02:00
yinsimei
52b627bae6
SLUDGE: use Common::List to reproduce layer effects
2017-07-13 18:27:45 +02:00
yinsimei
f89f1aad4c
SLUDGE: formatting code in sprites.cpp
2017-07-13 18:27:45 +02:00