| 1 |
// |
| 2 |
// Copyright(C) 2021 by Ryan Krafnick |
| 3 |
// |
| 4 |
// This program is free software; you can redistribute it and/or |
| 5 |
// modify it under the terms of the GNU General Public License |
| 6 |
// as published by the Free Software Foundation; either version 2 |
| 7 |
// of the License, or (at your option) any later version. |
| 8 |
// |
| 9 |
// This program is distributed in the hope that it will be useful, |
| 10 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
// GNU General Public License for more details. |
| 13 |
// |
| 14 |
// DESCRIPTION: |
| 15 |
// DSDA Line Special |
| 16 |
// |
| 17 |
|
| 18 |
#ifndef __DSDA_LINE_SPECIAL__ |
| 19 |
#define __DSDA_LINE_SPECIAL__ |
| 20 |
|
| 21 |
typedef enum { |
| 22 |
zi_init_gravity = 0, |
| 23 |
zi_init_color = 1, |
| 24 |
zi_init_damage = 2, |
| 25 |
zi_init_sector_link = 3, |
| 26 |
|
| 27 |
zi_init_ed_sector = 253, |
| 28 |
zi_init_ed_line = 254, |
| 29 |
zi_init_transfer_sky = 255 |
| 30 |
} zi_staticinit_t; |
| 31 |
|
| 32 |
typedef enum { |
| 33 |
zl_polyobj_start_line = 1, |
| 34 |
zl_polyobj_rotate_left = 2, |
| 35 |
zl_polyobj_rotate_right = 3, |
| 36 |
zl_polyobj_move = 4, |
| 37 |
zl_polyobj_explicit_line = 5, |
| 38 |
zl_polyobj_move_times_8 = 6, |
| 39 |
zl_polyobj_door_swing = 7, |
| 40 |
zl_polyobj_door_slide = 8, |
| 41 |
zl_line_horizon = 9, |
| 42 |
zl_door_close = 10, |
| 43 |
zl_door_open = 11, |
| 44 |
zl_door_raise = 12, |
| 45 |
zl_door_locked_raise = 13, |
| 46 |
zl_door_animated = 14, |
| 47 |
zl_autosave = 15, |
| 48 |
zl_transfer_wall_light = 16, |
| 49 |
zl_thing_raise = 17, |
| 50 |
zl_start_conversation = 18, |
| 51 |
zl_thing_stop = 19, |
| 52 |
zl_floor_lower_by_value = 20, |
| 53 |
zl_floor_lower_to_lowest = 21, |
| 54 |
zl_floor_lower_to_nearest = 22, |
| 55 |
zl_floor_raise_by_value = 23, |
| 56 |
zl_floor_raise_to_highest = 24, |
| 57 |
zl_floor_raise_to_nearest = 25, |
| 58 |
zl_stairs_build_down = 26, |
| 59 |
zl_stairs_build_up = 27, |
| 60 |
zl_floor_raise_and_crush = 28, |
| 61 |
zl_pillar_build = 29, |
| 62 |
zl_pillar_open = 30, |
| 63 |
zl_stairs_build_down_sync = 31, |
| 64 |
zl_stairs_build_up_sync = 32, |
| 65 |
zl_force_field = 33, |
| 66 |
zl_clear_force_field = 34, |
| 67 |
zl_floor_raise_by_value_times_8 = 35, |
| 68 |
zl_floor_lower_by_value_times_8 = 36, |
| 69 |
zl_floor_move_to_value = 37, |
| 70 |
zl_ceiling_waggle = 38, |
| 71 |
zl_teleport_zombie_changer = 39, |
| 72 |
zl_ceiling_lower_by_value = 40, |
| 73 |
zl_ceiling_raise_by_value = 41, |
| 74 |
zl_ceiling_crush_and_raise = 42, |
| 75 |
zl_ceiling_lower_and_crush = 43, |
| 76 |
zl_ceiling_crush_stop = 44, |
| 77 |
zl_ceiling_crush_raise_and_stay = 45, |
| 78 |
zl_floor_crush_stop = 46, |
| 79 |
zl_ceiling_move_to_value = 47, |
| 80 |
zl_sector_attach_3d_midtex = 48, |
| 81 |
zl_glass_break = 49, |
| 82 |
zl_extra_floor_light_only = 50, |
| 83 |
zl_sector_set_link = 51, |
| 84 |
zl_scroll_wall = 52, |
| 85 |
zl_line_set_texture_offset = 53, |
| 86 |
zl_sector_change_flags = 54, |
| 87 |
zl_line_set_blocking = 55, |
| 88 |
zl_line_set_texturescale = 56, |
| 89 |
zl_sector_set_portal = 57, |
| 90 |
zl_sector_copy_scroller = 58, |
| 91 |
zl_polyobj_or_move_to_spot = 59, |
| 92 |
zl_plat_perpetual_raise = 60, |
| 93 |
zl_plat_stop = 61, |
| 94 |
zl_plat_down_wait_up_stay = 62, |
| 95 |
zl_plat_down_by_value = 63, |
| 96 |
zl_plat_up_wait_down_stay = 64, |
| 97 |
zl_plat_up_by_value = 65, |
| 98 |
zl_floor_lower_instant = 66, |
| 99 |
zl_floor_raise_instant = 67, |
| 100 |
zl_floor_move_to_value_times_8 = 68, |
| 101 |
zl_ceiling_move_to_value_times_8 = 69, |
| 102 |
zl_teleport = 70, |
| 103 |
zl_teleport_no_fog = 71, |
| 104 |
zl_thrust_thing = 72, |
| 105 |
zl_damage_thing = 73, |
| 106 |
zl_teleport_new_map = 74, |
| 107 |
zl_teleport_end_game = 75, |
| 108 |
zl_teleport_other = 76, |
| 109 |
zl_teleport_group = 77, |
| 110 |
zl_teleport_in_sector = 78, |
| 111 |
zl_thing_set_conversation = 79, |
| 112 |
zl_acs_execute = 80, |
| 113 |
zl_acs_suspend = 81, |
| 114 |
zl_acs_terminate = 82, |
| 115 |
zl_acs_locked_execute = 83, |
| 116 |
zl_acs_execute_with_result = 84, |
| 117 |
zl_acs_locked_execute_door = 85, |
| 118 |
zl_polyobj_move_to_spot = 86, |
| 119 |
zl_polyobj_stop = 87, |
| 120 |
zl_polyobj_move_to = 88, |
| 121 |
zl_polyobj_or_move_to = 89, |
| 122 |
zl_polyobj_or_rotate_left = 90, |
| 123 |
zl_polyobj_or_rotate_right = 91, |
| 124 |
zl_polyobj_or_move = 92, |
| 125 |
zl_polyobj_or_move_times_8 = 93, |
| 126 |
zl_pillar_build_and_crush = 94, |
| 127 |
zl_floor_and_ceiling_lower_by_value = 95, |
| 128 |
zl_floor_and_ceiling_raise_by_value = 96, |
| 129 |
zl_ceiling_lower_and_crush_dist = 97, |
| 130 |
zl_sector_set_translucent = 98, |
| 131 |
zl_floor_raise_and_crushdoom = 99, |
| 132 |
zl_scroll_texture_left = 100, |
| 133 |
zl_scroll_texture_right = 101, |
| 134 |
zl_scroll_texture_up = 102, |
| 135 |
zl_scroll_texture_down = 103, |
| 136 |
zl_ceiling_crush_and_raise_silent_dist = 104, |
| 137 |
zl_door_wait_raise = 105, |
| 138 |
zl_door_wait_close = 106, |
| 139 |
zl_line_set_portal_target = 107, |
| 140 |
|
| 141 |
zl_light_force_lightning = 109, |
| 142 |
zl_light_raise_by_value = 110, |
| 143 |
zl_light_lower_by_value = 111, |
| 144 |
zl_light_change_to_value = 112, |
| 145 |
zl_light_fade = 113, |
| 146 |
zl_light_glow = 114, |
| 147 |
zl_light_flicker = 115, |
| 148 |
zl_light_strobe = 116, |
| 149 |
zl_light_stop = 117, |
| 150 |
zl_plane_copy = 118, |
| 151 |
zl_thing_damage = 119, |
| 152 |
zl_radius_quake = 120, |
| 153 |
zl_line_set_identification = 121, |
| 154 |
|
| 155 |
zl_thing_move = 125, |
| 156 |
|
| 157 |
zl_thing_set_special = 127, |
| 158 |
zl_thrust_thing_z = 128, |
| 159 |
zl_use_puzzle_item = 129, |
| 160 |
zl_thing_activate = 130, |
| 161 |
zl_thing_deactivate = 131, |
| 162 |
zl_thing_remove = 132, |
| 163 |
zl_thing_destroy = 133, |
| 164 |
zl_thing_projectile = 134, |
| 165 |
zl_thing_spawn = 135, |
| 166 |
zl_thing_projectile_gravity = 136, |
| 167 |
zl_thing_spawn_no_fog = 137, |
| 168 |
zl_floor_waggle = 138, |
| 169 |
zl_thing_spawn_facing = 139, |
| 170 |
zl_sector_change_sound = 140, |
| 171 |
|
| 172 |
zl_teleport_no_stop = 154, |
| 173 |
|
| 174 |
zl_line_set_portal = 156, |
| 175 |
zl_set_global_fog_parameter = 157, |
| 176 |
zl_fs_execute = 158, |
| 177 |
zl_sector_set_plane_reflection = 159, |
| 178 |
zl_sector_set_3d_floor = 160, |
| 179 |
zl_sector_set_contents = 161, |
| 180 |
|
| 181 |
zl_ceiling_crush_and_raise_dist = 168, |
| 182 |
zl_generic_crusher2 = 169, |
| 183 |
zl_sector_set_ceiling_scale2 = 170, |
| 184 |
zl_sector_set_floor_scale2 = 171, |
| 185 |
zl_plat_up_nearest_wait_down_stay = 172, |
| 186 |
zl_noise_alert = 173, |
| 187 |
zl_send_to_communicator = 174, |
| 188 |
zl_thing_projectile_intercept = 175, |
| 189 |
zl_thing_change_tid = 176, |
| 190 |
zl_thing_hate = 177, |
| 191 |
zl_thing_projectile_aimed = 178, |
| 192 |
zl_change_skill = 179, |
| 193 |
zl_thing_set_translation = 180, |
| 194 |
zl_plane_align = 181, |
| 195 |
zl_line_mirror = 182, |
| 196 |
zl_line_align_ceiling = 183, |
| 197 |
zl_line_align_floor = 184, |
| 198 |
zl_sector_set_rotation = 185, |
| 199 |
zl_sector_set_ceiling_panning = 186, |
| 200 |
zl_sector_set_floor_panning = 187, |
| 201 |
zl_sector_set_ceiling_scale = 188, |
| 202 |
zl_sector_set_floor_scale = 189, |
| 203 |
zl_static_init = 190, |
| 204 |
zl_set_player_property = 191, |
| 205 |
zl_ceiling_lower_to_highest_floor = 192, |
| 206 |
zl_ceiling_lower_instant = 193, |
| 207 |
zl_ceiling_raise_instant = 194, |
| 208 |
zl_ceiling_crush_raise_and_stay_a = 195, |
| 209 |
zl_ceiling_crush_and_raise_a = 196, |
| 210 |
zl_ceiling_crush_and_raise_silent_a = 197, |
| 211 |
zl_ceiling_raise_by_value_times_8 = 198, |
| 212 |
zl_ceiling_lower_by_value_times_8 = 199, |
| 213 |
zl_generic_floor = 200, |
| 214 |
zl_generic_ceiling = 201, |
| 215 |
zl_generic_door = 202, |
| 216 |
zl_generic_lift = 203, |
| 217 |
zl_generic_stairs = 204, |
| 218 |
zl_generic_crusher = 205, |
| 219 |
zl_plat_down_wait_up_stay_lip = 206, |
| 220 |
zl_plat_perpetual_raise_lip = 207, |
| 221 |
zl_translucent_line = 208, |
| 222 |
zl_transfer_heights = 209, |
| 223 |
zl_transfer_floor_light = 210, |
| 224 |
zl_transfer_ceiling_light = 211, |
| 225 |
zl_sector_set_color = 212, |
| 226 |
zl_sector_set_fade = 213, |
| 227 |
zl_sector_set_damage = 214, |
| 228 |
zl_teleport_line = 215, |
| 229 |
zl_sector_set_gravity = 216, |
| 230 |
zl_stairs_build_up_doom = 217, |
| 231 |
zl_sector_set_wind = 218, |
| 232 |
zl_sector_set_friction = 219, |
| 233 |
zl_sector_set_current = 220, |
| 234 |
zl_scroll_texture_both = 221, |
| 235 |
zl_scroll_texture_model = 222, |
| 236 |
zl_scroll_floor = 223, |
| 237 |
zl_scroll_ceiling = 224, |
| 238 |
zl_scroll_texture_offsets = 225, |
| 239 |
zl_acs_execute_always = 226, |
| 240 |
zl_point_push_set_force = 227, |
| 241 |
zl_plat_raise_and_stay_tx0 = 228, |
| 242 |
zl_thing_set_goal = 229, |
| 243 |
zl_plat_up_by_value_stay_tx = 230, |
| 244 |
zl_plat_toggle_ceiling = 231, |
| 245 |
zl_light_strobe_doom = 232, |
| 246 |
zl_light_min_neighbor = 233, |
| 247 |
zl_light_max_neighbor = 234, |
| 248 |
zl_floor_transfer_trigger = 235, |
| 249 |
zl_floor_transfer_numeric = 236, |
| 250 |
zl_change_camera = 237, |
| 251 |
zl_floor_raise_to_lowest_ceiling = 238, |
| 252 |
zl_floor_raise_by_value_tx_ty = 239, |
| 253 |
zl_floor_raise_by_texture = 240, |
| 254 |
zl_floor_lower_to_lowest_tx_ty = 241, |
| 255 |
zl_floor_lower_to_highest = 242, |
| 256 |
zl_exit_normal = 243, |
| 257 |
zl_exit_secret = 244, |
| 258 |
zl_elevator_raise_to_nearest = 245, |
| 259 |
zl_elevator_move_to_floor = 246, |
| 260 |
zl_elevator_lower_to_nearest = 247, |
| 261 |
zl_heal_thing = 248, |
| 262 |
zl_door_close_wait_open = 249, |
| 263 |
zl_floor_donut = 250, |
| 264 |
zl_floor_and_ceiling_lower_raise = 251, |
| 265 |
zl_ceiling_raise_to_nearest = 252, |
| 266 |
zl_ceiling_lower_to_lowest = 253, |
| 267 |
zl_ceiling_lower_to_floor = 254, |
| 268 |
zl_ceiling_crush_raise_and_stay_sil_a = 255, |
| 269 |
|
| 270 |
zl_floor_lower_to_highest_ee = 256, |
| 271 |
zl_floor_raise_to_lowest = 257, |
| 272 |
zl_floor_lower_to_lowest_ceiling = 258, |
| 273 |
zl_floor_raise_to_ceiling = 259, |
| 274 |
zl_floor_to_ceiling_instant = 260, |
| 275 |
zl_floor_lower_by_texture = 261, |
| 276 |
zl_ceiling_raise_to_highest = 262, |
| 277 |
zl_ceiling_to_highest_instant = 263, |
| 278 |
zl_ceiling_lower_to_nearest = 264, |
| 279 |
zl_ceiling_raise_to_lowest = 265, |
| 280 |
zl_ceiling_raise_to_highest_floor = 266, |
| 281 |
zl_ceiling_to_floor_instant = 267, |
| 282 |
zl_ceiling_raise_by_texture = 268, |
| 283 |
zl_ceiling_lower_by_texture = 269, |
| 284 |
zl_stairs_build_down_doom = 270, |
| 285 |
zl_stairs_build_up_doom_sync = 271, |
| 286 |
zl_stairs_build_down_doom_sync = 272, |
| 287 |
|
| 288 |
zl_stairs_build_up_doom_crush = 273, |
| 289 |
zl_door_animated_close = 274, |
| 290 |
zl_floor_stop = 275, |
| 291 |
zl_ceiling_stop = 276, |
| 292 |
zl_sector_set_floor_glow = 277, |
| 293 |
zl_sector_set_ceiling_glow = 278, |
| 294 |
zl_floor_move_to_value_and_crush = 279, |
| 295 |
zl_ceiling_move_to_value_and_crush = 280, |
| 296 |
zl_line_set_automap_flags = 281, |
| 297 |
zl_line_set_automap_style = 282, |
| 298 |
zl_polyobj_stop_sound = 283, |
| 299 |
|
| 300 |
zl_map_set_colormap = 2701, |
| 301 |
zl_sector_set_colormap = 2702, |
| 302 |
zl_music_change_song = 2703, |
| 303 |
zl_music_stop = 2704, |
| 304 |
|
| 305 |
zl_linespecial_max |
| 306 |
} zl_linespecial_id_t; |
| 307 |
|
| 308 |
#endif |