X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fgraphics.c;h=aab9ade2a36c6157c49fa4abd0c73c3ecccf5468;hb=5563d8cacbe65dab73d0979b8cf2e7f4f16c6de6;hp=eed798b4943397ccd2470140d094472911677ab9;hpb=96c2871c2efdc7f3e6edf49841409eb8e38a78e1;p=rocksndiamonds.git diff --git a/src/game_em/graphics.c b/src/game_em/graphics.c index eed798b4..aab9ade2 100644 --- a/src/game_em/graphics.c +++ b/src/game_em/graphics.c @@ -42,6 +42,10 @@ int screen_x, screen_y; /* current scroll position */ static int screentiles[MAX_PLAYFIELD_WIDTH + 2][MAX_PLAYFIELD_HEIGHT + 2]; static int crumbled_state[MAX_PLAYFIELD_WIDTH + 2][MAX_PLAYFIELD_HEIGHT + 2]; +/* graphic info for game objects/frames and players/actions/frames */ +struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8]; +struct GraphicInfo_EM graphic_info_em_player[MAX_PLAYERS][PLY_MAX][8]; + int getFieldbufferOffsetX_EM(void) { return screen_x % TILEX;