(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

@@ -553,12 +553,7 @@ struct SpecializedVehicle : public Vehicle {
#define FOR_ALL_VEHICLES_OF_TYPE(name, var) FOR_ALL_ITEMS_FROM(name, vehicle_index, var, 0) if (var->type == name::EXPECTED_TYPE)
/**
* 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) Train();
*
* As side-effect the vehicle type is set correctly.
* Disasters, like submarines, skyrangers and their shadows, belong to this class.
*/
struct DisasterVehicle : public SpecializedVehicle<DisasterVehicle, VEH_DISASTER> {
uint16 image_override;