diff options
author | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
commit | 2cc2154ad26b96b032df2f4fca0ce1634e6330b2 (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /table | |
parent | 01638700067b9720c187598ad6b4bf786e0e63c1 (diff) | |
download | openttd-2cc2154ad26b96b032df2f4fca0ce1634e6330b2.tar.xz |
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
Diffstat (limited to 'table')
-rw-r--r-- | table/ai_rail.h | 2 | ||||
-rw-r--r-- | table/bridge_land.h | 2 | ||||
-rw-r--r-- | table/clear_land.h | 1 | ||||
-rw-r--r-- | table/landscape_sprite.h | 1 | ||||
-rw-r--r-- | table/sprites.h | 48 | ||||
-rw-r--r-- | table/track_land.h | 1 | ||||
-rw-r--r-- | table/tree_land.h | 1 |
7 files changed, 24 insertions, 32 deletions
diff --git a/table/ai_rail.h b/table/ai_rail.h index ecc7bc2e9..4226f3945 100644 --- a/table/ai_rail.h +++ b/table/ai_rail.h @@ -478,5 +478,3 @@ static const AiDefaultBlockData * const _airport_default_block_data[] = { _airportdata_ai_1, // country airport NULL }; - - diff --git a/table/bridge_land.h b/table/bridge_land.h index 5de4c1acd..d3e35c231 100644 --- a/table/bridge_land.h +++ b/table/bridge_land.h @@ -773,5 +773,3 @@ static const uint32 * const _bridge_poles_table[] = { _bridge_sprite_table_11_poles, _bridge_sprite_table_12_poles }; - - diff --git a/table/clear_land.h b/table/clear_land.h index 3d9f38485..e2d167faa 100644 --- a/table/clear_land.h +++ b/table/clear_land.h @@ -60,4 +60,3 @@ static const SpriteID _clear_land_sprites_3[8] = { 0x11B3, 0x11C6, }; - diff --git a/table/landscape_sprite.h b/table/landscape_sprite.h index 196fead50..abff2cc66 100644 --- a/table/landscape_sprite.h +++ b/table/landscape_sprite.h @@ -165,4 +165,3 @@ static const SpriteID _slopes_spriteindexes_3[] = { SPR_SLOPES_BASE, SPR_SLOPES_BASE+73, 0xffff, }; - diff --git a/table/sprites.h b/table/sprites.h index 600f29f93..f520f96a9 100644 --- a/table/sprites.h +++ b/table/sprites.h @@ -37,7 +37,7 @@ enum Sprites { - SPR_SELECT_TILE = 752, + SPR_SELECT_TILE = 752, SPR_DOT = 774, // corner marker for lower/raise land SPR_DOT_SMALL = 4078, SPR_WHITE_POINT = 4079, @@ -48,10 +48,10 @@ enum Sprites { SPR_ASCII_SPACE_BIG = 450, /* Extra graphic spritenumbers */ - SPR_CANALS_BASE = 5382, - SPR_SLOPES_BASE = SPR_CANALS_BASE + 70, - SPR_AUTORAIL_BASE = SPR_SLOPES_BASE + 78, - SPR_OPENTTD_BASE = SPR_AUTORAIL_BASE + 55, // can be lowered once autorail.grf is finalized + SPR_CANALS_BASE = 5382, + SPR_SLOPES_BASE = SPR_CANALS_BASE + 70, + SPR_AUTORAIL_BASE = SPR_SLOPES_BASE + 78, + SPR_OPENTTD_BASE = SPR_AUTORAIL_BASE + 55, // can be lowered once autorail.grf is finalized SPR_BLOT = SPR_OPENTTD_BASE + 32, // colored circle (mainly used as vehicle profit marker and for sever compatibility) @@ -87,7 +87,7 @@ enum Sprites { SPR_SHADOW_CELL = 1004, /* Sliced view shadow cells */ - /* Maybe we have differen ones in the future */ + /* Maybe we have different ones in the future */ SPR_MAX_SLICE = SPR_OPENTTD_BASE + 71, SPR_MIN_SLICE = SPR_OPENTTD_BASE + 71, @@ -133,11 +133,11 @@ enum Sprites { SPR_MGLV_SNOW_OFFSET = 26, SPR_RAIL_SINGLE_Y = 1005, - SPR_RAIL_SINGLE_X = 1006, - SPR_RAIL_SINGLE_NORTH = 1007, - SPR_RAIL_SINGLE_SOUTH = 1008, - SPR_RAIL_SINGLE_EAST = 1009, - SPR_RAIL_SINGLE_WEST = 1010, + SPR_RAIL_SINGLE_X = 1006, + SPR_RAIL_SINGLE_NORTH = 1007, + SPR_RAIL_SINGLE_SOUTH = 1008, + SPR_RAIL_SINGLE_EAST = 1009, + SPR_RAIL_SINGLE_WEST = 1010, SPR_RAIL_TRACK_Y = 1011, SPR_RAIL_TRACK_X = 1012, SPR_RAIL_TRACK_BASE = 1018, @@ -169,23 +169,23 @@ enum Sprites { SPR_RAIL_ROOF_GLASS_X_TILE_B = 1085, //second half of the roof glass SPR_RAIL_ROOF_GLASS_Y_TILE_B = 1086, SPR_MONO_SINGLE_Y = 1087, - SPR_MONO_SINGLE_X = 1088, - SPR_MONO_SINGLE_NORTH = 1089, - SPR_MONO_SINGLE_SOUTH = 1090, - SPR_MONO_SINGLE_EAST = 1091, - SPR_MONO_SINGLE_WEST = 1092, + SPR_MONO_SINGLE_X = 1088, + SPR_MONO_SINGLE_NORTH = 1089, + SPR_MONO_SINGLE_SOUTH = 1090, + SPR_MONO_SINGLE_EAST = 1091, + SPR_MONO_SINGLE_WEST = 1092, SPR_MONO_TRACK_Y = 1093, SPR_MONO_TRACK_BASE = 1100, - SPR_MONO_TRACK_N_S = 1117, + SPR_MONO_TRACK_N_S = 1117, SPR_MGLV_SINGLE_Y = 1169, - SPR_MGLV_SINGLE_X = 1170, - SPR_MGLV_SINGLE_NORTH = 1171, - SPR_MGLV_SINGLE_SOUTH = 1172, - SPR_MGLV_SINGLE_EAST = 1173, - SPR_MGLV_SINGLE_WEST = 1174, + SPR_MGLV_SINGLE_X = 1170, + SPR_MGLV_SINGLE_NORTH = 1171, + SPR_MGLV_SINGLE_SOUTH = 1172, + SPR_MGLV_SINGLE_EAST = 1173, + SPR_MGLV_SINGLE_WEST = 1174, SPR_MGLV_TRACK_Y = 1175, SPR_MGLV_TRACK_BASE = 1182, - SPR_MGLV_TRACK_N_S = 1199, + SPR_MGLV_TRACK_N_S = 1199, SPR_WAYPOINT_X_1 = SPR_OPENTTD_BASE + 18, SPR_WAYPOINT_X_2 = SPR_OPENTTD_BASE + 19, SPR_WAYPOINT_Y_1 = SPR_OPENTTD_BASE + 20, @@ -425,7 +425,7 @@ enum Sprites { SPR_CROSSING_OFF_X_MONO = 1382, SPR_CROSSING_OFF_X_MAGLEV = 1394, - /* bridge type sprites */ + /* bridge type sprites */ /* Wooden bridge (type 0) */ SPR_BTWDN_RAIL_Y_REAR = 2545, diff --git a/table/track_land.h b/table/track_land.h index 4a5a975bc..6c535bf69 100644 --- a/table/track_land.h +++ b/table/track_land.h @@ -62,4 +62,3 @@ static const DrawTrackSeqStruct* const _track_depot_layout_table[] = { _track_waypoint_table_0, _track_waypoint_table_1, }; - diff --git a/table/tree_land.h b/table/tree_land.h index 916ea5668..1dd1409d8 100644 --- a/table/tree_land.h +++ b/table/tree_land.h @@ -221,4 +221,3 @@ static const PalSpriteID _tree_layout_sprite[164+(79-48+1)][4] = { }; #endif /* TREE_LAND_H */ - |