Difference for main/game.c from version 1.27 to 1.28


version 1.27 version 1.28
Line 19
 
Line 19
  * Game loop for Inferno   * Game loop for Inferno
  *   *
  * $Log$   * $Log$
    * Revision 1.28  2002/04/24 05:51:51  donut
    * crap.  test code slipped into last commit
    *
  * Revision 1.27  2002/04/24 05:49:59  donut   * Revision 1.27  2002/04/24 05:49:59  donut
  * fix last commit   * fix last commit
  *   *
Line 1548
 
Line 1551
  #endif   #endif
   
  //new maxfps code, doesn't delay unless the frametime is actually less than the minimum, not much difference normally, but can improve performance with -nicefps a lot.  -Matt Mueller   //new maxfps code, doesn't delay unless the frametime is actually less than the minimum, not much difference normally, but can improve performance with -nicefps a lot.  -Matt Mueller
 // do {   do {
  timer_value = timer_get_fixed_seconds();   timer_value = timer_get_fixed_seconds();
  FrameTime = timer_value - last_timer_value;   FrameTime = timer_value - last_timer_value;
 // if (use_nice_fps && FrameTime<F1_0/maxfps)   if (use_nice_fps && FrameTime<F1_0/maxfps)
 // d_delay(1);   d_delay(1);
 // }while (FrameTime<F1_0/maxfps);   }while (FrameTime<F1_0/maxfps);
   
  #if defined(TIMER_TEST) && !defined(NDEBUG)   #if defined(TIMER_TEST) && !defined(NDEBUG)
  _timer_value = timer_value;   _timer_value = timer_value;

Legend:
line(s) removed in v.1.27 
line(s) changed
 line(s) added in v.1.28