Changeset - r8263:00e828e1ab1f
[Not reviewed]
master
0 7 0
rubidium - 16 years ago 2008-01-13 00:28:01
rubidium@openttd.org
(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.
7 files changed with 9 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/fileio.h
Show inline comments
 
@@ -7,6 +7,7 @@
 

	
 
#include <map>
 
#include <string>
 
#include "core/enum_type.hpp"
 

	
 
void FioSeekTo(uint32 pos, int mode);
 
void FioSeekToFile(uint8 slot, uint32 pos);
src/openttd.h
Show inline comments
 
@@ -8,7 +8,6 @@
 
#define VARDEF extern
 
#endif
 

	
 
#include "core/enum_type.hpp"
 
#include "strings_type.h"
 

	
 
// Forward declarations of structs.
 
@@ -95,10 +94,6 @@ enum TransportType {
 
	INVALID_TRANSPORT = 0xff,
 
};
 

	
 
/** Define basic enum properties */
 
template <> struct EnumPropsT<TransportType> : MakeEnumPropsT<TransportType, byte, TRANSPORT_BEGIN, TRANSPORT_END, INVALID_TRANSPORT> {};
 
typedef TinyEnumT<TransportType> TransportTypeByte;
 

	
 
/* Display Options */
 
enum {
 
	DO_SHOW_TOWN_NAMES    = 0,
src/pathfind.h
Show inline comments
 
@@ -55,7 +55,7 @@ struct TrackPathFinder {
 

	
 
	TrackdirByte the_dir;
 

	
 
	TransportTypeByte tracktype;
 
	TransportType tracktype;
 
	uint sub_type;
 

	
 
	byte var2;
src/player_type.h
Show inline comments
 
@@ -5,6 +5,8 @@
 
#ifndef PLAYER_TYPE_H
 
#define PLAYER_TYPE_H
 

	
 
#include "core/enum_type.hpp"
 

	
 
/**
 
 * Enum for all players/owners.
 
 */
src/rail_type.h
Show inline comments
 
@@ -5,6 +5,8 @@
 
#ifndef RAIL_TYPE_H
 
#define RAIL_TYPE_H
 

	
 
#include "core/enum_type.hpp"
 

	
 
/**
 
 * Enumeration for all possible railtypes.
 
 *
src/table/namegen.h
Show inline comments
 
@@ -3,7 +3,7 @@
 
/** @file table/namegen.h Namepart tables for the town name generator */
 

	
 
#include "../stdafx.h"
 
#include "../openttd.h"
 
#include "../core/enum_type.hpp"
 

	
 
static const char *name_original_english_1[] = {
 
	"Great ",
src/track_type.h
Show inline comments
 
@@ -5,6 +5,8 @@
 
#ifndef TRACK_TYPE_H
 
#define TRACK_TYPE_H
 

	
 
#include "core/enum_type.hpp"
 

	
 
/**
 
 * These are used to specify a single track.
 
 * Can be translated to a trackbit with TrackToTrackbit
0 comments (0 inline, 0 general)