1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 18:39:10 +00:00

(svn r3365) Staticise 36 functions

This commit is contained in:
tron
2006-01-05 12:40:50 +00:00
parent 980e8f525b
commit e272b03fee
37 changed files with 68 additions and 68 deletions

View File

@@ -354,7 +354,7 @@ static int GetTrainAcceleration(Vehicle *v, bool mode)
}
}
void UpdateTrainAcceleration(Vehicle *v)
static void UpdateTrainAcceleration(Vehicle* v)
{
uint power = 0;
uint weight = 0;
@@ -630,7 +630,7 @@ static int32 EstimateTrainCost(const RailVehicleInfo* rvi)
return (rvi->base_cost * (_price.build_railvehicle >> 3)) >> 5;
}
void AddRearEngineToMultiheadedTrain(Vehicle *v, Vehicle *u, bool building)
static void AddRearEngineToMultiheadedTrain(Vehicle* v, Vehicle* u, bool building)
{
u->direction = v->direction;
u->owner = v->owner;