Commit graph

95 commits

Author SHA1 Message Date
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
Einar Johan T. Sømåen
f7b959d6de EMI: Add loading-splash-screen to PS2-version 2012-01-14 13:21:43 +01:00
Joel Teichroeb
efd6c7bd78 GRIM: Wrap file streams in a compressed read stream whenever needed 2012-01-09 19:24:00 -08:00
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +01:00
Einar Johan T. Sømåen
a87721551c GRIM/EMI: Fix TILE-loading 2011-12-30 19:12:50 +01:00
Andrea Corna
37b70f4350 GRIM: Remove Block class. Restore cache for raw files in ResourceLoader 2011-12-30 17:17:08 +01:00
Andrea Corna
037d2941bd GRIM: Make Bitmap load from a stream instead of a data Block 2011-12-30 17:17:07 +01:00
jj
c3e3230161 GRIM: Make sure all ctor paths of BitmapData properly initialize all member variables. Have GfxOpenGL::destroyBitmap and Bitmap::freeData() safely delete their contents to leave no dangling pointers behind. 2011-12-30 16:57:35 +01:00
jj
2c87e9f483 GRIM: Added debugging functionality to detect and avoid past-the-buffer writes when loading bitmaps using decompress_codec3 in bitmap.cpp. 2011-12-30 16:53:32 +01:00
Giulio Camuffo
576dc6459f GRIM: Make sure to return a value. Fix build on MSVC. 2011-10-27 20:47:51 +02:00