diff options
author | truelight <truelight@openttd.org> | 2004-09-10 19:02:27 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-09-10 19:02:27 +0000 |
commit | eb49a19460f1478a9e9cee99a76391acec72d939 (patch) | |
tree | df7199c5876910bc07eb93bce29fdee7172c0fcf /viewport.h | |
parent | 1c1a5b91c9b8fab3d178d207e6f77c880a142d6c (diff) | |
download | openttd-eb49a19460f1478a9e9cee99a76391acec72d939.tar.xz |
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Diffstat (limited to 'viewport.h')
-rw-r--r-- | viewport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/viewport.h b/viewport.h index 737c7912b..6e1c0e65f 100644 --- a/viewport.h +++ b/viewport.h @@ -8,12 +8,12 @@ struct ViewPort { int virtual_left, virtual_top; // virtual coordinates int virtual_width, virtual_height; // these are just width << zoom, height << zoom - byte zoom; + byte zoom; }; /* viewport.c */ Point MapXYZToViewport(ViewPort *vp, uint x, uint y, uint z); -void AssignWindowViewport(Window *w, int x, int y, +void AssignWindowViewport(Window *w, int x, int y, int width, int height, uint32 follow_flags, byte zoom); void SetViewportPosition(Window *w, int x, int y); ViewPort *IsPtInWindowViewport(Window *w, int x, int y); |