63 Commits

Author SHA1 Message Date
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
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
Joost Peters
11631bdb16 TINYGL: Use the safe READ_* macros for unaligned reads. This fixes a crash in the software renderer on certain platforms. 2011-04-28 20:33:24 +08:00
Pawel Kolodziejski
20c5f61288 tab ident 2011-04-26 12:42:38 +02:00
Pawel Kolodziejski
78c006c446 increase max lights for tinygl 2011-04-25 17:37:59 +02:00
Giulio Camuffo
09259203f7 Fixed Vector3d::normalize(). 2011-04-21 18:08:34 +02:00
Pawel Kolodziejski
252d484434 common/sys.h -> common/scummsys.h to minimalize diffs with scummvm 2011-04-17 01:00:10 +02:00
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Pawel Kolodziejski
99ee683308 cleanup headers 2011-04-16 14:08:33 +02:00
Pawel Kolodziejski
adbbe39d24 fix compilation under unix 2011-04-14 13:11:41 +02:00
Pawel Kolodziejski
0640dcf2c7 synced with scummvm to 2011-Apr-13 2011-04-14 12:41:26 +02:00
Pawel Kolodziejski
241c7a8c6e synced with scummvm svn rev 53000 2011-04-11 15:40:01 +02:00
Pawel Kolodziejski
697ed42447 synced with scummvm svn rev 51000 2011-04-11 11:41:07 +02:00
Pawel Kolodziejski
be1b3ab884 synced with scummvm svn rev 50000 2011-04-11 02:28:51 +02:00
Pawel Kolodziejski
e3a475ff7b synced with scummvm rev svn 49000 2011-04-10 21:59:04 +02:00
Pawel Kolodziejski
bccbcae43c synced rest files, missed with last sync rev 47951 2011-04-10 15:45:37 +02:00
Giulio Camuffo
66bba94bcf Fixed some warnings. Patch by Torbjorn Andersson. 2011-04-05 21:45:20 +02:00
Giulio Camuffo
19fcfd63b4 Fix the calculation of the angle in the x-y plane. 2011-03-31 21:01:35 +02:00
Matthew Hoops
1554e1ab2f ALL: Silence a ton of warnings 2011-03-25 07:42:03 +08:00
Giulio Camuffo
24f02a74d7 Fixed yaw calculation. 2011-03-21 05:39:55 +08:00
Pawel Kolodziejski
edadbb35be synced code with scummvm trunk 2010-01-21 19:25:03 +00:00
Pawel Kolodziejski
788713d3b4 fix warnings 2009-10-17 12:48:23 +00:00
Pawel Kolodziejski
7aa79c880d synced with scummvm 2009-10-05 08:33:46 +00:00
Pawel Kolodziejski
a377cbebef fix compilation 2009-10-04 11:21:28 +00:00
Pawel Kolodziejski
26f97ed5a3 * initial works on GUI, launcher works, not external themes yet
* cleanup header files
2009-10-04 10:58:28 +00:00
Pawel Kolodziejski
bea578bf0c added normalize Vector3d func 2009-07-01 19:23:58 +00:00
Pawel Kolodziejski
abaa548181 synced with scummvm 2009-06-18 11:52:26 +00:00