src/train.h
branchnoai
changeset 9631 8a2d1c2ceb88
parent 9625 3301b1b3889c
child 9701 d1ac22c62f64
equal deleted inserted replaced
9630:550db5cefcc2 9631:8a2d1c2ceb88
   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;
       
   276 	void Tick();
   275 };
   277 };
   276 
   278 
   277 #endif /* TRAIN_H */
   279 #endif /* TRAIN_H */