added macros to get and put 16 bit big endian values
[rocksndiamonds.git] / src / game_em / emerald.h
index 4e2d8ab99a875eddc5a1c0e07be491f59192f33c..509f2f6939b4705f46b4cefc5760a264383095c0 100644 (file)
@@ -60,9 +60,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 /*
   -----------------------------------------------------------------------------
   definition of elements used in the Emerald Mine Club engine;
-  the element names have the following properties:
+  the element names (mostly) have the following properties:
   - elements that start with 'X' can be stored in a level file
-  - elements that start with 'Y' indicate moving elements
+  - elements that start with 'Y' indicate moving or active elements
   - elements that end with 'B' are the "backside" of moving elements
   -----------------------------------------------------------------------------
 */
@@ -370,16 +370,16 @@ enum
   Ydrip_2_sB,
 
   Xwonderwall,
-  XwonderwallB,
+  Ywonderwall,
 
   Xwheel,
-  XwheelB,
+  Ywheel,
 
   Xswitch,
-  XswitchB,
+  Yswitch,
 
   Xbumper,
-  XbumperB,
+  Ybumper,
 
   Xacid_nw,
   Xacid_ne,
@@ -388,13 +388,13 @@ enum
   Xacid_se,
 
   Xfake_blank,
-  Xfake_blankB,
+  Yfake_blank,
 
   Xfake_grass,
-  Xfake_grassB,
+  Yfake_grass,
 
   Xfake_amoeba,                        /* dripper */
-  Xfake_amoebaB,
+  Yfake_amoeba,
 
   Xlenses,
 
@@ -702,6 +702,20 @@ struct LEVEL
 
   int exit_x, exit_y;          /* kludge for playing player exit sound */
 
+  boolean android_eater;       /* android clone data */
+  boolean android_alien;
+  boolean android_bug;
+  boolean android_tank;
+  boolean android_emerald;
+  boolean android_diamond;
+  boolean android_stone;
+  boolean android_bomb;
+  boolean android_nut;
+  boolean android_spring;
+  boolean android_dynamite;
+  boolean android_balloon;
+  boolean android_amoeba;
+
   short cavebuf[CAVE_BUFFER_WIDTH][CAVE_BUFFER_HEIGHT];
   short nextbuf[CAVE_BUFFER_WIDTH][CAVE_BUFFER_HEIGHT];
   short drawbuf[CAVE_BUFFER_WIDTH][CAVE_BUFFER_HEIGHT];