src/train.h
branchNewGRF_ports
changeset 6720 35756db7e577
parent 6719 4cc327ad39d5
child 6800 6c09e1e86fcb
equal deleted inserted replaced
6719:4cc327ad39d5 6720:35756db7e577
   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 */