OpenTTD Source 20241224-master-gf74b0cf984
signs_type.h File Reference

Types related to signs. More...

Go to the source code of this file.

Typedefs

typedef uint16_t SignID
 The type of the IDs of signs.
 

Variables

static const SignID INVALID_SIGN = 0xFFFF
 Sentinel for an invalid sign.
 
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

typedef uint16_t SignID

The type of the IDs of signs.

Definition at line 14 of file signs_type.h.

Variable Documentation

◆ INVALID_SIGN

const SignID INVALID_SIGN = 0xFFFF
static

Sentinel for an invalid sign.

Definition at line 17 of file signs_type.h.

Referenced by CmdPlaceSign().

◆ 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 19 of file signs_type.h.

Referenced by CmdPlaceSign(), and CmdRenameSign().