Commit Graph
74 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
Paweł Kołodziejski 66bc1955e8 GRIM: Cleanup pixel formats for textures 2021-12-04 22:21:12 +01:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Paweł Kołodziejski 6e619ca714 GRIM: Merge branch 'remastered' 2020-10-07 18:26:49 +02:00
Paweł Kołodziejski c138bfe777 Revert "GRIM: Adds support for loading embedded colormaps." 2016-07-23 14:14:03 +02:00
Vincent Pelletier abd69a4271 GRIM: Adds support for loading embedded colormaps.
Very few material files define their own color maps:
  DATA000.LAB/blue.mat
  DATA000.LAB/orange.mat
  DATA000.LAB/pink.mat
  DATA000.LAB/white.mat
  DATA001.LAB/bren_chest.mat
  DATA001.LAB/bren_shin.mat
  DATA001.LAB/bren_skin.mat
  DATA001.LAB/bren_thigh.mat
  DATA004.LAB/bren_chest.mat
  DATA004.LAB/bren_shin.mat
  DATA004.LAB/bren_skin.mat
  DATA004.LAB/bren_thigh.mat
Also, walk (but ignore) downscaled mipmaps. Even fewer files contain them, and
they contain a single image each (with 3 mipmaps):
  DATA000.LAB/dflt.mat
  DATA000.LAB/shadow.mat
2016-07-21 15:40:50 +02:00
Dries Harnie fb3bd8139a JANITORIAL: Fix Coverity warnings
Fixes coverity warnings 1267220, 1256936, 1229470, 1224097, 1219766,
1054364, 1009896.
2015-05-12 08:49:19 +02:00
Einar Johan Trøan Sømåen 794eb174ac GRIM: Fix assert in Concept Gallery (Remastered) 2015-02-02 22:30:59 +01:00
Joel Teichroeb 875c4b09a5 Improve overlays 2015-01-31 13:36:01 -08:00
Einar Johan Trøan Sømåen a26f8108cf Perform PixelFormat-conversion on load of Overlay-PNGs 2015-01-29 21:18:58 +01:00
Joel Teichroeb 306a20373d Fix colour 2015-01-28 20:54:07 -08:00
Joel Teichroeb 1afe52dcf9 Add overlays. Colour is currently wrong" 2015-01-28 20:44:27 -08:00
Pawel Kolodziejski a39576d921 GRIM/EMI: attempt to fix over read buffer. cleanup types 2014-07-24 15:37:11 +02:00
Christian Krause 1e82136592 EMI: Implement screenshot thumbnails for savegames 2014-07-16 23:18:43 +02:00
Christian Krause 565f488c58 GRAPHICS: Refactoring
Rename some variables and functions of the graphics drivers to distinguish properly betwen textures and materials.
2014-07-02 02:07:06 +02: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
Einar Johan Trøan Sømåen 578bb14474 GRIM: Reduce scope of a few variables in MaterialData::initEMI 2014-01-07 12:29:41 +01:00
Christian Krause 9bbd49ca43 EMI: Fix initialization of textures
Residualvm crashes when leaving the campfire szene on Knutting Town due
to a NULL-pointer dereference.

When initializing the texture with dummy values due to a missing tex
file, set _data to NULL so that a free doesn't cause any harm when
destructing the MaterialData objects.
2013-12-08 22:10:32 +01:00
Joel Teichroeb c0cb2f1f9c GRIM: Use a consitent style for constructor initializers 2013-10-26 13:57:55 -07:00
Pawel Kolodziejski 790db038c0 ALL: sync with scummvm 2013-10-13 11:30:34 +02: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
Einar Johan Trøan Sømåen 4cd33f9453 GRIM: Initialize _textures in MaterialData. 2013-04-21 15:32:32 +02:00
Giulio Camuffo 920875909d GRIM: Make TextSplitter tell the file name on error 2013-02-04 21:36:38 +01:00
Giulio Camuffo f125c369c2 GRIM: Improve error message 2013-02-04 21:25:25 +01:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Joel Teichroeb 84db0881fa EMI: Add BM_BGRA for correct sprite colour 2012-11-18 09:47:23 -08:00
Einar Johan Trøan Sømåen 7c268cd8ec EMI: Use TGADecoder for Materials. 2012-10-22 19:06:56 +02:00
Dries Harnie 20a8cb1caf EMI: Support transparent textures on actors 2012-08-28 22:36:42 +02:00
Dries Harnie 1f8b89ffa0 EMI: Move fixFilename into Grim::ResourceLoader namespace 2012-08-12 18:00:23 +02:00
Dries Harnie e31fbe6182 EMI: Fix filenames inside .SUR files 2012-08-12 12:19:45 +02:00
Joel Teichroeb 228187b214 GRIM: Clean up model slightly 2012-04-24 17:21:18 -07:00
Joel Teichroeb 78ec6f4aa9 EMI: Implement Specialty Textures in OpenGL 2012-04-12 17:59:41 -07:00
Joel Teichroeb ba9637fc53 EMI: Update two calls to scanString so that they work correctly with the new scanner 2012-02-21 18:17:37 -08:00
Joel Teichroeb 245e51158c EMI: Implement Run-Length Encoding for TGA images 2012-02-17 14:43:41 -08:00
Joel Teichroeb 7ff91c5817 GRIM: Various cleanups to code 2012-02-04 18:07:24 -08:00
Einar Johan T. Sømåen 36f98b0bbc EMI: Handle the a few more leaks. 2012-01-26 07:33:12 +01:00
Einar Johan T. Sømåen 113e72ca4d EMI: Fix various memory leaks. 2012-01-26 06:51:10 +01:00
Joel Teichroeb af7f68db76 GRIM: Fix some memory leaks related to not always freeing streams 2012-01-20 12:06:01 -08:00
Einar Johan T. Sømåen 602607bec2 EMI: Move yet another readByte out of an assert 2012-01-15 00:21:38 +01:00
Einar Johan T. Sømåen 3c649bd2fd EMI: Fix issues pointed out by clone2727 2012-01-14 22:45:00 +01:00
Einar Johan T. Sømåen c5120b5cb2 EMI: Use GL_BGR directly instead of converting. 2012-01-10 06:39:04 +01:00
Einar Johan T. Sømåen 79637c5538 EMI: Add texture-support for OpenGL
Also disable texture-usage in EMI for TinyGL right now,
as that needs additional work, adding in RGB/BGR-support.
2012-01-07 03:16:55 +01:00
Paweł Kołodziejski e350c7f777 renames 2012-01-06 23:29:45 +01:00
Einar Johan T. Sømåen 13692224dd EMI: Add basic Texture-loading, and disable it for now 2012-01-02 14:00:05 +01:00
Andrea Corna cfe3ab3858 GRIM: Make Material load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00
Andrea Corna 49071ee661 GRIM: Make Costume and TextSplitter load from a stream instead of a data Block 2011-12-30 17:17:08 +01:00