X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_em%2Fgraphics.c;h=c1b02110a6a0543b8b916fda368072ab8735244b;hp=fee2a181d70aaf8cf42808d3f444beee21328bb8;hb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;hpb=085eaa4c64f1254101fe59747e87aacb009ebe3b diff --git a/src/game_em/graphics.c b/src/game_em/graphics.c index fee2a181..c1b02110 100644 --- a/src/game_em/graphics.c +++ b/src/game_em/graphics.c @@ -37,12 +37,12 @@ int screen_x, screen_y; /* current scroll position */ static int screentiles[MAX_PLAYFIELD_HEIGHT + 2][MAX_PLAYFIELD_WIDTH + 2]; static int crumbled_state[MAX_PLAYFIELD_HEIGHT + 2][MAX_PLAYFIELD_WIDTH + 2]; -int getFieldbufferOffsetX_EM() +int getFieldbufferOffsetX_EM(void) { return screen_x % TILEX; } -int getFieldbufferOffsetY_EM() +int getFieldbufferOffsetY_EM(void) { return screen_y % TILEY; } @@ -501,7 +501,7 @@ static void setMinimalPlayerBoundaries(int *sx1, int *sy1, int *sx2, int *sy2) } } -boolean checkIfAllPlayersFitToScreen() +boolean checkIfAllPlayersFitToScreen(void) { int sx1 = 0, sy1 = 0, sx2 = 0, sy2 = 0;