OpenTTD Source 20250312-master-gcdcc6b491d
signs_type.h File Reference

Types related to signs. More...

Go to the source code of this file.

Typedefs

using SignID = PoolID< uint16_t, struct SignIDTag, 64000, 0xFFFF >
 The type of the IDs of signs.
 

Variables

static const uint MAX_LENGTH_SIGN_NAME_CHARS = 32
 The maximum length of a sign name in characters including '\0'.
 

Detailed Description

Types related to signs.

Definition in file signs_type.h.

Typedef Documentation

◆ SignID

using SignID = PoolID<uint16_t, struct SignIDTag, 64000, 0xFFFF>

The type of the IDs of signs.

Definition at line 14 of file signs_type.h.

Variable Documentation

◆ MAX_LENGTH_SIGN_NAME_CHARS

const uint MAX_LENGTH_SIGN_NAME_CHARS = 32
static

The maximum length of a sign name in characters including '\0'.

Definition at line 18 of file signs_type.h.

Referenced by CmdPlaceSign(), and CmdRenameSign().