Commit graph

354 commits

Author SHA1 Message Date
Vincent Pelletier
1f5647c265 GRIM: Use C++ string equality operator. 2011-05-22 09:23:12 +02:00
Pawel Kolodziejski
8d10e73ace GRIM: refactor constructing gfx driver 2011-05-21 18:18:27 +02:00
Pawel Kolodziejski
22ca4fee56 GRIM: fixed compilation on amigaos4 2011-05-21 18:08:12 +02:00
Joni Vähämäki
22a5332a76 GRIM: Formatted code and added an assert that checks that object-pointers and function-pointers are of the same size before casting. 2011-05-20 03:19:29 +08:00
Joni Vähämäki
67487b8667 GRIM: Clean up the code a bit. Remove Win32 specific extension loading code since only the SDL backend is officially supported right now. 2011-05-20 03:19:20 +08:00
Joni Vähämäki
0203caa427 GRIM: Fix compile warning. 2011-05-20 03:19:10 +08:00
Joni Vähämäki
83048dd52f GRIM: Accelerate drawing of the Z-buffer image using a fragment program if supported. 2011-05-20 03:18:56 +08:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Pawel Kolodziejski
20e222cdf5 ALL: format code 2011-05-16 09:51:06 +02: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
Joni Vähämäki
129cbb3627 GRIM: Don't draw sprites when rendering shadows. 2011-05-15 23:57:06 +08:00
Joni Vähämäki
9f1e7b7601 Remove unnecessary newlines from last commit. 2011-05-15 16:53:28 +03:00
Joni Vähämäki
68c3ce9d90 GRIM: Implemented SpriteComponent. 2011-05-15 16:47:09 +03:00
Pawel Kolodziejski
0e24524395 Merge pull request #108 from klusark/includes
Cleaned up dependencies between files.
2011-05-13 23:00:56 -07:00
Joel Teichroeb
4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Joel Teichroeb
da1625a62d Cleaned up some opengl code. 2011-05-13 14:11:04 -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
Giulio Camuffo
07d6e51c24 GRIM: Rename Color's getters. 2011-05-05 10:58:29 +02:00
Joni Vhmki
d7a821ebe0 GRIM: Fixed fading so that it works correctly in the case where a chore is faded out and another is faded in simultaneously. 2011-05-02 23:01:43 +08: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
Vincent Pelletier
870919cc8a GRIM: Avoid duplicate negations of normal coordinates. 2011-05-01 17:10:40 +08:00
Vincent Pelletier
4f457e919c GRIM: Light position is directly usable.
Improvement noticeable on ha.hole_punch object.
2011-05-01 17:10:24 +08:00
Joel Teichroeb
18874a7c91 GRIM: added support for 32 bit bitmaps 2011-05-01 03:57:01 +08:00
Vincent Pelletier
93ee013880 [valgrind] TGL_POSITION requires list of 4 floats (opengl) 2011-04-30 23:16:12 +08:00
Giulio Camuffo
fd8035ac24 GRIM: Implemented SetActorScale() 2011-04-28 22:07:36 +02:00
Giulio Camuffo
9215899549 GRIM: Save and update the shadow color. 2011-04-24 15:41:40 +02:00
Pawel Kolodziejski
b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Pawel Kolodziejski
55415ee174 fix compilation using msvc 2011-04-10 11:24:03 +02:00
Einar Johan T. Sømåen
f4aab8c1cb Silence a bunch of 64-bit float warnings. 2011-04-06 06:29:40 +08: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
Torbjorn Andersson
20a5e580b7 Silenced a bunch of mostly harmless cppcheck warnings. 2010-02-04 19:43:50 +00:00
Pawel Kolodziejski
dcebdb960e avoid ARRAYSIZE warning 2010-01-24 08:23:20 +00:00
Pawel Kolodziejski
03248815b4 properly set color 2009-10-14 06:05:14 +00:00
Pawel Kolodziejski
ae3581cf12 revert changes 2009-06-27 12:24:13 +00:00
Pawel Kolodziejski
66179c47f9 next experimental test 2009-06-27 12:12:16 +00:00
Pawel Kolodziejski
08129dee40 next experimental test 2009-06-27 12:02:23 +00:00
Pawel Kolodziejski
a26baec78e experimental revert change 2009-06-27 11:53:55 +00:00
Pawel Kolodziejski
bb1609f6e9 forgot revert that too 2009-06-27 10:24:51 +00:00
Pawel Kolodziejski
fc8251271d fix regression 2009-06-27 10:06:11 +00:00
Pawel Kolodziejski
6e489b1c2d get rid Resource and ResPtr 2009-06-26 16:13:11 +00:00
Pawel Kolodziejski
5b8c499278 cleanup 2009-06-23 06:46:05 +00:00
Pawel Kolodziejski
34a2430145 next try to omit issue with shadow mask 2009-06-18 21:35:29 +00:00
Pawel Kolodziejski
e0ad2d2ce9 next try to omit issue with shadow mask 2009-06-18 21:07:51 +00:00
Pawel Kolodziejski
af250ca57d next try to omit issue with shadow mask 2009-06-18 20:23:46 +00:00
Pawel Kolodziejski
a8a6cc3cfa added experimental additional check for shadow active 2009-06-18 19:48:27 +00:00
Pawel Kolodziejski
67e913b489 rename funcs 2009-06-08 10:27:20 +00:00
Pawel Kolodziejski
182bdf22b0 cleanup 2009-05-31 08:55:57 +00:00
Torbjorn Andersson
e90ad4af30 warning() and error() add a ! to the string automatically. 2009-05-31 07:33:18 +00:00
Pawel Kolodziejski
f364f9a535 update headers 2009-05-26 14:13:08 +00:00