X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=b82b7e8acc5655fd2d644e9f572caee7118dff46;hb=4fd53190c7842905930f953211bb68885b828b7e;hp=be48d88978b3e64fa0f1fc2662ebace904ce0d90;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index be48d889..b82b7e8a 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -65,22 +65,14 @@ #define STR_SPECIAL_RENDERING_TARGET "target_texture_only" #define STR_SPECIAL_RENDERING_DOUBLE "stream_and_target_texture" -#if defined(TARGET_SDL2) #define STR_SPECIAL_RENDERING_DEFAULT STR_SPECIAL_RENDERING_DOUBLE -#else -#define STR_SPECIAL_RENDERING_DEFAULT STR_SPECIAL_RENDERING_BITMAP -#endif #define SPECIAL_RENDERING_OFF 0 #define SPECIAL_RENDERING_BITMAP 1 #define SPECIAL_RENDERING_TARGET 2 #define SPECIAL_RENDERING_DOUBLE 3 -#if defined(TARGET_SDL2) #define SPECIAL_RENDERING_DEFAULT SPECIAL_RENDERING_DOUBLE -#else -#define SPECIAL_RENDERING_DEFAULT SPECIAL_RENDERING_BITMAP -#endif // values for vertical screen retrace synchronization (vsync) #define STR_VSYNC_MODE_OFF "off" @@ -654,11 +646,10 @@ // areas in bitmap PIX_DOOR -/* meaning in PIX_DB_DOOR: (3 PAGEs) - PAGEX1: 1. buffer for DOOR_1 - PAGEX2: 2. buffer for DOOR_1 - PAGEX3: buffer for animations -*/ +// meaning in PIX_DB_DOOR: (3 PAGEs) +// PAGEX1: 1. buffer for DOOR_1 +// PAGEX2: 2. buffer for DOOR_1 +// PAGEX3: buffer for animations // these values are hard-coded to be able to use them in initialization #define DOOR_GFX_PAGE_WIDTH 100 // should be set to "gfx.dxsize" @@ -1643,9 +1634,7 @@ extern DrawBuffer *drawto; extern int button_status; extern boolean motion_status; extern int wheel_steps; -#if defined(TARGET_SDL2) extern boolean keyrepeat_status; -#endif extern int redraw_mask;