mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-05 22:04:57 +00:00
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
This commit is contained in:
parent
f65a9a5515
commit
67cd2cd6be
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
/** @file str.hpp String formating? */
|
||||
|
||||
#ifndef STR_HPP
|
||||
#define STR_HPP
|
||||
#ifndef STR_HPP
|
||||
#define STR_HPP
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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 <class Types>
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 <class Tkey_>
|
||||
|
Loading…
Reference in New Issue
Block a user