255 Commits

Author SHA1 Message Date
Andrea Corna
173846c3df TINYGL: Remove an unneeded header 2012-04-21 12:20:06 +02:00
Andrea Corna
bd14146a78 TINYGL: Fix some memory leaks 2012-04-21 12:18:42 +02:00
Andrea Corna
a69f29dd3a GRAPHICS: Fix for a Valgrind warning about an uninitialized value 2012-04-18 09:20:23 +02:00
Pawel Kolodziejski
e856559777 ALL: sync with scummvm 2012-04-17 15:07:08 +02:00
Pawel Kolodziejski
78bacb47bb ALL: synced with scummvm 2012-04-07 17:58:15 +02:00
Paweł Kołodziejski
522885137f ALL: fix compile 2012-03-25 11:44:40 +02:00
Pawel Kolodziejski
8e2ab87455 ALL: synced with scummvm 2012-03-25 11:41:48 +02:00
Pawel Kolodziejski
fae032743d ALL: synced with scummvm 2012-02-24 12:15:44 +01:00
Pawel Kolodziejski
fad0b5b331 ALL: decrease diffs with scummvm 2012-02-22 23:26:36 +01:00
Pawel Kolodziejski
bc71f3f583 synced with scummvm 2012-02-22 17:21:09 +01:00
Giulio Camuffo
2b29820241 TinyGL: Try to not blit the clean buffer if empty. 2012-02-13 21:28:19 +01:00
Giulio Camuffo
8156e3a9a3 TinyGL: Remove the double zbuffer. Just use the 32bit one. 2012-02-13 19:21:37 +01:00
Giulio Camuffo
2c527f3993 TinyGL: Add an offscreen buffer, used to draw once and blit many times. 2012-02-13 17:59:48 +01:00
Paweł Kołodziejski
fce6b64e5e fixed compilation 2012-02-10 07:58:05 +01:00
Pawel Kolodziejski
5fc7ac39ee synced with scummvm 2012-02-10 07:51:41 +01:00
Bastien Bouclet
02f19276b5 GRAPHICS: Switch to integer based JPEG IDCT
Based on public domain code, and explanations from :
http://halicery.com/jpeg/idct.html
Thanks.
2012-02-09 16:34:08 +01:00
Bastien Bouclet
6717059c91 GRAPHICS: Add support for JPEG files using a restart interval
Patch by Scott and clone2727
2012-02-09 16:34:07 +01:00
Bastien Bouclet
089a089b2a GRAPHICS: Don't assert when decoding YUV data with an odd height.
Myst 3 has bink movies with an odd height. The last line won't be decoded.
2012-01-30 10:02:18 +01:00
Einar Johan T. Sømåen
574e09f0ef JANITORIAL: Add missing newline at end of file 2012-01-29 14:20:01 +01:00
Pawel Kolodziejski
b15eee129d sync with scummvm 2012-01-28 10:44:25 +01:00
Giulio Camuffo
cd1eadd190 GRAPHICS: Just copy the buffer when it's the same pixel format. 2012-01-25 18:06:39 +01:00
Giulio Camuffo
27715543e8 GRAPHICS: Relicense pixelbuffer.(h|cpp) to GPLv2. 2012-01-25 11:40:01 +01:00
Giulio Camuffo
c73da71b2f GRAPHICS: New PixelBuffer::getRawBuffer(int) function. 2012-01-24 21:36:47 +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
Paweł Kołodziejski
09a532d5d0 Merge pull request #463 from somaen/mergemyst3
Add a WIP Myst III Exile engine
2012-01-10 00:32:52 -08:00
Einar Johan T. Sømåen
3394bd15ef TINYGL: Add tglColor4ub, to have less diff between tgl-code and gl-code 2012-01-10 09:10:16 +01:00
Einar Johan T. Sømåen
97a3fec971 TINYGL: Add conversion RGB/BGR -> RGBA
Thus allowing for such textures to be loaded without
needing external conversion before creating them.
2012-01-10 08:44:18 +01:00
Bastien Bouclet
b77469a4d3 Merge remote-tracking branch 'origin/master' into sprint
Conflicts:
	backends/events/sdl/sdl-events.cpp
	backends/events/sdl/sdl-events.h
	video/bink_decoder.cpp
2012-01-07 08:43:26 +01:00
Pawel Kolodziejski
626e91f23a rename -> ResidualVM 2012-01-06 23:15:48 +01:00
Pawe Koodziejski
a5479cfe83 sync with scummvm 2012-01-06 22:56:21 +01:00
Bastien Bouclet
a283b82d84 GRAPHICS: Duplicate the YUV decoder, add YUVA feature.
The YUV decoder can now be modified without risking colliding with
changes from ScummVM.
2012-01-06 17:59:17 +01:00
Paweł Kołodziejski
9d2203c8ea Merge pull request #457 from guillemj/master
Assorted segfault fixes
2012-01-06 05:41:46 -08:00
Pawel Kolodziejski
4fa79cd323 rename -> ResidualVM 2012-01-06 11:37:57 +01:00
Guillem Jover
a50201481d TinyGL: Do not underflow on specular light calculation
When casting from float to int, the value can underflow making the index
negative which causes a segmentation fault when accessing the array.

Fixes #320
2012-01-05 20:39:53 +01:00
Bastien Bouclet
ad835de85d VIDEO: Implement Bink seeking using subclassing
So that the code is easier to merge with ScummVM
2012-01-05 09:33:05 +01:00
Bastien Bouclet
7a7b9188f3 Merge branch 'master' into sprint 2012-01-04 17:36:12 +01:00
Bastien Bouclet
d677c4b3d2 GRAPHICS: Add support for decoding bitmaps to 32bits surfaces 2012-01-04 10:52:55 +01:00
Giulio Camuffo
f1f1b32490 TinyGL: Fix enabling of lights. Fix #393 2011-10-28 18:23:17 +02:00
Bastien Bouclet
6ed68710ab Merge remote branch 'upstream/master' into sprint
Conflicts:
	graphics/module.mk
2011-09-18 07:27:15 +02:00
Bastien Bouclet
e401269833 VIDEO: Allow using the alpha channel of bink movies. 2011-09-17 15:43:20 +02:00
Giulio Camuffo
0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00
Giulio Camuffo
e9267cfec5 GRAPHICS: Overhaul of the matrix classes.
New Matrix<rows, cols> and Transform<T> (with T a matrix) classes
to ease the creation of different matrix classes.
2011-09-14 23:05:44 +02:00
Bastien Bouclet
d7575c510a Added the JPEG decoder from ScummVM 2011-09-03 11:35:18 +02:00
Giulio Camuffo
8426af0885 COMMON: Add a new ostream-like debug class. 2011-08-31 15:37:42 +02:00
Giulio Camuffo
594d9cf38d GRIM: Added Vector2d's getters and setters for its data. 2011-08-31 14:27:38 +02:00
Giulio Camuffo
589ca13702 Added some 2d geometry classes. 2011-08-30 18:46:19 +02:00
Giulio Camuffo
f2683ec3e0 GRIM: Use fuzzy comparison to check the angle. 2011-08-03 15:35:22 +02:00
Giulio Camuffo
ec053cd9f5 GRIM: Improve calculation of bounding box. 2011-08-02 19:17:32 +02:00
Giulio Camuffo
b065107263 GRIM: Partially implemented collisions between actors in walkForward(). 2011-08-01 22:16:15 +02:00