17 Commits

Author SHA1 Message Date
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