equal
deleted
inserted
replaced
348 * in depots), returns 0xFF. |
348 * in depots), returns 0xFF. |
349 */ |
349 */ |
350 Trackdir GetVehicleTrackdir(const Vehicle* v); |
350 Trackdir GetVehicleTrackdir(const Vehicle* v); |
351 |
351 |
352 /* returns true if staying in the same tile */ |
352 /* returns true if staying in the same tile */ |
353 bool GetNewVehiclePos(Vehicle *v, GetNewVehiclePosResult *gp); |
353 bool GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); |
354 byte GetDirectionTowards(Vehicle *v, int x, int y); |
354 byte GetDirectionTowards(const Vehicle *v, int x, int y); |
355 |
355 |
356 #define BEGIN_ENUM_WAGONS(v) do { |
356 #define BEGIN_ENUM_WAGONS(v) do { |
357 #define END_ENUM_WAGONS(v) } while ( (v=v->next) != NULL); |
357 #define END_ENUM_WAGONS(v) } while ( (v=v->next) != NULL); |
358 |
358 |
359 /* vehicle.c */ |
359 /* vehicle.c */ |