(svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.

This commit is contained in:
rubidium
2008-04-19 13:17:19 +00:00
parent 1dcf912f06
commit 24b5c91039
8 changed files with 10 additions and 10 deletions

View File

@@ -412,7 +412,7 @@ void SetupColorsAndInitialWindow()
int height = _screen.height;
Window *w = AllocateWindow(0, 0, width, height, MainWindowWndProc, WC_MAIN_WINDOW, NULL);
AssignWindowViewport(w, 0, 0, width, height, TileXY(32, 32), ZOOM_LVL_VIEWPORT);
InitializeWindowViewport(w, 0, 0, width, height, TileXY(32, 32), ZOOM_LVL_VIEWPORT);
/* XXX: these are not done */
switch (_game_mode) {