Commit graph

61 commits

Author SHA1 Message Date
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
Giulio Camuffo
7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17:22 +02:00
Giulio Camuffo
bcf08a706a GRIM: More descriptive names for some methods. 2011-09-18 18:46:20 +02:00
George Macon
f435e25e7c Include specializations to fix compile on Mac OS 10.7. 2011-09-12 20:37:48 +08:00
Giulio Camuffo
1fbbd24aee GRIM: Port Actor, Bitmap, Color, Font, Primitive, ObjectState, Scene, TextObj to PoolObject.
These are the classes that go into Lua, and so are kept in a pool,
indexed with an id.
2011-09-07 23:08:59 +02:00
Einar Johan T. Sømåen
46006f0cfc GRIM: Add ENABLE_MONKEY4 macro 2011-08-13 08:06:16 +02:00
Giulio Camuffo
075c1cae7d GRIM: Hide the zbuffer bitmap if it doesn't have the wanted image. Fix #296 2011-07-27 16:30:59 +02:00
Giulio Camuffo
5f59fff5b3 GRIM: Move the debug levels enum in a separate header. 2011-07-23 15:37:14 +02:00
Giulio Camuffo
38e208c00c GRIM: #includes cleanup. 2011-07-23 12:14:33 +02:00
Joel Teichroeb
733b34febc Changed const char * to const Common::String &. 2011-05-22 12:56:37 +08:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Giulio Camuffo
17c0eeeb56 GRIM: Init the value of Bitmap::_colorFormat. 2011-05-17 17:38:52 +02:00
Pawel Kolodziejski
20e222cdf5 ALL: format code 2011-05-16 09:51:06 +02:00
Einar Johan T. Sømåen
259eb97cb0 Common: Even more codestyle-fixes. 2011-05-16 15:31:38 +08:00
Einar Johan T. Sømåen
8414593bfb COMMON: Fixed indentation and code-style for Bitmap-conversions. 2011-05-16 15:31:26 +08:00
Einar Johan T. Sømåen
4a87bf8751 Cleaned up a bit in the conversions 2011-05-16 15:31:13 +08:00
Einar Johan T. Sømåen
87b52ca3a9 GFX: Add Support for 565->RGBA to the converter 2011-05-16 15:30:55 +08:00
Einar Johan T. Sømåen
4269d90d79 GFX: Add upconversion for PS2 tiles to OpenGL too. 2011-05-16 15:30:55 +08:00
Einar Johan T. Sømåen
b73ab46edb GFX: Clear out warnings from previous commit 2011-05-16 15:30:36 +08:00
Einar Johan T. Sømåen
f846c334b6 GFX: Add conversions for 1444->RGBA and RGBA->565, thus making PS2-tiles render properly for EMI. 2011-05-16 15:29:53 +08:00
Joel Teichroeb
1c586e6d61 EMI: Made tiles render correctly 2011-05-14 17:42:37 -07:00
Giulio Camuffo
2f48db6d6d GRIM: A bit of abstraction. 2011-05-12 11:08:45 +02:00
Giulio Camuffo
d641e8607d GRIM: Fix some memory leaks. 2011-05-09 21:53:41 +02:00
Giulio Camuffo
af8cae9c3d GRIM: Make the Bitmaps implicitly shared. 2011-05-09 19:20:47 +02:00
Pawel Kolodziejski
9c0c7a503d EMI: better detect tile, thanks klusark and somaen 2011-05-09 17:05:16 +02:00
Pawel Kolodziejski
f5a71cfd8c EMI: small renames in tile 2011-05-09 01:21:48 +02:00
Pawel Kolodziejski
442f25b452 formatting 2011-05-09 01:16:14 +02:00
Einar Johan T. Sømåen
d9b4ed5463 Add TILE support to Bitmap 2011-05-09 05:06:54 +08:00
Giulio Camuffo
a02740f77d GRIM: Don't cache the bitmaps in ResourceLoader. Bump savegame version to 12 2011-05-08 18:39:28 +02:00
Pawel Kolodziejski
0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Giulio Camuffo
365b7f7901 GRIM: Renames some Bitmap's getters. 2011-05-05 10:49:53 +02:00
Pawel Kolodziejski
21fae5e42b GRIM: SYSTEM_*_ENDIAN -> SCUMM_*_ENDIAN 2011-05-01 21:05:45 +02:00
Pawel Kolodziejski
2b1127da45 formating 2011-04-30 21:59:49 +02:00
Joel Teichroeb
18874a7c91 GRIM: added support for 32 bit bitmaps 2011-05-01 03:57:01 +08:00
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00