(svn r1268) -Fix: some warnings in gfx.c fixed

-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game
-Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
This commit is contained in:
darkvater
2004-12-23 23:15:07 +00:00
parent 1e8cfa10bf
commit d7bc1d776c
3 changed files with 11 additions and 6 deletions

5
gfx.c
View File

@@ -1463,7 +1463,7 @@ static void GfxMainBlitter(byte *sprite, int x, int y, int mode)
}
}
#if 0
static void GfxScalePalette(int pal, byte scaling)
{
byte *dst, *src;
@@ -1482,6 +1482,7 @@ static void GfxScalePalette(int pal, byte scaling)
src += 3;
} while (--count);
}
#endif
void DoPaletteAnimations();
@@ -1701,6 +1702,7 @@ void DrawMouseCursor()
_cursor.dirty = false;
}
#if defined(_DEBUG)
static void DbgScreenRect(int left, int top, int right, int bottom)
{
DrawPixelInfo dp,*old;
@@ -1711,6 +1713,7 @@ static void DbgScreenRect(int left, int top, int right, int bottom)
GfxFillRect(left, top, right-1, bottom-1, rand() & 255);
_cur_dpi = old;
}
#endif
extern bool _dbg_screen_rect;