Changeset - r11182:3538f6e8d64e
[Not reviewed]
master
0 3 0
frosch - 16 years ago 2009-02-20 23:21:04
frosch@openttd.org
(svn r15534) -Codechange: Rename some variables.
3 files changed with 5 insertions and 6 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -224,13 +224,12 @@ CommandCost CmdBuildRoadVeh(TileIndex ti
 
		v->value = cost.GetCost();
 
//		v->day_counter = 0;
 
//		v->next_order_param = v->next_order = 0;
 
//		v->load_unload_time_rem = 0;
 
//		v->progress = 0;
 

	
 
//	v->u.road.unk2 = 0;
 
//	v->u.road.overtaking = 0;
 

	
 
		v->last_station_visited = INVALID_STATION;
 
		v->max_speed = rvi->max_speed;
 
		v->engine_type = (EngineID)p1;
 

	
src/table/water_land.h
Show inline comments
 
@@ -3,15 +3,15 @@
 
/** @file water_land.h Sprites to use and how to display them for water tiles (depots/shiplifts). */
 

	
 
struct WaterDrawTileStruct {
 
	byte delta_x;
 
	byte delta_y;
 
	byte delta_z;
 
	byte width;
 
	byte height;
 
	byte unk;
 
	byte size_x;
 
	byte size_y;
 
	byte size_z;
 
	SpriteID image;
 
};
 

	
 
#define BEGIN(image) { 0, 0, 0, 0, 0, 0, image }
 
#define END(y) { 0x80, y, 0, 0, 0, 0, 0 }
 

	
src/water_cmd.cpp
Show inline comments
 
@@ -563,14 +563,14 @@ static void DrawWaterStuff(const TileInf
 
	/* End now if buildings are invisible */
 
	if (IsInvisibilitySet(TO_BUILDINGS)) return;
 

	
 
	for (; wdts->delta_x != 0x80; wdts++) {
 
		AddSortableSpriteToDraw(wdts->image + base + ((wdts->image < 24) ? locks_base : 0), palette,
 
			ti->x + wdts->delta_x, ti->y + wdts->delta_y,
 
			wdts->width, wdts->height,
 
			wdts->unk, ti->z + wdts->delta_z,
 
			wdts->size_x, wdts->size_y,
 
			wdts->size_z, ti->z + wdts->delta_z,
 
			IsTransparencySet(TO_BUILDINGS));
 
	}
 
}
 

	
 
static void DrawRiverWater(const TileInfo *ti)
 
{
0 comments (0 inline, 0 general)