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
Ori Avtalion
c4870a2a20
TinyGL: Silence clang warnings about =-
2011-07-30 11:35:18 +03:00
Pawel Kolodziejski
8dd0f82574
sync with scummvm
2011-07-20 08:02:02 +02:00
Pawel Kolodziejski
5bf4f9316b
sync with scummvm dated 03 july 2011
2011-07-20 06:58:19 +02:00
Pawel Kolodziejski
dd3d7aeb34
ALL: fix compilation
2011-06-09 11:21:29 +02:00
Pawel Kolodziejski
7329a5d164
ALL: sync with scummvm
2011-06-09 11:17:15 +02:00
Vincent Pelletier
66aa114957
TINYGL: Don't mask shifted-out bits.
2011-05-22 09:44:05 +02:00
Pawel Kolodziejski
356c9c8c07
sync with scummvm
2011-05-18 23:33:39 +02:00
Pawel Kolodziejski
0f5de71f70
sync with scummvm
2011-05-08 15:38:26 +02:00
Pawel Kolodziejski
44e31ba08e
formatting
2011-05-08 11:07:51 +02:00
Joni Vhmki
0477e25101
Various rotation matrix fixes.
2011-05-08 02:04:23 +08:00
Joni Vhmki
4aebd05011
Made the methods dotProduct() and isZero() const.
2011-05-08 02:04:22 +08:00
Vincent Pelletier
e3cd3286cd
Add some missing gl_add_op.
...
Found by gcc 3.6 -Wunused-but-set-variable .
2011-05-05 05:08:34 +08:00
Pawel Kolodziejski
21fae5e42b
GRIM: SYSTEM_*_ENDIAN -> SCUMM_*_ENDIAN
2011-05-01 21:05:45 +02:00
Pawel Kolodziejski
a02ae4bc5d
fix compilation
2011-05-01 18:12:07 +02:00
Pawel Kolodziejski
6be453780f
synced with scummvm
2011-05-01 17:49:40 +02:00
Giulio Camuffo
4882f42a1f
GRAPHICS: Added a Line3d class.
2011-04-28 21:48:36 +02:00
Joost Peters
31f3728164
TINYGL: Fix material and lighting color on 64-bit CPUs; the old code assumed sizeof(float)==sizeof(void*)
2011-04-29 00:59:37 +08:00