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


version 1.1 version 1.2
Line 19
 
Line 19
  * New Triggers and Switches.   * New Triggers and Switches.
  *    *
  * $Log$   * $Log$
  * Revision 1.1  1999/06/14 22:11:41  donut   * Revision 1.2  2003/03/09 06:41:01  donut
  * Initial revision   * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned
    *
    * Revision 1.1.1.1  1999/06/14 22:11:41  donut
    * Import of d1x 1.37 source.
  *   *
  * Revision 2.1  1995/03/21  14:39:08  john   * Revision 2.1  1995/03/21  14:39:08  john
  * Ifdef'd out the NETWORK code.   * Ifdef'd out the NETWORK code.
Line 227
 
Line 230
 // Executes a link, attached to a trigger.  // Executes a link, attached to a trigger.
 // Toggles all walls linked to the switch.  // Toggles all walls linked to the switch.
 // Opens doors, Blasts blast walls, turns off illusions.  // Opens doors, Blasts blast walls, turns off illusions.
 void do_link(byte trigger_num)  void do_link(sbyte trigger_num)
 {  {
  int i;   int i;
   
Line 242
 
Line 245
   }    }
 }  }
   
 void do_matcen(byte trigger_num)  void do_matcen(sbyte trigger_num)
 {  {
  int i;   int i;
   
Line 258
 
Line 261
 }  }
   
    
 void do_il_on(byte trigger_num)  void do_il_on(sbyte trigger_num)
 {  {
  int i;   int i;
   
Line 273
 
Line 276
   }    }
 }  }
   
 void do_il_off(byte trigger_num)  void do_il_off(sbyte trigger_num)
 {  {
  int i;   int i;
    

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