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


version 1.1 version 1.2
Line 19
 
Line 19
  * Code for controlling player movement   * Code for controlling player movement
  *    *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 22:05:52  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:52  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 2.0  1995/02/27  11:27:11  john   * Revision 2.0  1995/02/27  11:27:11  john
  * New version 2.0, which has no anonymous unions, builds with   * New version 2.0, which has no anonymous unions, builds with
Line 216
 
Line 219
 #include "mouse.h"  #include "mouse.h"
 #include "kconfig.h"  #include "kconfig.h"
   
   //added on 11/20/99 by Victor Rachels for observer mode
   #include "observer.h"
   //end this section addition - VR
   
 //look at keyboard, mouse, joystick, CyberMan, whatever, and set   //look at keyboard, mouse, joystick, CyberMan, whatever, and set
 //physics vars rotvel, velocity  //physics vars rotvel, velocity
   
Line 231
 
Line 238
  return;   return;
  }   }
   
  if ((obj->type!=OBJ_PLAYER) || (obj->id!=Player_num)) return; //references to player_ship require that this obj be the player  //added/edited on 11/20/99 by Victor Rachels to add observer mode
   //        if ((obj->type!=OBJ_PLAYER) || (obj->id!=Player_num)) return;   //references to player_ship require that this obj be the player
           if(obj->id!=Player_num || (obj->type==OBJ_GHOST && !I_am_observer)) return;
   //end this section edit - VR
   
  // Couldn't the "50" in the next three lines be changed to "64" with no ill effect?   // Couldn't the "50" in the next three lines be changed to "64" with no ill effect?
  obj->mtype.phys_info.rotthrust.x = Controls.pitch_time;   obj->mtype.phys_info.rotthrust.x = Controls.pitch_time;

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