X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=2be92c6bf151a2d1bdd026243f88e84e3c610fd9;hb=097cb899f2c98e2f300e081dd09d7db8b0f636a5;hp=7a1e8bebc7b22c504a83732dfd2c742351cb506b;hpb=d2fe3484366d23690887c6547636cd681db22007;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 7a1e8beb..2be92c6b 100644 --- a/src/main.h +++ b/src/main.h @@ -696,6 +696,10 @@ IS_EM_GATE_GRAY(e) ? EM_GATE_GRAY_NR(e) : \ IS_EMC_GATE_GRAY(e) ? EMC_GATE_GRAY_NR(e) : 0) +#define IS_ACID_POOL_OR_ACID(e) (IS_ACID_POOL(e) || (e) == EL_ACID) + +#define IS_EMC_PILLAR(e) ((e) >= EL_EMC_WALL_1 && (e) <= EL_EMC_WALL_3) + #define GFX_ELEMENT(e) (element_info[e].use_gfx_element ? \ element_info[e].gfx_element : e)