src/train.h
changeset 7134 5b2d47128d05
parent 6773 bc98b0b16ec4
child 7135 3c1bcca0d6bb
equal deleted inserted replaced
7133:1a1f763d846d 7134:5b2d47128d05
   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 */