(svn r12699) -Codechange: Unify the order drawing code for orders and timetables.

This commit is contained in:
maedhros
2008-04-14 12:40:09 +00:00
parent 14b307a621
commit 1f59821020
4 changed files with 110 additions and 173 deletions

View File

@@ -37,6 +37,8 @@ void CheckOrders(const Vehicle*);
void DeleteVehicleOrders(Vehicle *v);
bool ProcessOrders(Vehicle *v);
void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable);
#define MIN_SERVINT_PERCENT 5
#define MAX_SERVINT_PERCENT 90
#define MIN_SERVINT_DAYS 30