(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
This commit is contained in:
@@ -350,8 +350,8 @@ typedef struct GetNewVehiclePosResult {
|
||||
Trackdir GetVehicleTrackdir(const Vehicle* v);
|
||||
|
||||
/* returns true if staying in the same tile */
|
||||
bool GetNewVehiclePos(Vehicle *v, GetNewVehiclePosResult *gp);
|
||||
byte GetDirectionTowards(Vehicle *v, int x, int y);
|
||||
bool GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp);
|
||||
byte GetDirectionTowards(const Vehicle *v, int x, int y);
|
||||
|
||||
#define BEGIN_ENUM_WAGONS(v) do {
|
||||
#define END_ENUM_WAGONS(v) } while ( (v=v->next) != NULL);
|
||||
|
||||
Reference in New Issue
Block a user