Difference for include/gr.h from version 1.10 to 1.11


version 1.10 version 1.11
Line 19
 
Line 19
  * Definitions for graphics lib.   * Definitions for graphics lib.
  *   *
  * $Log$   * $Log$
    * Revision 1.11  1999/11/20 10:05:16  donut
    * variable size menu patch from Jan Bobrowski.  Variable menu font size support and a bunch of fixes for menus that didn't work quite right, by me (MPM).
    *
  * Revision 1.10  1999/10/14 04:48:21  donut   * Revision 1.10  1999/10/14 04:48:21  donut
  * alpha fixes, and gl_font args   * alpha fixes, and gl_font args
  *   *
Line 557
 
Line 560
 // Draw the bitmap into the current canvas at the specified location.  // Draw the bitmap into the current canvas at the specified location.
 void gr_bitmap(int x,int y,grs_bitmap *bm);  void gr_bitmap(int x,int y,grs_bitmap *bm);
 void gr_ubitmap(int x,int y,grs_bitmap *bm);  void gr_ubitmap(int x,int y,grs_bitmap *bm);
   inline void scale_line(byte *in, byte *out, int ilen, int olen);
   void gr_bitmap_scale_to(grs_bitmap *src, grs_bitmap *dst);
   void show_fullscr(grs_bitmap *bm);
   
 // bitmap function with transparency  // bitmap function with transparency
 void gr_bitmapm( int x, int y, grs_bitmap *bm );  void gr_bitmapm( int x, int y, grs_bitmap *bm );
 void gr_ubitmapm( int x, int y, grs_bitmap *bm );  void gr_ubitmapm( int x, int y, grs_bitmap *bm );
Line 606
 
Line 613
 extern grs_canvas *grd_curcanv;             //active canvas  extern grs_canvas *grd_curcanv;             //active canvas
 extern grs_screen *grd_curscreen;           //active screen  extern grs_screen *grd_curscreen;           //active screen
 extern unsigned char Test_bitmap_data[64*64];  extern unsigned char Test_bitmap_data[64*64];
   
   #define GWIDTH  grd_curcanv->cv_bitmap.bm_w
   #define GHEIGHT grd_curcanv->cv_bitmap.bm_h
   #define SWIDTH (grd_curscreen->sc_w)
   #define SHEIGHT (grd_curscreen->sc_h)
   
 extern unsigned int FixDivide( unsigned int x, unsigned int y );  extern unsigned int FixDivide( unsigned int x, unsigned int y );
   

Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11