Difference for main/network.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 3524
 
Line 3524
 fix last_send_time = 0;  fix last_send_time = 0;
 fix last_timeout_check = 0;  fix last_timeout_check = 0;
   
   //added on 11/29/99 by Victor Rachels to resend ghosting
   fix last_observer_send_time = 0;
   //end this section addition - VR
   
 void network_do_frame(int force, int listen)  void network_do_frame(int force, int listen)
 {  {
  int i;   int i;
Line 3538
 
Line 3542
   
  last_send_time += FrameTime;   last_send_time += FrameTime;
  last_timeout_check += FrameTime;   last_timeout_check += FrameTime;
   
   //added on 11/29/99 by Victor Rachels to resend ghosting
            if(I_am_observer)
             {
               last_observer_send_time += FrameTime;
                if(last_observer_send_time > (OBSERVER_RESEND_DELAY*F1_0))
                 {
                   multi_send_observerghost(100);
                   last_observer_send_time = 0;
                 }
             }
   //end this section addition - VR
   
   
  // Send out packet 10 times per second maximum... unless they fire, then send more often...   // Send out packet 10 times per second maximum... unless they fire, then send more often...
 //added/edited on 11/28/99 by Victor Rachels to use less bandwidth for observer  //added/edited on 11/28/99 by Victor Rachels to use less bandwidth for observer

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