Changeset - r3362:753e978d188b
[Not reviewed]
master
0 4 0
belugas - 19 years ago 2006-03-29 20:35:39
belugas@openttd.org
(svn r4157) CodeChange : Keep on cleaning up Celestar's elrail merge
4 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
os_timer.c
Show inline comments
 
@@ -8,7 +8,7 @@
 
# if defined (_M_AMD64)
 
extern uint64 _rdtsc(void);
 
#	else
 
uint64 _declspec(naked) _rdtsc(void) 
 
uint64 _declspec(naked) _rdtsc(void)
 
{
 
	_asm {
 
		rdtsc
road_cmd.c
Show inline comments
 
@@ -787,7 +787,7 @@ static void DrawTile_Road(TileInfo *ti)
 
			}
 

	
 
			DrawGroundSprite(image);
 
			if (GB(_m[ti->tile].m4, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
 
			if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
 
			break;
 
		}
 

	
station_cmd.c
Show inline comments
 
@@ -1959,7 +1959,7 @@ static void DrawTile_Station(TileInfo *t
 
	// but this is something else. If AI builds station with 114 it looks all weird
 
	DrawGroundSprite(image);
 

	
 
	if (GB(_m[ti->tile].m3, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
 
	if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
 

	
 
	foreach_draw_tile_seq(dtss, t->seq) {
 
		image = dtss->image + relocation;
tunnelbridge_cmd.c
Show inline comments
 
@@ -974,7 +974,7 @@ static void DrawTile_TunnelBridge(TileIn
 
				DrawGroundSprite(SPR_FLAT_SNOWY_TILE + _tileh_to_sprite[ti->tileh]);
 
			}
 

	
 
			if (GB(_m[ti->tile].m3, 0, 3) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
 
			if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
 

	
 
			// draw ramp
 
			if (_display_opt & DO_TRANS_BUILDINGS) MAKE_TRANSPARENT(image);
0 comments (0 inline, 0 general)