moved game values for score and health from player to game structure
[rocksndiamonds.git] / src / game.h
index fffbefa2766009efdb2e86d4129312799e7a632d..602922bdff6c207b8ddddea3e02e78f9c2648cd3 100644 (file)
@@ -191,6 +191,12 @@ struct GameInfo
   boolean envelope_active;
   boolean no_time_limit;       // (variable only in very special case)
 
+  int score;
+  int score_final;
+
+  int health;
+  int health_final;
+
   int gems_still_needed;
   int sokoban_fields_still_needed;
   int sokoban_objects_still_needed;
@@ -351,12 +357,6 @@ struct PlayerInfo
 
   int step_counter;
 
-  int score;
-  int score_final;
-
-  int health;
-  int health_final;
-
   int key[MAX_NUM_KEYS];
   int num_white_keys;
   int dynabomb_count, dynabomb_size, dynabombs_left, dynabomb_xl;