diff --git a/src/misc/array.hpp b/src/misc/array.hpp index e6850d6651..3434ca21ff 100644 --- a/src/misc/array.hpp +++ b/src/misc/array.hpp @@ -9,8 +9,8 @@ /** @file array.hpp Array without an explicit maximum size. */ -#ifndef ARRAY_HPP -#define ARRAY_HPP +#ifndef ARRAY_HPP +#define ARRAY_HPP #include "fixedsizearray.hpp" #include "str.hpp" diff --git a/src/misc/binaryheap.hpp b/src/misc/binaryheap.hpp index f7aedfc0a4..c0aee7f2dc 100644 --- a/src/misc/binaryheap.hpp +++ b/src/misc/binaryheap.hpp @@ -9,8 +9,8 @@ /** @file binaryheap.hpp Binary heap implementation. */ -#ifndef BINARYHEAP_HPP -#define BINARYHEAP_HPP +#ifndef BINARYHEAP_HPP +#define BINARYHEAP_HPP #include "../core/alloc_func.hpp" diff --git a/src/misc/fixedsizearray.hpp b/src/misc/fixedsizearray.hpp index c849384381..c9e4ea59ac 100644 --- a/src/misc/fixedsizearray.hpp +++ b/src/misc/fixedsizearray.hpp @@ -9,8 +9,8 @@ /** @file fixedsizearray.hpp A fixed size array that doesn't create items until needed. */ -#ifndef FIXEDSIZEARRAY_HPP -#define FIXEDSIZEARRAY_HPP +#ifndef FIXEDSIZEARRAY_HPP +#define FIXEDSIZEARRAY_HPP #include "../core/alloc_func.hpp" diff --git a/src/misc/hashtable.hpp b/src/misc/hashtable.hpp index 9b1de9436b..46ef7ca478 100644 --- a/src/misc/hashtable.hpp +++ b/src/misc/hashtable.hpp @@ -9,8 +9,8 @@ /** @file hashtable.hpp Hash table support. */ -#ifndef HASHTABLE_HPP -#define HASHTABLE_HPP +#ifndef HASHTABLE_HPP +#define HASHTABLE_HPP #include "../core/math_func.hpp" diff --git a/src/misc/str.hpp b/src/misc/str.hpp index ad1d85f620..78e5ed9fee 100644 --- a/src/misc/str.hpp +++ b/src/misc/str.hpp @@ -9,8 +9,8 @@ /** @file str.hpp String formating? */ -#ifndef STR_HPP -#define STR_HPP +#ifndef STR_HPP +#define STR_HPP #include #include diff --git a/src/pathfinder/pf_performance_timer.hpp b/src/pathfinder/pf_performance_timer.hpp index a7b3fda5ea..0f55575322 100644 --- a/src/pathfinder/pf_performance_timer.hpp +++ b/src/pathfinder/pf_performance_timer.hpp @@ -9,8 +9,8 @@ /** @file pf_performance_timer.hpp Performance timer for pathfinders. */ -#ifndef PF_PERFORMANCE_TIMER_HPP -#define PF_PERFORMANCE_TIMER_HPP +#ifndef PF_PERFORMANCE_TIMER_HPP +#define PF_PERFORMANCE_TIMER_HPP extern uint64 ottd_rdtsc(); diff --git a/src/pathfinder/yapf/nodelist.hpp b/src/pathfinder/yapf/nodelist.hpp index a6e5c2b501..6a197f98da 100644 --- a/src/pathfinder/yapf/nodelist.hpp +++ b/src/pathfinder/yapf/nodelist.hpp @@ -9,8 +9,8 @@ /** @file nodelist.hpp List of nodes used for the A-star pathfinder. */ -#ifndef NODELIST_HPP -#define NODELIST_HPP +#ifndef NODELIST_HPP +#define NODELIST_HPP #include "../../misc/array.hpp" #include "../../misc/hashtable.hpp" diff --git a/src/pathfinder/yapf/yapf.h b/src/pathfinder/yapf/yapf.h index c5cb5d7f60..37b3bf41ef 100644 --- a/src/pathfinder/yapf/yapf.h +++ b/src/pathfinder/yapf/yapf.h @@ -9,8 +9,8 @@ /** @file yapf.h Entry point for OpenTTD to YAPF. */ -#ifndef YAPF_H -#define YAPF_H +#ifndef YAPF_H +#define YAPF_H #include "../../direction_type.h" #include "../../track_type.h" diff --git a/src/pathfinder/yapf/yapf.hpp b/src/pathfinder/yapf/yapf.hpp index 8e8fb9a475..d3aa534383 100644 --- a/src/pathfinder/yapf/yapf.hpp +++ b/src/pathfinder/yapf/yapf.hpp @@ -9,8 +9,8 @@ /** @file yapf.hpp Base includes/functions for YAPF. */ -#ifndef YAPF_HPP -#define YAPF_HPP +#ifndef YAPF_HPP +#define YAPF_HPP #include "../../landscape.h" #include "../pathfinder_func.h" diff --git a/src/pathfinder/yapf/yapf_base.hpp b/src/pathfinder/yapf/yapf_base.hpp index d3450b58c9..8c0be560b5 100644 --- a/src/pathfinder/yapf/yapf_base.hpp +++ b/src/pathfinder/yapf/yapf_base.hpp @@ -9,8 +9,8 @@ /** @file yapf_base.hpp Base classes for YAPF. */ -#ifndef YAPF_BASE_HPP -#define YAPF_BASE_HPP +#ifndef YAPF_BASE_HPP +#define YAPF_BASE_HPP #include "../../debug.h" #include "../../settings_type.h" diff --git a/src/pathfinder/yapf/yapf_cache.h b/src/pathfinder/yapf/yapf_cache.h index ba342f0115..1660a21c02 100644 --- a/src/pathfinder/yapf/yapf_cache.h +++ b/src/pathfinder/yapf/yapf_cache.h @@ -9,8 +9,8 @@ /** @file yapf_cache.h Entry point for OpenTTD to YAPF's cache. */ -#ifndef YAPF_CACHE_H -#define YAPF_CACHE_H +#ifndef YAPF_CACHE_H +#define YAPF_CACHE_H #include "../../track_type.h" diff --git a/src/pathfinder/yapf/yapf_common.hpp b/src/pathfinder/yapf/yapf_common.hpp index 6add0b1324..12bca905a1 100644 --- a/src/pathfinder/yapf/yapf_common.hpp +++ b/src/pathfinder/yapf/yapf_common.hpp @@ -9,8 +9,8 @@ /** @file yapf_common.hpp Commonly used classes for YAPF. */ -#ifndef YAPF_COMMON_HPP -#define YAPF_COMMON_HPP +#ifndef YAPF_COMMON_HPP +#define YAPF_COMMON_HPP /** YAPF origin provider base class - used when origin is one tile / multiple trackdirs */ template diff --git a/src/pathfinder/yapf/yapf_costbase.hpp b/src/pathfinder/yapf/yapf_costbase.hpp index 39424dc10f..29d6c85c26 100644 --- a/src/pathfinder/yapf/yapf_costbase.hpp +++ b/src/pathfinder/yapf/yapf_costbase.hpp @@ -9,8 +9,8 @@ /** @file yapf_costbase.hpp Handling of cost determination. */ -#ifndef YAPF_COSTBASE_HPP -#define YAPF_COSTBASE_HPP +#ifndef YAPF_COSTBASE_HPP +#define YAPF_COSTBASE_HPP struct CYapfCostBase { FORCEINLINE static bool stSlopeCost(TileIndex tile, Trackdir td) diff --git a/src/pathfinder/yapf/yapf_costcache.hpp b/src/pathfinder/yapf/yapf_costcache.hpp index 7e5354d953..ee4cee25cf 100644 --- a/src/pathfinder/yapf/yapf_costcache.hpp +++ b/src/pathfinder/yapf/yapf_costcache.hpp @@ -9,8 +9,8 @@ /** @file yapf_costcache.hpp Caching of segment costs. */ -#ifndef YAPF_COSTCACHE_HPP -#define YAPF_COSTCACHE_HPP +#ifndef YAPF_COSTCACHE_HPP +#define YAPF_COSTCACHE_HPP #include "../../date_func.h" diff --git a/src/pathfinder/yapf/yapf_costrail.hpp b/src/pathfinder/yapf/yapf_costrail.hpp index 4b965f2e08..5d00adddbe 100644 --- a/src/pathfinder/yapf/yapf_costrail.hpp +++ b/src/pathfinder/yapf/yapf_costrail.hpp @@ -9,8 +9,8 @@ /** @file yapf_costrail.hpp Cost determination for rails. */ -#ifndef YAPF_COSTRAIL_HPP -#define YAPF_COSTRAIL_HPP +#ifndef YAPF_COSTRAIL_HPP +#define YAPF_COSTRAIL_HPP #include "../../pbs.h" diff --git a/src/pathfinder/yapf/yapf_destrail.hpp b/src/pathfinder/yapf/yapf_destrail.hpp index 605ee7a50e..45e4254354 100644 --- a/src/pathfinder/yapf/yapf_destrail.hpp +++ b/src/pathfinder/yapf/yapf_destrail.hpp @@ -9,8 +9,8 @@ /** @file yapf_destrail.hpp Determining the destination for rail vehicles. */ -#ifndef YAPF_DESTRAIL_HPP -#define YAPF_DESTRAIL_HPP +#ifndef YAPF_DESTRAIL_HPP +#define YAPF_DESTRAIL_HPP class CYapfDestinationRailBase { diff --git a/src/pathfinder/yapf/yapf_node.hpp b/src/pathfinder/yapf/yapf_node.hpp index 47312e27ff..0ed3748e57 100644 --- a/src/pathfinder/yapf/yapf_node.hpp +++ b/src/pathfinder/yapf/yapf_node.hpp @@ -9,8 +9,8 @@ /** @file yapf_node.hpp Node in the pathfinder's graph. */ -#ifndef YAPF_NODE_HPP -#define YAPF_NODE_HPP +#ifndef YAPF_NODE_HPP +#define YAPF_NODE_HPP /** Yapf Node Key that evaluates hash from (and compares) tile & exit dir. */ struct CYapfNodeKeyExitDir { diff --git a/src/pathfinder/yapf/yapf_node_rail.hpp b/src/pathfinder/yapf/yapf_node_rail.hpp index fa92706c6a..31149ec7c4 100644 --- a/src/pathfinder/yapf/yapf_node_rail.hpp +++ b/src/pathfinder/yapf/yapf_node_rail.hpp @@ -9,8 +9,8 @@ /** @file yapf_node_rail.hpp Node tailored for rail pathfinding. */ -#ifndef YAPF_NODE_RAIL_HPP -#define YAPF_NODE_RAIL_HPP +#ifndef YAPF_NODE_RAIL_HPP +#define YAPF_NODE_RAIL_HPP /** key for cached segment cost for rail YAPF */ struct CYapfRailSegmentKey diff --git a/src/pathfinder/yapf/yapf_node_road.hpp b/src/pathfinder/yapf/yapf_node_road.hpp index c84755b5f8..d93ece9ec3 100644 --- a/src/pathfinder/yapf/yapf_node_road.hpp +++ b/src/pathfinder/yapf/yapf_node_road.hpp @@ -9,8 +9,8 @@ /** @file yapf_node_road.hpp Node tailored for road pathfinding. */ -#ifndef YAPF_NODE_ROAD_HPP -#define YAPF_NODE_ROAD_HPP +#ifndef YAPF_NODE_ROAD_HPP +#define YAPF_NODE_ROAD_HPP /** Yapf Node for road YAPF */ template