summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-10-19 09:51:19 +0000
committerrubidium <rubidium@openttd.org>2008-10-19 09:51:19 +0000
commit15eb140d28a8fc131dedc595c7685562917130a4 (patch)
tree5eb8bb5e7076ecb2612e7ea10f0c287c9c5cc768 /src
parent2cc1d00babc732ce19bed08a3134e9424f2ac789 (diff)
downloadopenttd-15eb140d28a8fc131dedc595c7685562917130a4.tar.xz
(svn r14490) -Codechange: fix comment style on a few locations (Alberth)
Diffstat (limited to 'src')
-rw-r--r--src/cargo_type.h8
-rw-r--r--src/town_cmd.cpp28
2 files changed, 18 insertions, 18 deletions
diff --git a/src/cargo_type.h b/src/cargo_type.h
index 521ce9b02..afdacdac0 100644
--- a/src/cargo_type.h
+++ b/src/cargo_type.h
@@ -8,7 +8,7 @@
typedef byte CargoID;
enum {
- // Temperate
+ /* Temperate */
CT_PASSENGERS = 0,
CT_COAL = 1,
CT_MAIL = 2,
@@ -21,14 +21,14 @@ enum {
CT_STEEL = 9,
CT_VALUABLES = 10,
- // Arctic
+ /* Arctic */
CT_WHEAT = 6,
CT_HILLY_UNUSED = 8,
CT_PAPER = 9,
CT_GOLD = 10,
CT_FOOD = 11,
- // Tropic
+ /* Tropic */
CT_RUBBER = 1,
CT_FRUIT = 4,
CT_MAIZE = 6,
@@ -36,7 +36,7 @@ enum {
CT_WATER = 9,
CT_DIAMONDS = 10,
- // Toyland
+ /* Toyland */
CT_SUGAR = 1,
CT_TOYS = 3,
CT_BATTERIES = 4,
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 57abf80fd..11167bde0 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -2602,20 +2602,20 @@ static CommandCost TerraformTile_Town(TileIndex tile, uint32 flags, uint z_new,
}
extern const TileTypeProcs _tile_type_town_procs = {
- DrawTile_Town, /* draw_tile_proc */
- GetSlopeZ_Town, /* get_slope_z_proc */
- ClearTile_Town, /* clear_tile_proc */
- GetAcceptedCargo_Town, /* get_accepted_cargo_proc */
- GetTileDesc_Town, /* get_tile_desc_proc */
- GetTileTrackStatus_Town, /* get_tile_track_status_proc */
- ClickTile_Town, /* click_tile_proc */
- AnimateTile_Town, /* animate_tile_proc */
- TileLoop_Town, /* tile_loop_clear */
- ChangeTileOwner_Town, /* change_tile_owner_clear */
- GetProducedCargo_Town, /* get_produced_cargo_proc */
- NULL, /* vehicle_enter_tile_proc */
- GetFoundation_Town, /* get_foundation_proc */
- TerraformTile_Town, /* terraform_tile_proc */
+ DrawTile_Town, // draw_tile_proc
+ GetSlopeZ_Town, // get_slope_z_proc
+ ClearTile_Town, // clear_tile_proc
+ GetAcceptedCargo_Town, // get_accepted_cargo_proc
+ GetTileDesc_Town, // get_tile_desc_proc
+ GetTileTrackStatus_Town, // get_tile_track_status_proc
+ ClickTile_Town, // click_tile_proc
+ AnimateTile_Town, // animate_tile_proc
+ TileLoop_Town, // tile_loop_clear
+ ChangeTileOwner_Town, // change_tile_owner_clear
+ GetProducedCargo_Town, // get_produced_cargo_proc
+ NULL, // vehicle_enter_tile_proc
+ GetFoundation_Town, // get_foundation_proc
+ TerraformTile_Town, // terraform_tile_proc
};