src/ship.h
changeset 7269 c7f39d91255e
parent 7089 7230d3e22a5f
child 7630 2cd754d7dfa4
equal deleted inserted replaced
7268:9c77f6baef3b 7269:c7f39d91255e
    43 	void MarkDirty();
    43 	void MarkDirty();
    44 	void UpdateDeltaXY(Direction direction);
    44 	void UpdateDeltaXY(Direction direction);
    45 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_SHIP_INC : EXPENSES_SHIP_RUN; }
    45 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_SHIP_INC : EXPENSES_SHIP_RUN; }
    46 	WindowClass GetVehicleListWindowClass() const { return WC_SHIPS_LIST; }
    46 	WindowClass GetVehicleListWindowClass() const { return WC_SHIPS_LIST; }
    47 	void PlayLeaveStationSound() const;
    47 	void PlayLeaveStationSound() const;
       
    48 	bool IsPrimaryVehicle() const { return true; }
    48 };
    49 };
    49 
    50 
    50 #endif /* SHIP_H */
    51 #endif /* SHIP_H */