Mercurial > hg > openttd
diff src/viewport.cpp @ 8994:e4c3087abbde draft
(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 19 Apr 2008 13:17:19 +0000 (2008-04-19) |
parents | c0e03990caf0 |
children | fb965a22a11a |
line wrap: on
line diff
--- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -170,7 +170,7 @@ * - If bit 31 is clear, it is a tile position. * @param zoom Zoomlevel to display */ -void AssignWindowViewport(Window *w, int x, int y, +void InitializeWindowViewport(Window *w, int x, int y, int width, int height, uint32 follow_flags, ZoomLevel zoom) { assert(w->viewport == NULL);