forked from mirror/OpenTTD
(svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
|
||||
void SetSelectionRed(bool);
|
||||
|
||||
void InitViewports();
|
||||
void DeleteWindowViewport(Window *w);
|
||||
void AssignWindowViewport(Window *w, int x, int y, int width, int height, uint32 follow_flags, ZoomLevel zoom);
|
||||
ViewPort *IsPtInWindowViewport(const Window *w, int x, int y);
|
||||
|
Reference in New Issue
Block a user