roadveh_gui.c
changeset 3887 ece644bbf459
parent 3884 793081f80381
child 3948 a09379beffd5
equal deleted inserted replaced
3886:80caa2b88ecf 3887:ece644bbf459
   220 	w = AllocateWindowDesc(&_roadveh_details_desc);
   220 	w = AllocateWindowDesc(&_roadveh_details_desc);
   221 	w->window_number = veh;
   221 	w->window_number = veh;
   222 	w->caption_color = v->owner;
   222 	w->caption_color = v->owner;
   223 }
   223 }
   224 
   224 
   225 void CcCloneRoadVeh(bool success, uint tile, uint32 p1, uint32 p2)
   225 void CcCloneRoadVeh(bool success, TileIndex tile, uint32 p1, uint32 p2)
   226 {
   226 {
   227 	if (success) ShowRoadVehViewWindow(GetVehicle(_new_roadveh_id));
   227 	if (success) ShowRoadVehViewWindow(GetVehicle(_new_roadveh_id));
   228 }
   228 }
   229 
   229 
   230 static void RoadVehViewWndProc(Window *w, WindowEvent *e)
   230 static void RoadVehViewWndProc(Window *w, WindowEvent *e)