(svn r27158) -Codechange: Simplify mapping from viewport to smallmap coordinates by duplicating less code.
This commit is contained in:
@@ -25,6 +25,7 @@ void SetSelectionRed(bool);
|
||||
void DeleteWindowViewport(Window *w);
|
||||
void InitializeWindowViewport(Window *w, int x, int y, int width, int height, uint32 follow_flags, ZoomLevel zoom);
|
||||
ViewPort *IsPtInWindowViewport(const Window *w, int x, int y);
|
||||
Point TranslateXYToTileCoord(const ViewPort *vp, int x, int y, bool clamp_to_map = true);
|
||||
Point GetTileBelowCursor();
|
||||
void UpdateViewportPosition(Window *w);
|
||||
|
||||
|
Reference in New Issue
Block a user