Difference for 2d/line.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 19
 
Line 19
  * Graphical routines for drawing lines.   * Graphical routines for drawing lines.
  *   *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 21:57:25  donut   * Revision 1.2  1999/09/30 23:02:27  donut
  * Initial revision   * opengl direct support for ingame and normal menus, fonts as textures, and automap support
    *
    * Revision 1.1.1.1  1999/06/14 21:57:25  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 1.10  1994/11/18  22:50:02  john   * Revision 1.10  1994/11/18  22:50:02  john
  * Changed shorts to ints in parameters.   * Changed shorts to ints in parameters.
Line 301
 
Line 304
 {  {
  int a1,b1,a2,b2;   int a1,b1,a2,b2;
  a1 = f2i(_a1); b1 = f2i(_b1); a2 = f2i(_a2); b2 = f2i(_b2);   a1 = f2i(_a1); b1 = f2i(_b1); a2 = f2i(_a2); b2 = f2i(_b2);
 #ifdef __MSDOS__  
  switch(TYPE)   switch(TYPE)
  {   {
  case BM_LINEAR:  #ifdef OGL
    case BM_OGL:
    ogl_ulinec(a1,b1,a2,b2,COLOR);
    return 0;
 #endif  #endif
    case BM_LINEAR:
                #ifdef NO_ASM                 #ifdef NO_ASM
                 gr_universal_uline( a1,b1,a2,b2);                  gr_universal_uline( a1,b1,a2,b2);
                #else                 #else
Line 324
 
Line 330
         default:          default:
  gr_universal_uline( a1, b1, a2, b2 );   gr_universal_uline( a1, b1, a2, b2 );
  return 0;   return 0;
  }  
 #endif  #endif
    }
    return 2;
 }  }
   
 // Returns 0 if drawn with no clipping, 1 if drawn but clipped, and  // Returns 0 if drawn with no clipping, 1 if drawn but clipped, and

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2