summaryrefslogtreecommitdiff
path: root/src/viewport_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 09:42:44 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 09:42:44 +0000
commit2752568d61e8a25dfef3992edf8a8cc0ce821fca (patch)
treef0e8b714d0affba2b46fcd6f85a72b4653e031e2 /src/viewport_func.h
parent9c3725827a84b406a6d7108a3472ffbc88e923ed (diff)
downloadopenttd-2752568d61e8a25dfef3992edf8a8cc0ce821fca.tar.xz
(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.
Diffstat (limited to 'src/viewport_func.h')
-rw-r--r--src/viewport_func.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/viewport_func.h b/src/viewport_func.h
index 156ffaa79..a9d491b45 100644
--- a/src/viewport_func.h
+++ b/src/viewport_func.h
@@ -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);