Commit graph

104 commits

Author SHA1 Message Date
Joni Vähämäki
6fa4b66aa7 EMI: Initialize _texc, _verts and _layers in the constructor of BitmapData. 2014-06-22 17:49:35 +03:00
Joel Teichroeb
a6a2cb71d4 EMI: Free more memory properly 2014-06-20 11:00:44 -07: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
Christian Krause
07e22b6734 GRIM/EMI: Fix compile warning
- the pixel data retrieved via getPixels() is stored as non-const
data in pixebuffer, so the original object can't be const
2014-02-15 18:40:35 +01:00
Joel Teichroeb
4af2b19577 GRIM: Initialize _userData in BitmapData and Mesh 2014-01-15 09:16:02 -08:00
Einar Johan Trøan Sømåen
acf7d8ef0c GRIM: Initialize BitmapData's _fname in initializer-list 2014-01-07 12:33:41 +01:00
Joel Teichroeb
5fe98d602e EMI: Properly handle endianness of TIL backgrounds 2013-12-06 19:21:39 -08: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
bc2edd831a Revert "EMI: Remove last ifdef ENABLE_MONKEY4 checks"
This reverts commit 930ccad494.
2013-07-30 21:52:08 +02:00
Dries Harnie
930ccad494 EMI: Remove last ifdef ENABLE_MONKEY4 checks 2013-07-10 17:05:40 +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
Dries Harnie
ab2a2cc8cb GRAPHICS: Use proper TGA decoder 2013-07-03 20:57:03 +02:00
Dries Harnie
a723b0e3f5 EMI: Draw background layers at intervals
Previously, we split the background layers into everything
before SO 15 and after, and drew like that. However, this caused
the pink ship in shi.setb to not be drawn.

This patch draws the layers of the background at intervals of ten.
So if a set has six layers, layer 5 is the background and 4,3,2,1,0
are rendered at sortorder 40,30,20,10,0.
2013-06-29 14:41:17 +02:00
Dries Harnie
71c2e44983 EMI: Read binary data in little-endian format 2013-06-04 21:21:26 +02:00
Joel Teichroeb
b1967abd7d GRIM: Only initialize _refCount once in BitmapData
Fixes #728
2013-04-26 16:40:53 -07:00
Einar Johan Trøan Sømåen
44aadeb0c7 GRIM: Initialize _currImage in Bitmap's default-constructor. 2013-04-21 14:51:38 +02:00
Einar Johan Trøan Sømåen
b89136e84d GRIM: Initialize more members in BitmapData. 2013-04-21 14:49:55 +02:00
Paweł Kołodziejski
175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Dries Harnie
b239104e7b EMI: Rename Offset to Layer 2012-11-26 02:08:58 +01:00
Dries Harnie
bde37f96a8 EMI: Over-draw some actors in Set::drawForeground
EMI draws portions of the background over actors
with sortOrder >= 15.
2012-11-26 02:08:58 +01:00
Joel Teichroeb
e27a6ad833 EMI: Load TIL files correctly 2012-11-18 09:17:21 -08:00
Einar Johan Trøan Sømåen
4baa60ea84 EMI: Fix formatting 2012-10-22 19:19:50 +02:00
Joel Teichroeb
115e3232b8 GRIM: Remove extra semicolons 2012-05-05 22:59:51 -07:00
Joel Teichroeb
77f4978a42 GRIM: Remove unneeded forbidden symbol exceptions 2012-05-05 22:19:45 -07:00
Paweł Kołodziejski
2a9b36cd5a Merge pull request #598 from YakBizzarro/res
GRIM: Little modifications in ResourceLoader
2012-04-12 22:29:27 -07:00
Paweł Kołodziejski
640889b805 ALL: disabled compiler warnings 2012-04-12 02:54:10 +02:00
Andrea Corna
ee71476748 GRIM: Remove ResourceLoader::getFileExist and use SearchMan::hasFile instead 2012-04-11 14:43:53 +02:00
Joel Teichroeb
94aeca9663 GRIM: Remove tag from the pool template 2012-04-05 15:20:30 -07:00
Joel Teichroeb
0dcfaf8fb1 GRIM: Do not include unneeded headers 2012-04-04 16:11:05 -07:00
Joel Teichroeb
44efbccff4 GRIM: Fix casting away const 2012-04-03 16:58:04 -07:00
Joel Teichroeb
7afd163b6e GRIM: Fix a memory leak with tinygl bitmaps. Fixes #580 2012-03-31 15:03:56 -07:00
Joel Teichroeb
63938ba499 GRIM: Clean up unneeded includes and fix some trailing whitespace 2012-03-26 20:12:00 -07:00
Giulio Camuffo
b4bbbb0b44 GRIM: Missed few save changes. 2012-03-11 19:03:33 +01:00
Giulio Camuffo
6a57f2fbbd GRIM: Initialize variable. 2012-03-09 16:22:32 +01:00
Giulio Camuffo
df102865de GRIM: Fix use of uninitialized data. 2012-02-12 17:07:18 +01:00
Joel Teichroeb
4acf20480d GRIM: Make sure the bitmap data is loaded before setting the active image 2012-02-04 18:04:10 -08:00
Joel Teichroeb
505ec14fc3 GRIM: Greatly improved memory usage of bitmaps 2012-02-02 09:38:37 -08:00
Paweł Kołodziejski
0246015ccf GRIM: fixed compile error for amiga os 4 2012-01-27 21:43:38 +01:00
Paweł Kołodziejski
d131fb79b6 trying to fix issue #512 2012-01-27 18:57:06 +01:00
Einar Johan T. Sømåen
36f98b0bbc EMI: Handle the a few more leaks. 2012-01-26 07:33:12 +01:00
Joel Teichroeb
2649620a9b GRIM: Fix some small memory leaks 2012-01-25 20:35:58 -08:00
Giulio Camuffo
002d5e69fc GRIM: Hardcode the pixel format for bm and bmz. 2012-01-24 21:36:48 +01:00
Einar Johan T. Sømåen
b1798f4ccc EMI: Fix tile-loading with new TinyGL-code. 2012-01-24 21:36:48 +01:00
Giulio Camuffo
3d14f4d309 GRIM: Make Bitmap use PixelBuffer extensively. 2012-01-24 21:36:48 +01:00
Giulio Camuffo
b42bbe5259 TinyGL: Support for different color modes, part 2. 2012-01-24 21:36:47 +01:00
Giulio Camuffo
158a19df31 TinyGL: Support for different color modes, first part. 2012-01-24 21:36:46 +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
3c649bd2fd EMI: Fix issues pointed out by clone2727 2012-01-14 22:45:00 +01:00