src/train.h
changeset 7089 7230d3e22a5f
parent 7059 3d5c57a7e729
child 7267 f49300df3842
equal deleted inserted replaced
7088:e1dd5ea03ff3 7089:7230d3e22a5f
   246 	const char *GetTypeString() const { return "train"; }
   246 	const char *GetTypeString() const { return "train"; }
   247 	void MarkDirty();
   247 	void MarkDirty();
   248 	void UpdateDeltaXY(Direction direction);
   248 	void UpdateDeltaXY(Direction direction);
   249 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }
   249 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }
   250 	WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; }
   250 	WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; }
       
   251 	void PlayLeaveStationSound() const;
   251 };
   252 };
   252 
   253 
   253 #endif /* TRAIN_H */
   254 #endif /* TRAIN_H */