(svn r9764) -Codechange: replace some lookup tables by functions.
This commit is contained in:
@@ -133,6 +133,8 @@ struct Aircraft : public Vehicle {
|
||||
const char *GetTypeString() { return "aircraft"; }
|
||||
void MarkDirty();
|
||||
void UpdateDeltaXY(Direction direction);
|
||||
ExpensesType GetExpenseType(bool income) { return income ? EXPENSES_AIRCRAFT_INC : EXPENSES_AIRCRAFT_RUN; }
|
||||
WindowClass GetVehicleListWindowClass() { return WC_AIRCRAFT_LIST; }
|
||||
};
|
||||
|
||||
#endif /* AIRCRAFT_H */
|
||||
|
Reference in New Issue
Block a user