Difference for include/gr.h from version 1.7 to 1.8


version 1.7 version 1.8
Line 19
 
Line 19
  * Definitions for graphics lib.   * Definitions for graphics lib.
  *   *
  * $Log$   * $Log$
    * Revision 1.8  1999/10/07 21:15:58  donut
    * ogl updates (new gltexture struct, and new font handling)
    *
  * Revision 1.7  1999/09/30 23:02:27  donut   * Revision 1.7  1999/09/30 23:02:27  donut
  * opengl direct support for ingame and normal menus, fonts as textures, and automap support   * opengl direct support for ingame and normal menus, fonts as textures, and automap support
  *   *
Line 282
 
Line 285
  int iMagic;   int iMagic;
 #endif  #endif
 #ifdef OGL  #ifdef OGL
  int gltexture;   struct _ogl_texture *gltexture;
  float glu,glv;  
 #endif  #endif
 } grs_bitmap;  } grs_bitmap;
   
Line 302
 
Line 304
  old_grs_font *oldfont;   old_grs_font *oldfont;
 #ifdef OGL  #ifdef OGL
  grs_bitmap * ft_bitmaps;   grs_bitmap * ft_bitmaps;
    grs_bitmap ft_parent_bitmap;
 #endif  #endif
 } grs_font;  } grs_font;
   
Line 382
 
Line 385
   
 #ifdef OGL  #ifdef OGL
 #define BM_OGL      5  #define BM_OGL      5
 #include "ogl_init.h"  
 #endif  #endif
   
 ////=========================================================================  ////=========================================================================
Line 711
 
Line 713
 #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) || defined(GLX_VIDEO))  #if (defined(SDL_VIDEO) || defined(OGL))
 #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)

Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8