OpenTTD Source 20241224-master-gee860a5c8e
CYapfNodeKeyExitDir Struct Reference

Yapf Node Key that evaluates hash from (and compares) tile & exit dir. More...

#include <yapf_node.hpp>

Inheritance diagram for CYapfNodeKeyExitDir:
CYapfNodeKeyTrackDir

Public Member Functions

void Set (TileIndex tile, Trackdir td)
 
int CalcHash () const
 
bool operator== (const CYapfNodeKeyExitDir &other) const
 
void Dump (DumpTarget &dmp) const
 

Data Fields

TileIndex tile
 
Trackdir td
 
DiagDirection exitdir
 

Detailed Description

Yapf Node Key that evaluates hash from (and compares) tile & exit dir.

Definition at line 17 of file yapf_node.hpp.

Member Function Documentation

◆ CalcHash()

int CYapfNodeKeyExitDir::CalcHash ( ) const
inline

Definition at line 29 of file yapf_node.hpp.

◆ Dump()

void CYapfNodeKeyExitDir::Dump ( DumpTarget dmp) const
inline

Definition at line 39 of file yapf_node.hpp.

◆ operator==()

bool CYapfNodeKeyExitDir::operator== ( const CYapfNodeKeyExitDir other) const
inline

Definition at line 34 of file yapf_node.hpp.

◆ Set()

void CYapfNodeKeyExitDir::Set ( TileIndex  tile,
Trackdir  td 
)
inline

Definition at line 22 of file yapf_node.hpp.

Field Documentation

◆ exitdir

DiagDirection CYapfNodeKeyExitDir::exitdir

Definition at line 20 of file yapf_node.hpp.

◆ td

Trackdir CYapfNodeKeyExitDir::td

Definition at line 19 of file yapf_node.hpp.

◆ tile

TileIndex CYapfNodeKeyExitDir::tile

Definition at line 18 of file yapf_node.hpp.


The documentation for this struct was generated from the following file: