X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fmain.h;h=255a6475adc66f2f3aa4786be75c8835394c871c;hp=7e70d87fc4a15a1d79fcb368a03d85b7a2027ebc;hb=9de8eede744c45187c7011543ef8097d1ebc879c;hpb=720b0a62c8af0585e9517ed7a98ea336304c02e4 diff --git a/src/main.h b/src/main.h index 7e70d87f..255a6475 100644 --- a/src/main.h +++ b/src/main.h @@ -1240,6 +1240,22 @@ struct ElementInfo int content[3][3]; /* new elements after explosion */ struct ElementChangeInfo change; + + /* ---------- internal values used in level editor ---------- */ + + int access_type; /* walkable or passable */ + int access_layer; /* accessible over/inside/under */ + int walk_to_action; /* diggable/collectible/pushable */ + int smash_targets; /* can smash player/enemies/everything */ + int deadliness; /* deadly when running/colliding/touching */ + int consistency; /* indestructible/can explode */ + int change_player_action; /* touched/pressed/pushed by player */ + int change_collide_action; /* collision/impact/smashed */ + int change_other_action; /* various change actions */ + + boolean can_explode_by_fire; /* element explodes by fire */ + boolean can_explode_smashed; /* element explodes when smashed */ + boolean can_explode_impact; /* element explodes on impact */ }; struct FontInfo