moved initial player position to level structure for EM engine
[rocksndiamonds.git] / src / game_em / emerald.h
index 37b75c66e4be259c95280bcb399c2eb87f05b814..8394414859493a04646233469049fc06a778bc22 100644 (file)
@@ -632,6 +632,9 @@ struct LEVEL
   int right;                   /* playfield right edge */
   int bottom;                  /* playfield bottom edge */
 
+  int player_x[MAX_PLAYERS];   /* player x pos */
+  int player_y[MAX_PLAYERS];   /* player y pos */
+
   int time_seconds;            /* available time (seconds) */
   int time_initial;            /* available time (initial) */
   int time;                    /* time remaining (runtime) */
@@ -730,8 +733,6 @@ struct PLAYER
   int keys;
   int anim;
 
-  int x_initial;
-  int y_initial;
   int x;
   int y;
   int oldx;