OpenTTD Source  14.0-beta3
queue.h File Reference
#include "../../tile_type.h"
#include "../../track_type.h"

Go to the source code of this file.

Data Structures

struct  BinaryHeapNode
 
struct  BinaryHeap
 Binary Heap. More...
 
struct  HashNode
 
struct  Hash
 

Typedefs

typedef uint Hash_HashProc(TileIndex tile, Trackdir dir)
 Generates a hash code from the given key pair. More...
 

Detailed Description

Binary heap implementation, hash implementation.

Definition in file queue.h.

Typedef Documentation

◆ Hash_HashProc

typedef uint Hash_HashProc(TileIndex tile, Trackdir dir)

Generates a hash code from the given key pair.

You should make sure that the resulting range is clearly defined.

Definition at line 73 of file queue.h.