changed type of some variables
[rocksndiamonds.git] / src / game_em / emerald.h
index 8b5e05f2b4fb708041f4f31ef7ac35a1d82bc8a0..63009f63d3f67d332debda4dd93ab87481f04e64 100644 (file)
@@ -620,14 +620,14 @@ enum
 
 struct PLAYER
 {
+  int num;                     /* player number */
   int anim;
+
   int x;
   int y;
   int prev_x;
   int prev_y;
 
-  int num;                     /* player number */
-
   boolean exists;              /* flag if player exists in cave */
   boolean alive;               /* flag if player is alive */
 
@@ -637,13 +637,13 @@ struct PLAYER
 
   int last_move_dir;
 
-  int joy_n:1;
-  int joy_e:1;
-  int joy_s:1;
-  int joy_w:1;
-  int joy_snap:1;
-  int joy_drop:1;
-  int joy_stick:1;
+  boolean joy_n;
+  boolean joy_e;
+  boolean joy_s;
+  boolean joy_w;
+  boolean joy_snap;
+  boolean joy_drop;
+  boolean joy_stick;
 };
 
 struct LOGIC