Difference for main/cntrlcen.c from version 1.1 to 1.2


version 1.1 version 1.2
Line 19
 
Line 19
  * Code for the control center   * Code for the control center
  *    *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 22:05:34  donut   * Revision 1.2  1999/11/21 14:05:00  sekmu
  * Initial revision   * observer mode
    *
    * Revision 1.1.1.1  1999/06/14 22:05:34  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 2.1  1995/03/21  14:40:25  john   * Revision 2.1  1995/03/21  14:40:25  john
  * Ifdef'd out the NETWORK code.   * Ifdef'd out the NETWORK code.
Line 124
 
Line 127
 #include "object.h"  #include "object.h"
 #include "robot.h"  #include "robot.h"
   
   //added on 11/20/99 by Victor Rachels to add observer mode
   #include "observer.h"
   //end this section addition - VR
   
   
 vms_vector controlcen_gun_points[MAX_CONTROLCEN_GUNS];  vms_vector controlcen_gun_points[MAX_CONTROLCEN_GUNS];
 vms_vector controlcen_gun_dirs[MAX_CONTROLCEN_GUNS];  vms_vector controlcen_gun_dirs[MAX_CONTROLCEN_GUNS];
 int N_controlcen_guns;  int N_controlcen_guns;
Line 240
 
Line 248
  // If a boss level, then Control_center_present will be 0.   // If a boss level, then Control_center_present will be 0.
  if (!Control_center_present)   if (!Control_center_present)
  return;   return;
   
           //added on 11/20/99 by Victor Rachels to add observer mode
            if(I_am_observer)
             return;
           //end this section addition - VR
   
   
 #ifndef NDEBUG  #ifndef NDEBUG
  if (!Robot_firing_enabled || (Game_suspended & SUSP_ROBOTS))   if (!Robot_firing_enabled || (Game_suspended & SUSP_ROBOTS))

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