src/roadveh.h
changeset 7269 c7f39d91255e
parent 7059 3d5c57a7e729
child 7353 716c6dd9322a
equal deleted inserted replaced
7268:9c77f6baef3b 7269:c7f39d91255e
    41 	const char *GetTypeString() const { return "road vehicle"; }
    41 	const char *GetTypeString() const { return "road vehicle"; }
    42 	void MarkDirty();
    42 	void MarkDirty();
    43 	void UpdateDeltaXY(Direction direction);
    43 	void UpdateDeltaXY(Direction direction);
    44 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_ROADVEH_INC : EXPENSES_ROADVEH_RUN; }
    44 	ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_ROADVEH_INC : EXPENSES_ROADVEH_RUN; }
    45 	WindowClass GetVehicleListWindowClass() const { return WC_ROADVEH_LIST; }
    45 	WindowClass GetVehicleListWindowClass() const { return WC_ROADVEH_LIST; }
       
    46 	bool IsPrimaryVehicle() const { return true; }
    46 };
    47 };
    47 
    48 
    48 #endif /* ROADVEH_H */
    49 #endif /* ROADVEH_H */