X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=a6e9b9f33b63b3bb572f1f1317873be97316aa56;hb=f47abfa991814f09bfc5e388f284663bd23e2829;hp=2ced42237ae2ec6e1aff6448fcfb6a97441e0d1d;hpb=4dad971280a07058d01449d5e6db2b036470015d;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 2ced4223..a6e9b9f3 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -311,11 +311,6 @@ REDRAW_MICROLEVEL) #define REDRAW_FPS (1 << 11) -/* on modern graphics systems and when using the SDL target, the old tile redraw - optimization can slow things down a lot due to many small blits compared to - one single playfield-sized blit (especially observed on Mac OS X with SDL) */ -#define REDRAWTILES_THRESHOLD 0 - #define IN_GFX_FIELD_PLAY(x, y) (x >= gfx.sx && x < gfx.sx + gfx.sxsize && \ y >= gfx.sy && y < gfx.sy + gfx.sysize) #define IN_GFX_FIELD_FULL(x, y) (x >= gfx.real_sx && \ @@ -978,7 +973,6 @@ struct SetupInfo boolean scroll_delay; boolean scroll_delay_value; char *engine_snapshot_mode; - boolean soft_scrolling; boolean fade_screens; boolean autorecord; boolean show_titlescreen; @@ -1297,7 +1291,6 @@ extern boolean keyrepeat_status; #endif extern int redraw_mask; -extern int redraw_tiles; extern int FrameCounter; @@ -1361,7 +1354,6 @@ Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); void KeyboardAutoRepeatOn(void); void KeyboardAutoRepeatOff(void); -boolean PointerInWindow(DrawWindow *); boolean SetVideoMode(boolean); boolean ChangeVideoModeIfNeeded(boolean);