OpenEnroth 4aaa0a0
Loading...
Searching...
No Matches
Functions
TileEnumFunctions.h File Reference
#include <span>
#include <cassert>
#include "TileEnums.h"
#include "Media/Audio/SoundEnums.h"
#include "Library/Geometry/Point.h"
#include "Utility/Segment.h"

Functions

Segment< TileVariantallSpecialTileVariants ()
 
Segment< TileVariantallTransitionTileVariants ()
 
Segment< TileVariantallGeneratedTileVariants ()
 
Directions transitionDirectionsForTileVariant (TileVariant tileVariant)
 
bool isRoad (Tileset tileset)
 
bool isTerrain (Tileset tileset)
 
Segment< TilesetallTerrainTilesets ()
 
SoundId walkSoundForTileset (Tileset tileset, bool isRunning)
 
int foodRequiredForTileset (Tileset tileset)
 
std::span< const DirectionallDirections ()
 
Pointi offsetForDirection (Direction direction)
 
TileVariant tileVariantForTransitionDirections (Directions directions)
 

Function Documentation

◆ allDirections()

std::span< const Direction > allDirections ( )
inline

◆ allGeneratedTileVariants()

Segment< TileVariant > allGeneratedTileVariants ( )
inline

◆ allSpecialTileVariants()

Segment< TileVariant > allSpecialTileVariants ( )
inline

◆ allTerrainTilesets()

Segment< Tileset > allTerrainTilesets ( )
inline

◆ allTransitionTileVariants()

Segment< TileVariant > allTransitionTileVariants ( )
inline

◆ foodRequiredForTileset()

int foodRequiredForTileset ( Tileset  tileset)

◆ isRoad()

bool isRoad ( Tileset  tileset)
inline

◆ isTerrain()

bool isTerrain ( Tileset  tileset)
inline

◆ offsetForDirection()

Pointi offsetForDirection ( Direction  direction)
inline

◆ tileVariantForTransitionDirections()

TileVariant tileVariantForTransitionDirections ( Directions  directions)

◆ transitionDirectionsForTileVariant()

Directions transitionDirectionsForTileVariant ( TileVariant  tileVariant)

◆ walkSoundForTileset()

SoundId walkSoundForTileset ( Tileset  tileset,
bool  isRunning 
)
Parameters
tilesetTileset to get walk/run sound for.
isRunningRun flag.
Returns
Sound id to use.
Original binary offset:
0x47EE49