view src/group_type.h @ 12645:b9f1e5ce4831 draft

(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
author rubidium <rubidium@openttd.org>
date Thu, 06 Aug 2009 22:00:32 +0000
parents a1cc2bf90049
children bc7926153e19
line wrap: on
line source

/* $Id$ */

/** @file group_type.h Types of a group. */

#ifndef GROUP_TYPE_H
#define GROUP_TYPE_H

typedef uint16 GroupID;

enum {
	ALL_GROUP     = 0xFFFD,
	DEFAULT_GROUP = 0xFFFE, ///< ungrouped vehicles are in this group.
	INVALID_GROUP = 0xFFFF,

	MAX_LENGTH_GROUP_NAME_BYTES  =  31, ///< The maximum length of a group name in bytes including '\0'
	MAX_LENGTH_GROUP_NAME_PIXELS = 150, ///< The maximum length of a group name in pixels
};

struct Group;

#endif /* GROUP_TYPE_H */