Changeset - r21001:187181592ea9
[Not reviewed]
master
0 2 0
rubidium - 11 years ago 2013-11-23 21:31:00
rubidium@openttd.org
(svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs
2 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -721,7 +721,7 @@ bool TarScanner::AddFile(const char *fil
 
	assert(tar_filename == NULL);
 

	
 
	/* The TAR-header, repeated for every file */
 
	typedef struct TarHeader {
 
	struct TarHeader {
 
		char name[100];      ///< Name of the file
 
		char mode[8];
 
		char uid[8];
 
@@ -740,7 +740,7 @@ bool TarScanner::AddFile(const char *fil
 
		char prefix[155];    ///< Path of the file
 

	
 
		char unused[12];
 
	} TarHeader;
 
	};
 

	
 
	/* Check if we already seen this file */
 
	TarList::iterator it = _tar_list[this->subdir].find(filename);
src/newgrf_house.cpp
Show inline comments
 
@@ -199,10 +199,10 @@ static uint32 GetNearbyTileInformation(b
 
}
 

	
 
/** Structure with user-data for SearchNearbyHouseXXX - functions */
 
typedef struct {
 
struct SearchNearbyHouseData {
 
	const HouseSpec *hs;  ///< Specs of the house that started the search.
 
	TileIndex north_tile; ///< Northern tile of the house.
 
} SearchNearbyHouseData;
 
};
 

	
 
/**
 
 * Callback function to search a house by its HouseID
0 comments (0 inline, 0 general)