Commit graph

24 commits

Author SHA1 Message Date
Paweł Kołodziejski
06902574b4
GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet
23339184ce GRIM: Clean up float data loading 2018-04-14 11:49:35 +02:00
Vincent Pelletier
84f83fe6ea ALL: Rename get_float to READ_LE_FLOAT
For consistency with other functions/macros from common/endian.h .
2017-05-12 13:57:16 +00:00
Vincent Pelletier
55d1e6b489 GRIM: Make Sprite::loadBinary bitfield debug more readable
Also, second bitfield was reported with value from first.
2017-04-29 16:43:33 +00:00
Joel Teichroeb
487702f2b2 GRIM: Set the default sprite flags properly 2014-08-24 14:37:20 -07:00
Joni Vähämäki
8d3ef741cd EMI: Print information to debug channel if an unknown sprite or texture flag is encountered. 2014-08-12 17:46:51 +03:00
Joni Vähämäki
3df07c384e EMI: Fix parsing of sprite flags. Fixes #960 2014-08-12 17:46:47 +03:00
Joni Vähämäki
ee24b2c12f EMI: Parse sprite Z offset. 2014-08-12 17:46:44 +03:00
Joni Vähämäki
6e96d962f8 EMI: Parse tex coords from sprite files. Fixes #978 2014-08-10 18:51:31 +03:00
Joni Vähämäki
131013f24f EMI: Print warning if an unknown blend mode value is encountered when parsing a sprite file. 2014-06-23 22:34:48 +03:00
Joni Vähämäki
33b32470d7 EMI: Read depth write and alpha test flags from sprite files. 2014-06-23 22:34:47 +03:00
Joni Vähämäki
83ed05c269 EMI: Read vertex color values from sprite files.
This makes the coals in wed more transparent, matching the original game better.
2014-06-22 14:19:56 +03:00
Joni Vähämäki
59e60654f8 EMI: Add support for additively blended sprites. 2014-06-22 14:19:54 +03:00
Joseph Jezak
df3d63fc24 EMI: Add support for clamping sprite textures and repeating other textures. 2014-06-18 22:19:42 -04:00
Joel Teichroeb
0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Ingo van Lil
3efbe58ebf EMI: Store materials in costume, not in mesh
When multiple meshes in an EMI costume use the same material each will have
its own Grim::Material instance. If a material used by multiple meshes is
changed by a texi chore the instances will become inconsistent.

With this patch materials are managed by the costume, and there will only
be one instance of each reference material.
2013-12-24 00:50:13 +01:00
Joel Teichroeb
58bf1c6e1c EMI: Do not invert sprite x coords
This fixes an issue caused by correctly drawing sprites facing the camera.
Because we do it more like GRIM we do not need to invert the x coord.
2013-11-30 16:42:57 -08:00
Joel Teichroeb
c0cb2f1f9c GRIM: Use a consitent style for constructor initializers 2013-10-26 13:57:55 -07:00
Einar Johan Trøan Sømåen
fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00
Joel Teichroeb
08d30bfb01 EMI: Use a Sprite's costume in order to share materials 2013-07-08 09:23:58 -07:00
Joel Teichroeb
21afde3846 GRIM: Move Sprite into it's own file 2013-07-07 17:25:35 -07:00