Difference for 3d/draw.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 19
 
Line 19
  * Drawing routines   * Drawing routines
  *    *
  * $Log$   * $Log$
    * Revision 1.3  1999/09/30 23:02:27  donut
    * opengl direct support for ingame and normal menus, fonts as textures, and automap support
    *
  * Revision 1.2  1999/09/21 04:05:54  donut   * Revision 1.2  1999/09/21 04:05:54  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)
  *   *
Line 70
 
Line 73
  flat_drawer_ptr = (flat_drawer)?flat_drawer:gr_upoly_tmap;   flat_drawer_ptr = (flat_drawer)?flat_drawer:gr_upoly_tmap;
  line_drawer_ptr = (line_drawer)?line_drawer:gr_line;   line_drawer_ptr = (line_drawer)?line_drawer:gr_line;
 }  }
   #ifndef OGL
 //deal with a clipped line  //deal with a clipped line
 bool must_clip_line(g3s_point *p0,g3s_point *p1,ubyte codes_or)  bool must_clip_line(g3s_point *p0,g3s_point *p1,ubyte codes_or)
 {  {
Line 126
 
Line 129
   
  return (bool) (*line_drawer_ptr)(p0->p3_sx,p0->p3_sy,p1->p3_sx,p1->p3_sy);   return (bool) (*line_drawer_ptr)(p0->p3_sx,p0->p3_sy,p1->p3_sx,p1->p3_sy);
 }  }
   #endif
   
 //returns true if a plane is facing the viewer. takes the unrotated surface   //returns true if a plane is facing the viewer. takes the unrotated surface
 //normal of the plane, and a point on it.  The normal need not be normalized  //normal of the plane, and a point on it.  The normal need not be normalized
Line 368
 
Line 372
 int checkmuldiv(fix *r,fix a,fix b,fix c);  int checkmuldiv(fix *r,fix a,fix b,fix c);
 #endif  #endif
   
   #ifndef OGL
 //draw a sortof sphere - i.e., the 2d radius is proportional to the 3d  //draw a sortof sphere - i.e., the 2d radius is proportional to the 3d
 //radius, but not to the distance from the eye  //radius, but not to the distance from the eye
 int g3_draw_sphere(g3s_point *pnt,fix rad)  int g3_draw_sphere(g3s_point *pnt,fix rad)
Line 394
 
Line 399
   
  return 0;   return 0;
 }  }
   #endif
   

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