Giulio Camuffo
|
38e208c00c
|
GRIM: #includes cleanup.
|
2011-07-23 12:14:33 +02:00 |
|
Giulio Camuffo
|
784f9ce5b9
|
GRIM: Move Model::HierNode, Mesh and Face outside of Model.
|
2011-07-22 22:09:49 +02:00 |
|
Vincent Pelletier
|
9476b90785
|
Fix glDisable parameter.
Found by apitrace.
|
2011-07-19 09:08:46 +02:00 |
|
Giulio Camuffo
|
cabd0d583f
|
GRIM: Make Material implicitly shared. Cleaned up Model a lot.
|
2011-07-18 22:16:40 +02:00 |
|
Joni Vähämäki
|
2519700f0c
|
GRIM: Don't draw to the depth buffer when creating the stencil mask for shadows.
|
2011-07-15 21:47:16 +08:00 |
|
Joni Vähämäki
|
2fe7ccb08e
|
GRIM: Disable lighting for models that have lightingMode set to 0.
|
2011-07-13 14:09:32 +03:00 |
|
Giulio Camuffo
|
fde5b499f7
|
GRIM: Store the name of its set for each shadow sector. Fix #209
|
2011-06-10 19:02:42 +02:00 |
|
Giulio Camuffo
|
3d6945b9d0
|
GRIM: Fix z-buffer issue with OpenGL.
|
2011-06-07 16:52:55 +02:00 |
|
Joel Teichroeb
|
75c46dcf7f
|
Cleaned up some code and added some comments.
|
2011-06-06 13:48:44 -07:00 |
|
Joel Teichroeb
|
eb8e9e1dad
|
Fix character spacing.
|
2011-06-06 13:34:14 -07:00 |
|
Joel Teichroeb
|
1c2652424f
|
Use the offset rather than calculating it manaully.
|
2011-06-06 13:07:36 -07:00 |
|
Joel Teichroeb
|
16061be03e
|
Cleaned up some code and improved the tinygl creation and rendering.
|
2011-06-06 13:07:35 -07:00 |
|
Joel Teichroeb
|
a8724370c5
|
A bit of cleanup.
|
2011-06-06 13:07:35 -07:00 |
|
Joel Teichroeb
|
917ddfe3ca
|
Changed back to 32bit images and made the code more readable.
|
2011-06-06 13:07:34 -07:00 |
|
Joel Teichroeb
|
28932bb2ec
|
Fixed a bug where stuff was written to the wrong place.
|
2011-06-06 13:07:34 -07:00 |
|
Joel Teichroeb
|
075e61ddcf
|
Made font stuff private again and added a userdata member.
|
2011-06-06 13:07:33 -07:00 |
|
Joel Teichroeb
|
c69322d78b
|
Improved the tinygl font rendering.
|
2011-06-06 13:07:32 -07:00 |
|
Joel Teichroeb
|
4725e4fbe5
|
Make the graphics systems draw the TextObject instead of just the text.
|
2011-06-06 13:07:32 -07:00 |
|
Joel Teichroeb
|
fad79d609a
|
A start on the tinygl stuff
|
2011-06-06 13:07:31 -07:00 |
|
Joel Teichroeb
|
17b0378237
|
Some small code fixes and a destroyFont function
|
2011-06-06 13:07:31 -07:00 |
|
Joel Teichroeb
|
085ba51da2
|
Removed use of max
|
2011-06-06 13:07:30 -07:00 |
|
Joel Teichroeb
|
b94fcbd554
|
Finished new font stuff
|
2011-06-06 13:07:30 -07:00 |
|
Joel Teichroeb
|
3e8baa9657
|
Removed a large amount of now unused code and slightly improved font stuff.
|
2011-06-06 13:07:29 -07:00 |
|
Joel Teichroeb
|
5fb97a647b
|
Made fonts be rendered by opengl.
|
2011-06-06 13:03:46 -07:00 |
|
Pawel Kolodziejski
|
75146d69cb
|
GRIM: hide mouse for fullscreen mode
|
2011-06-02 12:16:04 +02:00 |
|
Joni Vähämäki
|
6a40b43f16
|
GRIM: Apply animations in priority order.
|
2011-05-24 19:47:39 +03:00 |
|
Vincent Pelletier
|
5de874d511
|
GRIM: Always set all light properties
|
2011-05-22 17:15:49 +08:00 |
|
Vincent Pelletier
|
217fd767d0
|
Revert "GRIM: Light position is directly usable."
This reverts commit 4f457e919c .
Directional light direction is:
- configured as position
- with opposite coordinates
|
2011-05-22 09:23:13 +02:00 |
|
Vincent Pelletier
|
b7c6d7eb97
|
GRIM: Use OpenGL default spot direction.
|
2011-05-22 09:23:13 +02:00 |
|
Vincent Pelletier
|
885f35c1be
|
GRIM: Disable ambient light.
|
2011-05-22 09:23:13 +02:00 |
|
Vincent Pelletier
|
1461cde798
|
GRIM: Color is RGBA, not RBGA.
|
2011-05-22 09:23:12 +02:00 |
|
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 |
|