|
|
@@ -111,7 +111,6 @@ typedef void (*TColorPutterAlpha)(uint8_t *&ptr, const uint8_t & R, const uint8_
|
|
|
/// returns dimensions of display on which VCMI window is located
|
|
|
Rect getDisplayBounds();
|
|
|
|
|
|
- void update(SDL_Surface * what = screen); //updates whole surface (default - main screen)
|
|
|
void drawLine(SDL_Surface * sur, int x1, int y1, int x2, int y2, const SDL_Color & color1, const SDL_Color & color2);
|
|
|
void drawBorder(SDL_Surface * sur, int x, int y, int w, int h, const SDL_Color &color, int depth = 1);
|
|
|
void drawBorder(SDL_Surface * sur, const Rect &r, const SDL_Color &color, int depth = 1);
|
|
|
@@ -138,7 +137,6 @@ typedef void (*TColorPutterAlpha)(uint8_t *&ptr, const uint8_t & R, const uint8_
|
|
|
|
|
|
///set key-color to 0,255,255
|
|
|
void setDefaultColorKey(SDL_Surface * surface);
|
|
|
-
|
|
|
///set key-color to 0,255,255 only if it exactly mapped
|
|
|
void setDefaultColorKeyPresize(SDL_Surface * surface);
|
|
|
|