| version 1.4 | | version 1.5 |
|---|
| | |
| * Definitions for graphics lib. | | * Definitions for graphics lib. |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.5 1999/09/24 03:37:29 donut |
| | | * preliminary GLX fullscreen support |
| | | * |
| * Revision 1.4 1999/09/21 04:05:55 donut | | * Revision 1.4 1999/09/21 04:05:55 donut |
| * mostly complete OGL implementation (still needs bitmap handling (reticle), and door/fan textures are corrupt) | | * mostly complete OGL implementation (still needs bitmap handling (reticle), and door/fan textures are corrupt) |
| * | | * |
| | |
| #endif //!_GR_H | | #endif //!_GR_H |
| | | |
| //currently SDL is the only thing that supports toggling fullscreen. otherwise add other checks to the #if -MPM | | //currently SDL is the only thing that supports toggling fullscreen. otherwise add other checks to the #if -MPM |
| #if (defined(SDL_VIDEO)) | | #if (defined(SDL_VIDEO) || defined(GLX_VIDEO)) |
| #define GR_SUPPORTS_FULLSCREEN_TOGGLE | | #define GR_SUPPORTS_FULLSCREEN_TOGGLE |
| int gr_check_fullscreen(void);//must return 0 if windowed, 1 if fullscreen | | int gr_check_fullscreen(void);//must return 0 if windowed, 1 if fullscreen |
| int gr_toggle_fullscreen(void);//returns state after toggling (ie, same as if you had called check_fullscreen immediatly after) | | int gr_toggle_fullscreen(void);//returns state after toggling (ie, same as if you had called check_fullscreen immediatly after) |