From: Holger Schemel Date: Thu, 13 Feb 2020 00:54:10 +0000 (+0100) Subject: changed order of some level structure values for EM engine X-Git-Tag: 4.2.0.0~126 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=099e6d85c9e5b19bcd153eb6f73e3b614abfcb0b;p=rocksndiamonds.git changed order of some level structure values for EM engine --- diff --git a/src/game_em/emerald.h b/src/game_em/emerald.h index 83944148..7806f3e6 100644 --- a/src/game_em/emerald.h +++ b/src/game_em/emerald.h @@ -620,10 +620,6 @@ enum struct LEVEL { - int home_initial; /* number of players (initial) */ - int home; /* number of players not yet at home */ - /* 0 == all players at home */ - int width; /* playfield width */ int height; /* playfield height */ @@ -639,8 +635,6 @@ struct LEVEL int time_initial; /* available time (initial) */ int time; /* time remaining (runtime) */ - boolean killed_out_of_time; /* kill player due to time out */ - int required_initial; /* emeralds needed (initial) */ int required; /* emeralds needed (runtime) */ @@ -698,13 +692,21 @@ struct LEVEL int wonderwall_state; /* wonderwall active flag */ int wonderwall_time_initial; /* wonderwall time (initial) */ int wonderwall_time; /* wonderwall time */ - short eater_array[8][9]; /* eater data */ - short ball_array[8][8]; /* ball data */ - short android_array[TILE_MAX];/* android clone table */ + int num_ball_arrays; /* number of ball data arrays used */ + int home_initial; /* number of players (initial) */ + int home; /* number of players not yet at home */ + /* 0 == all players at home */ + + boolean killed_out_of_time; /* kill player due to time out */ + int exit_x, exit_y; /* kludge for playing player exit sound */ + short eater_array[8][9]; /* eater data */ + short ball_array[8][8]; /* ball data */ + short android_array[TILE_MAX]; /* android clone table */ + short cavebuf[CAVE_BUFFER_WIDTH][CAVE_BUFFER_HEIGHT]; short nextbuf[CAVE_BUFFER_WIDTH][CAVE_BUFFER_HEIGHT]; short drawbuf[CAVE_BUFFER_WIDTH][CAVE_BUFFER_HEIGHT];