OpenTTD Source: src/house_type.h File Reference

OpenTTD Source 15.0-RC2

Typedefs | Enumerations
house_type.h File Reference

declaration of basic house types and enums More...

`#include "core/enum_type.hpp"`

Go to the source code of this file.

## Typedefs
typedef uint16_t | HouseID
| OpenTTD ID of house types.
typedef uint16_t | HouseClassID
| Classes of houses.
using | HouseRandomTriggers = EnumBitSet< HouseRandomTrigger, uint8_t >

## Enumerations
enum class | HouseRandomTrigger : uint8_t { TileLoop , TileLoopNorth }
| Randomisation triggers for houses. More...

## Detailed Description

declaration of basic house types and enums

Definition in file house_type.h.

## Typedef Documentation

## ◆ HouseClassID

typedef uint16_t HouseClassID

Classes of houses.

Definition at line 16 of file house_type.h.

## ◆ HouseID

typedef uint16_t HouseID

OpenTTD ID of house types.

Definition at line 15 of file house_type.h.

## ◆ HouseRandomTriggers

using HouseRandomTriggers = EnumBitSet<HouseRandomTrigger, uint8_t>

Definition at line 30 of file house_type.h.

## Enumeration Type Documentation

## ◆ HouseRandomTrigger

enum class HouseRandomTrigger : uint8_t
| strong

Randomisation triggers for houses.

Definition at line 21 of file house_type.h.