diff options
Diffstat (limited to 'src/disaster_cmd.cpp')
-rw-r--r-- | src/disaster_cmd.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index c0c838456..aa8a8f2f2 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -7,7 +7,8 @@ * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. */ -/** @file disaster_cmd.cpp +/** + * @file disaster_cmd.cpp * All disaster/easter egg vehicles are handled here. * The general flow of control for the disaster vehicles is as follows: * <ol> @@ -128,7 +129,8 @@ static void DisasterVehicleUpdateImage(DisasterVehicle *v) v->cur_image = img; } -/** Initialize a disaster vehicle. These vehicles are of type VEH_DISASTER, are unclickable +/** + * Initialize a disaster vehicle. These vehicles are of type VEH_DISASTER, are unclickable * and owned by nobody */ static void InitializeDisasterVehicle(DisasterVehicle *v, int x, int y, byte z, Direction direction, byte subtype) { @@ -670,7 +672,8 @@ bool DisasterVehicle::Tick() typedef void DisasterInitProc(); -/** Zeppeliner which crashes on a small airport if one found, +/** + * Zeppeliner which crashes on a small airport if one found, * otherwise crashes on a random tile */ static void Disaster_Zeppeliner_Init() { @@ -698,7 +701,8 @@ static void Disaster_Zeppeliner_Init() } -/** Ufo which flies around aimlessly from the middle of the map a bit +/** + * Ufo which flies around aimlessly from the middle of the map a bit * until it locates a road vehicle which it targets and then destroys */ static void Disaster_Small_Ufo_Init() { @@ -844,7 +848,8 @@ static void Disaster_Big_Submarine_Init() } -/** Coal mine catastrophe, destroys a stretch of 30 tiles of +/** + * Coal mine catastrophe, destroys a stretch of 30 tiles of * land in a certain direction */ static void Disaster_CoalMine_Init() { @@ -927,7 +932,8 @@ void StartupDisasters() ResetDisasterDelay(); } -/** Marks all disasters targeting this industry in such a way +/** + * Marks all disasters targeting this industry in such a way * they won't call Industry::Get(v->dest_tile) on invalid industry anymore. * @param i deleted industry */ @@ -943,7 +949,8 @@ void ReleaseDisastersTargetingIndustry(IndustryID i) } } -/** Notify disasters that we are about to delete a vehicle. So make them head elsewhere. +/** + * Notify disasters that we are about to delete a vehicle. So make them head elsewhere. * @param vehicle deleted vehicle */ void ReleaseDisastersTargetingVehicle(VehicleID vehicle) |