Mercurial > hg > openttd
changeset 16861:4258db6a6875 draft
(svn r21595) -Codechange: Some header files had their name changed, update the ifndef/define/endif lines.
author | alberth <alberth@openttd.org> |
---|---|
date | Wed, 22 Dec 2010 11:46:41 +0000 |
parents | 0a1350c48df0 |
children | b36044db5a61 |
files | src/ai/ai_info.hpp src/animated_tile_func.h src/engine_func.h src/network/core/address.h src/network/core/core.h src/network/core/tcp_content.h src/script/script_info.hpp src/waypoint_base.h |
diffstat | 8 files changed, 24 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ai/ai_info.hpp +++ b/src/ai/ai_info.hpp @@ -9,8 +9,8 @@ /** @file ai_info.hpp AIInfo keeps track of all information of an AI, like Author, Description, ... */ -#ifndef AI_INFO -#define AI_INFO +#ifndef AI_INFO_HPP +#define AI_INFO_HPP #ifdef ENABLE_AI @@ -158,4 +158,4 @@ }; #endif /* ENABLE_AI */ -#endif /* AI_INFO */ +#endif /* AI_INFO_HPP */
--- a/src/animated_tile_func.h +++ b/src/animated_tile_func.h @@ -9,8 +9,8 @@ /** @file animated_tile_func.h Tile animation! */ -#ifndef ANIMATED_TILE_H -#define ANIMATED_TILE_H +#ifndef ANIMATED_TILE_FUNC_H +#define ANIMATED_TILE_FUNC_H #include "tile_type.h" @@ -19,4 +19,4 @@ void AnimateAnimatedTiles(); void InitializeAnimatedTiles(); -#endif /* ANIMATED_TILE_H */ +#endif /* ANIMATED_TILE_FUNC_H */
--- a/src/engine_func.h +++ b/src/engine_func.h @@ -9,8 +9,8 @@ /** @file engine_func.h Functions related to engines. */ -#ifndef ENGINE_H -#define ENGINE_H +#ifndef ENGINE_FUNC_H +#define ENGINE_FUNC_H #include "engine_type.h" #include "vehicle_type.h" @@ -31,4 +31,4 @@ uint GetTotalCapacityOfArticulatedParts(EngineID engine); -#endif /* ENGINE_H */ +#endif /* ENGINE_FUNC_H */
--- a/src/network/core/address.h +++ b/src/network/core/address.h @@ -9,8 +9,8 @@ /** @file core/address.h Wrapper for network addresses. */ -#ifndef NETWORK_ADDRESS_H -#define NETWORK_ADDRESS_H +#ifndef NETWORK_CORE_ADDRESS_H +#define NETWORK_CORE_ADDRESS_H #include "os_abstraction.h" #include "config.h" @@ -264,4 +264,4 @@ }; #endif /* ENABLE_NETWORK */ -#endif /* NETWORK_ADDRESS_H */ +#endif /* NETWORK_CORE_ADDRESS_H */
--- a/src/network/core/core.h +++ b/src/network/core/core.h @@ -11,8 +11,8 @@ * @file core.h Base for all network types (UDP and TCP) */ -#ifndef NETWORK_CORE_H -#define NETWORK_CORE_H +#ifndef NETWORK_CORE_CORE_H +#define NETWORK_CORE_CORE_H #include "../../newgrf_config.h" #include "config.h" @@ -82,4 +82,4 @@ #endif /* ENABLE_NETWORK */ -#endif /* NETWORK_CORE_H */ +#endif /* NETWORK_CORE_CORE_H */
--- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -11,8 +11,8 @@ * @file tcp_content.h Basic functions to receive and send TCP packets to/from the content server. */ -#ifndef NETWORK_CORE_CONTENT_H -#define NETWORK_CORE_CONTENT_H +#ifndef NETWORK_CORE_TCP_CONTENT_H +#define NETWORK_CORE_TCP_CONTENT_H #include "os_abstraction.h" #include "tcp.h" @@ -215,4 +215,4 @@ #endif /* ENABLE_NETWORK */ -#endif /* NETWORK_CORE_CONTENT_H */ +#endif /* NETWORK_CORE_TCP_CONTENT_H */
--- a/src/script/script_info.hpp +++ b/src/script/script_info.hpp @@ -9,8 +9,8 @@ /** @file script_info.hpp ScriptInfo keeps track of all information of a script, like Author, Description, ... */ -#ifndef SCRIPT_INFO -#define SCRIPT_INFO +#ifndef SCRIPT_INFO_HPP +#define SCRIPT_INFO_HPP #include <squirrel.h> #include "../misc/countedptr.hpp" @@ -101,4 +101,4 @@ const char *url; }; -#endif /* SCRIPT_INFO */ +#endif /* SCRIPT_INFO_HPP */
--- a/src/waypoint_base.h +++ b/src/waypoint_base.h @@ -9,8 +9,8 @@ /** @file waypoint_base.h Base of waypoints. */ -#ifndef WAYPOINT_H -#define WAYPOINT_H +#ifndef WAYPOINT_BASE_H +#define WAYPOINT_BASE_H #include "base_station_base.h" @@ -64,4 +64,4 @@ #define FOR_ALL_WAYPOINTS(var) FOR_ALL_BASE_STATIONS_OF_TYPE(Waypoint, var) -#endif /* WAYPOINT_H */ +#endif /* WAYPOINT_BASE_H */