Difference for editor/group.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 19
 
Line 19
  * group functions   * group functions
  *    *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 22:03:16  donut   * Revision 1.2  2003/03/09 06:34:09  donut
  * Initial revision   * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned
    *
    * Revision 1.1.1.1  1999/06/14 22:03:16  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 2.0  1995/02/27  11:35:05  john   * Revision 2.0  1995/02/27  11:35:05  john
  * Version 2.0! No anonymous unions, Watcom 10.0, with no need   * Version 2.0! No anonymous unions, Watcom 10.0, with no need
Line 465
 
Line 468
 void med_rotate_group(vms_matrix *rotmat, short *group_seglist, int group_size, segment *first_seg, int first_side)  void med_rotate_group(vms_matrix *rotmat, short *group_seglist, int group_size, segment *first_seg, int first_side)
 {  {
  int v,s, objnum;   int v,s, objnum;
  byte vertex_list[MAX_VERTICES];   sbyte vertex_list[MAX_VERTICES];
  vms_vector rotate_center;   vms_vector rotate_center;
   
  compute_center_point_on_side(&rotate_center, first_seg, first_side);   compute_center_point_on_side(&rotate_center, first_seg, first_side);
Line 550
 
Line 553
 #define MXV MAX_VERTICES  #define MXV MAX_VERTICES
   
 // ------------------------------------------------------------------------------------------------  // ------------------------------------------------------------------------------------------------
 void duplicate_group(byte *vertex_ids, short *segment_ids, int num_segments)  void duplicate_group(sbyte *vertex_ids, short *segment_ids, int num_segments)
 {  {
  int v,s,ss,new_vertex_id,new_segment_id,sidenum;   int v,s,ss,new_vertex_id,new_segment_id,sidenum;
  short new_segment_ids[MAX_SEGMENTS];   short new_segment_ids[MAX_SEGMENTS];
Line 656
 
Line 659
  segment *segp;   segment *segp;
  int c;   int c;
         int                     gs_index=0;          int                     gs_index=0;
  byte in_vertex_list[MAX_VERTICES];   sbyte in_vertex_list[MAX_VERTICES];
  vms_matrix rotmat;   vms_matrix rotmat;
  int objnum;   int objnum;
   
Line 810
 
Line 813
  int v,vv,s,ss,c,d;   int v,vv,s,ss,c,d;
  vms_vector srcv,destv;   vms_vector srcv,destv;
  segment *segp, *csegp, *dsegp;   segment *segp, *csegp, *dsegp;
  byte in_vertex_list[MAX_VERTICES], out_vertex_list[MAX_VERTICES];   sbyte in_vertex_list[MAX_VERTICES], out_vertex_list[MAX_VERTICES];
  int local_hvi;   int local_hvi;
  vms_matrix rotmat;   vms_matrix rotmat;
   
Line 1598
 
Line 1601
  // Save group   // Save group
  int i, s, v;   int i, s, v;
  char  ErrorMessage[200];   char  ErrorMessage[200];
  byte vertex_list[MAX_VERTICES];   sbyte vertex_list[MAX_VERTICES];
   
  if (current_group == -1)   if (current_group == -1)
  {   {

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