(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.

This commit is contained in:
alberth 2010-12-22 11:24:38 +00:00
parent f65a9a5515
commit 67cd2cd6be
19 changed files with 38 additions and 38 deletions

View File

@ -9,8 +9,8 @@
/** @file array.hpp Array without an explicit maximum size. */ /** @file array.hpp Array without an explicit maximum size. */
#ifndef ARRAY_HPP #ifndef ARRAY_HPP
#define ARRAY_HPP #define ARRAY_HPP
#include "fixedsizearray.hpp" #include "fixedsizearray.hpp"
#include "str.hpp" #include "str.hpp"

View File

@ -9,8 +9,8 @@
/** @file binaryheap.hpp Binary heap implementation. */ /** @file binaryheap.hpp Binary heap implementation. */
#ifndef BINARYHEAP_HPP #ifndef BINARYHEAP_HPP
#define BINARYHEAP_HPP #define BINARYHEAP_HPP
#include "../core/alloc_func.hpp" #include "../core/alloc_func.hpp"

View File

@ -9,8 +9,8 @@
/** @file fixedsizearray.hpp A fixed size array that doesn't create items until needed. */ /** @file fixedsizearray.hpp A fixed size array that doesn't create items until needed. */
#ifndef FIXEDSIZEARRAY_HPP #ifndef FIXEDSIZEARRAY_HPP
#define FIXEDSIZEARRAY_HPP #define FIXEDSIZEARRAY_HPP
#include "../core/alloc_func.hpp" #include "../core/alloc_func.hpp"

View File

@ -9,8 +9,8 @@
/** @file hashtable.hpp Hash table support. */ /** @file hashtable.hpp Hash table support. */
#ifndef HASHTABLE_HPP #ifndef HASHTABLE_HPP
#define HASHTABLE_HPP #define HASHTABLE_HPP
#include "../core/math_func.hpp" #include "../core/math_func.hpp"

View File

@ -9,8 +9,8 @@
/** @file str.hpp String formating? */ /** @file str.hpp String formating? */
#ifndef STR_HPP #ifndef STR_HPP
#define STR_HPP #define STR_HPP
#include <errno.h> #include <errno.h>
#include <stdarg.h> #include <stdarg.h>

View File

@ -9,8 +9,8 @@
/** @file pf_performance_timer.hpp Performance timer for pathfinders. */ /** @file pf_performance_timer.hpp Performance timer for pathfinders. */
#ifndef PF_PERFORMANCE_TIMER_HPP #ifndef PF_PERFORMANCE_TIMER_HPP
#define PF_PERFORMANCE_TIMER_HPP #define PF_PERFORMANCE_TIMER_HPP
extern uint64 ottd_rdtsc(); extern uint64 ottd_rdtsc();

View File

@ -9,8 +9,8 @@
/** @file nodelist.hpp List of nodes used for the A-star pathfinder. */ /** @file nodelist.hpp List of nodes used for the A-star pathfinder. */
#ifndef NODELIST_HPP #ifndef NODELIST_HPP
#define NODELIST_HPP #define NODELIST_HPP
#include "../../misc/array.hpp" #include "../../misc/array.hpp"
#include "../../misc/hashtable.hpp" #include "../../misc/hashtable.hpp"

View File

@ -9,8 +9,8 @@
/** @file yapf.h Entry point for OpenTTD to YAPF. */ /** @file yapf.h Entry point for OpenTTD to YAPF. */
#ifndef YAPF_H #ifndef YAPF_H
#define YAPF_H #define YAPF_H
#include "../../direction_type.h" #include "../../direction_type.h"
#include "../../track_type.h" #include "../../track_type.h"

View File

@ -9,8 +9,8 @@
/** @file yapf.hpp Base includes/functions for YAPF. */ /** @file yapf.hpp Base includes/functions for YAPF. */
#ifndef YAPF_HPP #ifndef YAPF_HPP
#define YAPF_HPP #define YAPF_HPP
#include "../../landscape.h" #include "../../landscape.h"
#include "../pathfinder_func.h" #include "../pathfinder_func.h"

View File

@ -9,8 +9,8 @@
/** @file yapf_base.hpp Base classes for YAPF. */ /** @file yapf_base.hpp Base classes for YAPF. */
#ifndef YAPF_BASE_HPP #ifndef YAPF_BASE_HPP
#define YAPF_BASE_HPP #define YAPF_BASE_HPP
#include "../../debug.h" #include "../../debug.h"
#include "../../settings_type.h" #include "../../settings_type.h"

View File

@ -9,8 +9,8 @@
/** @file yapf_cache.h Entry point for OpenTTD to YAPF's cache. */ /** @file yapf_cache.h Entry point for OpenTTD to YAPF's cache. */
#ifndef YAPF_CACHE_H #ifndef YAPF_CACHE_H
#define YAPF_CACHE_H #define YAPF_CACHE_H
#include "../../track_type.h" #include "../../track_type.h"

View File

@ -9,8 +9,8 @@
/** @file yapf_common.hpp Commonly used classes for YAPF. */ /** @file yapf_common.hpp Commonly used classes for YAPF. */
#ifndef YAPF_COMMON_HPP #ifndef YAPF_COMMON_HPP
#define YAPF_COMMON_HPP #define YAPF_COMMON_HPP
/** YAPF origin provider base class - used when origin is one tile / multiple trackdirs */ /** YAPF origin provider base class - used when origin is one tile / multiple trackdirs */
template <class Types> template <class Types>

View File

@ -9,8 +9,8 @@
/** @file yapf_costbase.hpp Handling of cost determination. */ /** @file yapf_costbase.hpp Handling of cost determination. */
#ifndef YAPF_COSTBASE_HPP #ifndef YAPF_COSTBASE_HPP
#define YAPF_COSTBASE_HPP #define YAPF_COSTBASE_HPP
struct CYapfCostBase { struct CYapfCostBase {
FORCEINLINE static bool stSlopeCost(TileIndex tile, Trackdir td) FORCEINLINE static bool stSlopeCost(TileIndex tile, Trackdir td)

View File

@ -9,8 +9,8 @@
/** @file yapf_costcache.hpp Caching of segment costs. */ /** @file yapf_costcache.hpp Caching of segment costs. */
#ifndef YAPF_COSTCACHE_HPP #ifndef YAPF_COSTCACHE_HPP
#define YAPF_COSTCACHE_HPP #define YAPF_COSTCACHE_HPP
#include "../../date_func.h" #include "../../date_func.h"

View File

@ -9,8 +9,8 @@
/** @file yapf_costrail.hpp Cost determination for rails. */ /** @file yapf_costrail.hpp Cost determination for rails. */
#ifndef YAPF_COSTRAIL_HPP #ifndef YAPF_COSTRAIL_HPP
#define YAPF_COSTRAIL_HPP #define YAPF_COSTRAIL_HPP
#include "../../pbs.h" #include "../../pbs.h"

View File

@ -9,8 +9,8 @@
/** @file yapf_destrail.hpp Determining the destination for rail vehicles. */ /** @file yapf_destrail.hpp Determining the destination for rail vehicles. */
#ifndef YAPF_DESTRAIL_HPP #ifndef YAPF_DESTRAIL_HPP
#define YAPF_DESTRAIL_HPP #define YAPF_DESTRAIL_HPP
class CYapfDestinationRailBase class CYapfDestinationRailBase
{ {

View File

@ -9,8 +9,8 @@
/** @file yapf_node.hpp Node in the pathfinder's graph. */ /** @file yapf_node.hpp Node in the pathfinder's graph. */
#ifndef YAPF_NODE_HPP #ifndef YAPF_NODE_HPP
#define YAPF_NODE_HPP #define YAPF_NODE_HPP
/** Yapf Node Key that evaluates hash from (and compares) tile & exit dir. */ /** Yapf Node Key that evaluates hash from (and compares) tile & exit dir. */
struct CYapfNodeKeyExitDir { struct CYapfNodeKeyExitDir {

View File

@ -9,8 +9,8 @@
/** @file yapf_node_rail.hpp Node tailored for rail pathfinding. */ /** @file yapf_node_rail.hpp Node tailored for rail pathfinding. */
#ifndef YAPF_NODE_RAIL_HPP #ifndef YAPF_NODE_RAIL_HPP
#define YAPF_NODE_RAIL_HPP #define YAPF_NODE_RAIL_HPP
/** key for cached segment cost for rail YAPF */ /** key for cached segment cost for rail YAPF */
struct CYapfRailSegmentKey struct CYapfRailSegmentKey

View File

@ -9,8 +9,8 @@
/** @file yapf_node_road.hpp Node tailored for road pathfinding. */ /** @file yapf_node_road.hpp Node tailored for road pathfinding. */
#ifndef YAPF_NODE_ROAD_HPP #ifndef YAPF_NODE_ROAD_HPP
#define YAPF_NODE_ROAD_HPP #define YAPF_NODE_ROAD_HPP
/** Yapf Node for road YAPF */ /** Yapf Node for road YAPF */
template <class Tkey_> template <class Tkey_>