src/train.h
changeset 7630 2cd754d7dfa4
parent 7269 c7f39d91255e
child 7631 e810ef25497e
equal deleted inserted replaced
7629:b7bbf31c33af 7630:2cd754d7dfa4
   270 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }
   270 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }
   271 	WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; }
   271 	WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; }
   272 	void PlayLeaveStationSound() const;
   272 	void PlayLeaveStationSound() const;
   273 	bool IsPrimaryVehicle() const { return IsFrontEngine(this); }
   273 	bool IsPrimaryVehicle() const { return IsFrontEngine(this); }
   274 	bool HasFront() const { return true; }
   274 	bool HasFront() const { return true; }
       
   275 	int GetImage(Direction direction) const;
   275 };
   276 };
   276 
   277 
   277 #endif /* TRAIN_H */
   278 #endif /* TRAIN_H */