#include <string>
#include <map>
#include "gl.h"
#include "image.h"
#include "io.h"
Go to the source code of this file.
Classes | |
| class | Texture |
| A texture. More... | |
Defines | |
| #define | OGL_TEXTURE_2D 0x01 |
| #define | OGL_BLEND 0x02 |
| #define | OGL_LIGHTING 0x04 |
| #define | OGL_COLOR_MATERIAL 0x08 |
| #define | OGL_LIGHT0 0x10 |
| #define | OGL_LIGHT1 0x20 |
| #define | OGL_CULL_FACE 0x40 |
| #define | OGL_DEPTH_TEST 0x80 |
| #define | OGL_2D 0x01 |
| Don't mipmap or scale down for detail settings. | |
| #define | OGL_CLAMP 0x02 |
| Clamp the texture instead of tiling. | |
| #define | OGL_ALPHA 0x04 |
| Only load the alpha portion of the texture. | |
Functions | |
| void | OGL_State (uint s) |
| Manages OpenGL state changes. 's' is the bitwise OR of any of the above flags. | |
| void | OGL_CheckError (void) |
| Checks for an internal OpenGL error. If one is found, it raises OGL_Error with an appropriate description. | |
| void | OGL_RegisterWindow (const IO_Window *win) |
| Registers a new OpenGL window. | |
| void | OGL_SelectWindow (const IO_Window *win) |
| Makes the given window current. | |
| void | OGL_UnregisterWindow (const IO_Window *win) |
| Unregisters the given window. | |
1.4.3-20050530