equal
deleted
inserted
replaced
425 * in depots), returns 0xFF. |
425 * in depots), returns 0xFF. |
426 */ |
426 */ |
427 Trackdir GetVehicleTrackdir(const Vehicle* v); |
427 Trackdir GetVehicleTrackdir(const Vehicle* v); |
428 |
428 |
429 /* returns true if staying in the same tile */ |
429 /* returns true if staying in the same tile */ |
430 bool GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); |
430 void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); |
431 Direction GetDirectionTowards(const Vehicle* v, int x, int y); |
431 Direction GetDirectionTowards(const Vehicle* v, int x, int y); |
432 |
432 |
433 #define BEGIN_ENUM_WAGONS(v) do { |
433 #define BEGIN_ENUM_WAGONS(v) do { |
434 #define END_ENUM_WAGONS(v) } while ( (v=v->next) != NULL); |
434 #define END_ENUM_WAGONS(v) } while ( (v=v->next) != NULL); |
435 |
435 |