(svn r16445) -Codechange: update old comments (Yexo)

This commit is contained in:
smatz
2009-05-26 23:24:34 +00:00
parent 18d0a5238f
commit 01e5c536a7
6 changed files with 5 additions and 37 deletions

View File

@@ -116,12 +116,7 @@ struct RoadVehicleCache {
};
/**
* This class 'wraps' Vehicle; you do not actually instantiate this class.
* You create a Vehicle using AllocateVehicle, so it is added to the pool
* and you reinitialize that to a Train using:
* v = new (v) RoadVehicle();
*
* As side-effect the vehicle type is set correctly.
* Buses, trucks and trams belong to this class.
*/
struct RoadVehicle : public SpecializedVehicle<RoadVehicle, VEH_ROAD> {
RoadVehicleCache rcache; ///< Cache of often used calculated values