Difference for main/physics.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 19
 
Line 19
  * Code for flying through the mines   * Code for flying through the mines
  *    *
  * $Log$   * $Log$
    * Revision 1.4  2002/07/16 16:30:55  donut
    * fix printf format warnings
    *
  * Revision 1.3  2000/06/25 08:34:29  sekmu   * Revision 1.3  2000/06/25 08:34:29  sekmu
  * file-line for segfault info   * file-line for segfault info
  *   *
Line 633
 
Line 636
  if (obj == debug_obj) {   if (obj == debug_obj) {
  printf("object %d:\n  start pos = %x %x %x\n",objnum,XYZ(&obj->pos));   printf("object %d:\n  start pos = %x %x %x\n",objnum,XYZ(&obj->pos));
  printf("  thrust = %x %x %x\n",XYZ(&obj->mtype.phys_info.thrust));   printf("  thrust = %x %x %x\n",XYZ(&obj->mtype.phys_info.thrust));
  printf("  sim_time = %lx\n",sim_time);   printf("  sim_time = %x\n",sim_time);
  }   }
   
  //check for correct object segment    //check for correct object segment
Line 749
 
Line 752
   
  #ifdef EXTRA_DEBUG   #ifdef EXTRA_DEBUG
  if (obj == debug_obj) {   if (obj == debug_obj) {
  printf("   FVI parms: p0 = %8x %8x %8x, segnum=%x, size=%lx\n",XYZ(&obj->pos),obj->segnum,obj->size);   printf("   FVI parms: p0 = %8x %8x %8x, segnum=%x, size=%x\n",XYZ(&obj->pos),obj->segnum,obj->size);
  printf("              p1 = %8x %8x %8x\n",XYZ(&new_pos));   printf("              p1 = %8x %8x %8x\n",XYZ(&new_pos));
  }   }
  #endif   #endif
Line 909
 
Line 912
  #ifndef NDEBUG   #ifndef NDEBUG
  mprintf((0,"Bogus sim_time = %x, old = %x\n",sim_time,old_sim_time));   mprintf((0,"Bogus sim_time = %x, old = %x\n",sim_time,old_sim_time));
  if (obj == debug_obj)   if (obj == debug_obj)
  printf("   Bogus sim_time = %lx, old = %lx, attempted_dist = %lx, actual_dist = %lx\n",sim_time,old_sim_time,attempted_dist,actual_dist);   printf("   Bogus sim_time = %x, old = %x, attempted_dist = %x, actual_dist = %x\n",sim_time,old_sim_time,attempted_dist,actual_dist);
  //Int3(); Removed by Rob   //Int3(); Removed by Rob
  #endif   #endif
  sim_time = old_sim_time;   sim_time = old_sim_time;
Line 921
 
Line 924
   
  #ifdef EXTRA_DEBUG   #ifdef EXTRA_DEBUG
  if (obj == debug_obj)   if (obj == debug_obj)
  printf("   new sim_time = %lx\n",sim_time);   printf("   new sim_time = %x\n",sim_time);
  #endif   #endif
   
  }   }
Line 977
 
Line 980
  #ifdef EXTRA_DEBUG   #ifdef EXTRA_DEBUG
  if (obj == debug_obj) {   if (obj == debug_obj) {
  printf("   sliding - wall_norm %x %x %x\n",XYZ(&hit_info.hit_wallnorm));   printf("   sliding - wall_norm %x %x %x\n",XYZ(&hit_info.hit_wallnorm));
  printf("   wall_part %lx, new velocity = %x %x %x\n",wall_part,XYZ(&obj->mtype.phys_info.velocity));   printf("   wall_part %x, new velocity = %x %x %x\n",wall_part,XYZ(&obj->mtype.phys_info.velocity));
  }   }
  #endif   #endif
   

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