X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fmisc.c;h=b2ee47177cb9131596f4558f04c17d946091151b;hb=94b124e87edbd2e12d7b83f45254fcbfff8554cd;hp=771918ea96bf9d07c5aff8e501367f61fe9bec52;hpb=49221e59bff18cdfbef8c877b588280266ae5037;p=rocksndiamonds.git diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 771918ea..b2ee4717 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -14,8 +14,11 @@ #include #include #include +#include #include #include +#include +#include #include "platform.h" @@ -26,8 +29,6 @@ #include "libgame.h" -#include "main_TMP.h" - #include "misc.h" #if 0 @@ -417,37 +418,6 @@ char *getStringToLower(char *s) return s_copy; } -void MarkTileDirty(int x, int y) -{ - int xx = redraw_x1 + x; - int yy = redraw_y1 + y; - - if (!redraw[xx][yy]) - redraw_tiles++; - - redraw[xx][yy] = TRUE; - redraw_mask |= REDRAW_TILES; -} - -void SetBorderElement() -{ - int x, y; - - BorderElement = EL_LEERRAUM; - - for(y=0; y