Files
scummvm/graphics/tinygl
2012-12-19 23:15:43 +01:00
..
2011-05-05 05:08:34 +08:00
2011-06-09 11:17:15 +02:00
2012-04-21 12:18:42 +02:00
2009-05-08 07:17:43 +00:00
2011-06-09 11:17:15 +02:00
2009-05-08 07:17:43 +00:00
2012-04-21 12:18:42 +02:00
2012-04-21 12:18:42 +02:00

This is a modified version of TinyGL 0.4 intended for use with ResidualVM.
The changes made from the original version of TinyGL 0.4 are:

* Changed file extensions from *.c to *.cpp to compile as C++.
* Included only files needed by ResidualVM.
* Changed include paths in source files.
* Added needed type casts and fixes for proper compile.
* Added 't/T' prefix to prevent OpenGL name clashes.
* Added light shading texture mapping mode.
* Removed unneeded code.
* Introduced second 32-bit z-buffer for 3d objects only,
  and kept 16-bit only for static z-buffer bitmaps.
* Added support for drawing in shadow mode (generate mask and polygon shadow - ztriangle_shadow.cpp file).
* Added support for reading in RGB/BGR-textures, although the only internal format is still RGB565
* Added TGL_BGR/TGL_RGB definitions to gl.h, verifying against SDL_opengl.h that the values are ok.
* Added additional functions missing, like glColor4ub. (To make the code similar with the GL-code we use)