#include "inferno.h"#include "segment.h"Classes | |
| struct | trigger |
Defines | |
| #define | MAX_WALLS_PER_LINK 10 |
| #define | TRIGGER_DEFAULT 2*F1_0 |
| #define | MAX_TRIGGERS 100 |
| #define | MAX_WALL_SWITCHES 50 |
| #define | MAX_WALL_LINKS 100 |
| #define | TRIGGER_CONTROL_DOORS 1 |
| #define | TRIGGER_SHIELD_DAMAGE 2 |
| #define | TRIGGER_ENERGY_DRAIN 4 |
| #define | TRIGGER_EXIT 8 |
| #define | TRIGGER_ON 16 |
| #define | TRIGGER_ONE_SHOT 32 |
| #define | TRIGGER_MATCEN 64 |
| #define | TRIGGER_ILLUSION_OFF 128 |
| #define | TRIGGER_ILLUSION_ON 512 |
| #define | TRIGGER_SECRET_EXIT 256 |
| #define | TRIGGER_DELAY_DOOR F1_0*1 |
| #define | TRIGGER_DELAY_ZAPS F1_0/10 |
| #define | TRIGGER_CONTROL_ROBOTS 64 |
| #define | CONTROL_ROBOTS 8 |
| #define | CONTROL_LIGHTS_ON 16 |
| #define | CONTROL_LIGHTS_OFF 32 |
Functions | |
| void | trigger_init () |
| void | check_trigger (segment *seg, short side, short objnum) |
| int | check_trigger_sub (int trigger_num, int player_num) |
| void | triggers_frame_process () |
Variables | |
| trigger | Triggers [MAX_TRIGGERS] |
| int | Num_triggers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6