File diff r8263:00e828e1ab1f → r8264:d493cb51fe8a
src/timetable_gui.cpp
Show inline comments
 
@@ -2,13 +2,12 @@
 

	
 
/** @file timetable_gui.cpp */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "variables.h"
 
#include "table/strings.h"
 
#include "command_func.h"
 
#include "engine.h"
 
#include "gui.h"
 
#include "window_gui.h"
 
#include "textbuf_gui.h"
 
#include "cargotype.h"
 
@@ -16,12 +15,14 @@
 
#include "strings_func.h"
 
#include "vehicle_base.h"
 
#include "string_func.h"
 
#include "gfx_func.h"
 
#include "player_func.h"
 

	
 
#include "table/strings.h"
 

	
 
static int GetOrderFromTimetableWndPt(Window *w, int y, const Vehicle *v)
 
{
 
	/*
 
	 * Calculation description:
 
	 * 15 = 14 (w->widget[ORDER_WIDGET_ORDER_LIST].top) + 1 (frame-line)
 
	 * 10 = order text hight