| version 1.1 | | version 1.2 |
|---|
| | |
| * Triggers and Switches. | | * Triggers and Switches. |
| * | | * |
| * $Log$ | | * $Log$ |
| * Revision 1.1 1999/06/14 22:13:12 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:13:12 donut |
| | | * Import of d1x 1.37 source. |
| * | | * |
| * Revision 2.0 1995/02/27 11:26:52 john | | * Revision 2.0 1995/02/27 11:26:52 john |
| * New version 2.0, which has no anonymous unions, builds with | | * New version 2.0, which has no anonymous unions, builds with |
| | |
| #define CONTROL_LIGHTS_OFF 32 // If Trigger turns off lights in a certain area | | #define CONTROL_LIGHTS_OFF 32 // If Trigger turns off lights in a certain area |
| | | |
| typedef struct trigger { | | typedef struct trigger { |
| byte type; | | sbyte type; |
| short flags; | | short flags; |
| fix value; | | fix value; |
| fix time; | | fix time; |
| byte link_num; | | sbyte link_num; |
| short num_links; | | short num_links; |
| short seg[MAX_WALLS_PER_LINK]; | | short seg[MAX_WALLS_PER_LINK]; |
| short side[MAX_WALLS_PER_LINK]; | | short side[MAX_WALLS_PER_LINK]; |