From 717df2e9dabf5f4d3c01d6f9b4c8e879fdffb1fe Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 27 Apr 2024 13:39:32 +0200 Subject: [PATCH] added definitions and macro for BD engine runtime elements --- src/main.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.h b/src/main.h index 8ae91599..063ce800 100644 --- a/src/main.h +++ b/src/main.h @@ -965,6 +965,9 @@ (e) == EL_BD_CONVEYOR_DIR_SWITCH || \ (e) == EL_BD_CONVEYOR_DIR_SWITCH_ACTIVE) +#define IS_BD_RUNTIME_ELEMENT(e) ((e) >= EL_BD_RUNTIME_START && \ + (e) <= EL_BD_RUNTIME_END) + #define IS_SOKOBAN_OBJECT_OR_FIELD(e) ((e) == EL_SOKOBAN_OBJECT || \ (e) == EL_SOKOBAN_FIELD_EMPTY || \ (e) == EL_SOKOBAN_FIELD_FULL) @@ -2304,6 +2307,9 @@ #define EL_BD_NUT_BREAKING_4 1486 #define EL_BD_END EL_BD_NUT_BREAKING_4 +#define EL_BD_RUNTIME_START EL_BD_SAND_BALL_FALLING +#define EL_BD_RUNTIME_END EL_BD_NUT_BREAKING_4 + #define NUM_FILE_ELEMENTS 1487 -- 2.34.1