12 #ifndef VIEWPORT_FUNC_H
13 #define VIEWPORT_FUNC_H
23 void SetSelectionRed(
bool);
25 void DeleteWindowViewport(
Window *w);
28 Point GetTileBelowCursor();
34 void ZoomInOrOutToCursorWindow(
bool in,
Window * w);
53 void AddSortableSpriteToDraw(
SpriteID image,
PaletteID pal,
int x,
int y,
int w,
int h,
int dz,
int z,
bool transparent =
false,
int bb_offset_x = 0,
int bb_offset_y = 0,
int bb_offset_z = 0,
const SubSprite *sub = NULL);
61 bool HandleViewportClicked(
const ViewPort *vp,
int x,
int y);
64 void SetTileSelectBigSize(
int ox,
int oy,
int sx,
int sy);
66 void ViewportDoDraw(
const ViewPort *vp,
int left,
int top,
int right,
int bottom);
71 void RebuildViewportOverlay(
Window *w);
78 extern Point _tile_fract_coords;
83 void MarkTileDirtyByTileOutsideMap(
int x,
int y);