50 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
af37825be3
ENGINES: Replace PixelBuffer with Surface 2021-11-27 20:14:44 +01:00
Vincent Pelletier
e1b414e50a GRIM: Convert save game image to original pixel format.
Pixel format does not seem to be stored in save game, so when loading a
save game produced in 32 bits mode it appears corrupted. So, to preserve
backward compatibility, convert to 16bits format before storing.
2016-07-21 16:31:09 +02:00
Christian Krause
b186c21f85 EMI: Fix wrap around of Layers/Frames
This patch makes sure, that Layer::_frame is smaller than numLayers
of the bitmap in order to prevent out-of-bounds access to
BitmapData::_layers.
2015-05-16 10:39:08 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Dries Harnie
ad64bdcbf6 GRAPHICS: Background drawing [OpenGLS] 2014-01-14 00:26:39 +01: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
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
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
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
63938ba499 GRIM: Clean up unneeded includes and fix some trailing whitespace 2012-03-26 20:12:00 -07:00
Giulio Camuffo
9d0666129a GRIM: Convert the zbuffer data to fit the 32bit zbuffer in TinyGL. 2012-02-13 19:21:37 +01:00
Giulio Camuffo
df102865de GRIM: Fix use of uninitialized data. 2012-02-12 17:07:18 +01:00
Joel Teichroeb
505ec14fc3 GRIM: Greatly improved memory usage of bitmaps 2012-02-02 09:38:37 -08: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
Einar Johan T. Sømåen
f7b959d6de EMI: Add loading-splash-screen to PS2-version 2012-01-14 13:21:43 +01:00
Paweł Kołodziejski
e350c7f777 renames 2012-01-06 23:29:45 +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
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
bcf08a706a GRIM: More descriptive names for some methods. 2011-09-18 18:46:20 +02: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
8241f8554a GRIM: Document a bit more in Bitmap/gfx_base 2011-08-27 05:27:46 +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
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
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
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Giulio Camuffo
2f48db6d6d GRIM: A bit of abstraction. 2011-05-12 11:08:45 +02:00
Giulio Camuffo
af8cae9c3d GRIM: Make the Bitmaps implicitly shared. 2011-05-09 19:20:47 +02:00
Einar Johan T. Sømåen
d9b4ed5463 Add TILE support to Bitmap 2011-05-09 05:06:54 +08:00
Giulio Camuffo
365b7f7901 GRIM: Renames some Bitmap's getters. 2011-05-05 10:49:53 +02:00
Giulio Camuffo
1e868dd359 GRIM: Store ids instead of the pointers as lua's userdata objects.
Removed ObjectManager as it became useless.
2011-05-01 18:54:29 +02:00
Joel Teichroeb
18874a7c91 GRIM: added support for 32 bit bitmaps 2011-05-01 03:57:01 +08:00
Giulio Camuffo
cff70f9fad Cleanings. Mostly indent fixes. 2011-03-21 17:18:04 +01:00
Giulio Camuffo
59dcece9ae Working savegame support.
Implemented also the movement of Manny's head when looking at usable items.
This commit also introduces a new Object class with a ObjectPtr used for
caching the resources loaded by ResourceLoader. This fixes also the lipsync
regression.
2011-03-21 05:41:30 +08:00
Pawel Kolodziejski
788713d3b4 fix warnings 2009-10-17 12:48:23 +00:00
Pawel Kolodziejski
6e489b1c2d get rid Resource and ResPtr 2009-06-26 16:13:11 +00:00
Pawel Kolodziejski
f364f9a535 update headers 2009-05-26 14:13:08 +00:00
Pawel Kolodziejski
b6af258b75 update defines for include files 2009-05-26 09:39:42 +00:00
Pawel Kolodziejski
8b8e7e07d2 added namespace Grim 2009-05-25 06:49:57 +00:00
Pawel Kolodziejski
a34d883844 update path includes for recent directory changes 2009-05-24 19:13:58 +00:00
Pawel Kolodziejski
f58c073a0a move/rename engine into engines/grim 2009-05-24 18:55:19 +00:00