X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fmisc.c;h=b2ee47177cb9131596f4558f04c17d946091151b;hb=94b124e87edbd2e12d7b83f45254fcbfff8554cd;hp=29e23929ea5c8db0afe9b31723ffaee3e6c88fea;hpb=e6bde4abb3952d4689917ce66d6bde79cd8df7fc;p=rocksndiamonds.git diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 29e23929..b2ee4717 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -14,8 +14,13 @@ #include #include #include +#include #include #include +#include +#include + +#include "platform.h" #if !defined(PLATFORM_WIN32) #include @@ -24,8 +29,6 @@ #include "libgame.h" -#include "main_TMP.h" - #include "misc.h" #if 0 @@ -415,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