src/town_gui.cpp
branchNewGRF_ports
changeset 10274 b3c58f3df92b
parent 10242 52b4a9006029
child 10724 68a692eacf22
equal deleted inserted replaced
10243:e9066a148720 10274:b3c58f3df92b
   394 
   394 
   395 	w = AllocateWindowDescFront(&_town_view_desc, town);
   395 	w = AllocateWindowDescFront(&_town_view_desc, town);
   396 
   396 
   397 	if (w != NULL) {
   397 	if (w != NULL) {
   398 		w->flags4 |= WF_DISABLE_VP_SCROLL;
   398 		w->flags4 |= WF_DISABLE_VP_SCROLL;
   399 		AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetTown(town)->xy, ZOOM_LVL_TOWN);
   399 		InitializeWindowViewport(w, 3, 17, 254, 86, GetTown(town)->xy, ZOOM_LVL_TOWN);
   400 	}
   400 	}
   401 }
   401 }
   402 
   402 
   403 enum TownDirectoryWidget {
   403 enum TownDirectoryWidget {
   404 	TDW_SORTNAME = 3,
   404 	TDW_SORTNAME = 3,