OpenTTD Source 20250428-master-g68ba2735ea
signs_type.h File Reference

Types related to signs. More...

#include "core/pool_type.hpp"

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 16 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 20 of file signs_type.h.

Referenced by CmdPlaceSign(), and CmdRenameSign().