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


version 1.1 version 1.2
Line 19
 
Line 19
  * object rendering   * object rendering
  *    *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 22:10:40  donut   * Revision 1.2  1999/11/21 14:05:00  sekmu
  * Initial revision   * observer mode
    *
    * Revision 1.1.1.1  1999/06/14 22:10:40  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 2.3  1995/06/15  12:30:51  john   * Revision 2.3  1995/06/15  12:30:51  john
  * Fixed bug with multiplayer ships cloaking out wrongly.   * Fixed bug with multiplayer ships cloaking out wrongly.
Line 379
 
Line 382
 #include "editor/editor.h"  #include "editor/editor.h"
 #endif  #endif
   
   //added on 11/20/99 by Victor Rachels to add observer mode
   #include "observer.h"
   //end this section addition - VR
   
   
 void obj_detach_all(object *parent);  void obj_detach_all(object *parent);
 void obj_detach_one(object *sub);  void obj_detach_one(object *sub);
   
Line 1006
 
Line 1014
   
  ConsoleObject->flags = 0;   ConsoleObject->flags = 0;
   
           //added on 11/20/99 by Victor Rachels to add observer mode
            if(I_am_observer)
             {
               ConsoleObject->type = OBJ_GHOST;
               ConsoleObject->render_type = RT_NONE;
             }
           //end this section addition - VR
   
 }  }
   
   
 //make object0 the player, setting all relevant fields  //make object0 the player, setting all relevant fields
 void init_player_object()  void init_player_object()
 {  {
           //added/edited on 11/20/99 by Victor Rachels to add observer mode
            if(I_am_observer)
             ConsoleObject->type = OBJ_GHOST;
            else
           //end this section addition - VR
  ConsoleObject->type = OBJ_PLAYER;   ConsoleObject->type = OBJ_PLAYER;
  ConsoleObject->id = 0; //no sub-types for player   ConsoleObject->id = 0; //no sub-types for player
   

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