Files @ r12308:95187fb621c3
Branch filter:

Location: cpp/openttd-patchpack/source/src/signs_type.h

rubidium
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
/* $Id$ */

/** @file signs_type.h Types related to signs */

#ifndef SIGNS_TYPE_H
#define SIGNS_TYPE_H

typedef uint16 SignID;
struct Sign;

enum {
	INVALID_SIGN = 0xFFFF,

	MAX_LENGTH_SIGN_NAME_BYTES  =  31, ///< The maximum length of a sign name in bytes including '\0'
	MAX_LENGTH_SIGN_NAME_PIXELS = 255, ///< The maximum length of a sign name in pixels
};

#endif /* SIGNS_TYPE_H */