mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
This commit is contained in:
@@ -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_>
|
||||
|
Reference in New Issue
Block a user