| version 1.1 | | version 1.2 |
|---|
| | |
| * 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. |
| | |
| #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; |
| | |
| // 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)) |