Files
@ r10032:66da33ee7ae2
Branch filter:
Location: cpp/openttd-patchpack/source/src/group_type.h - annotation
r10032:66da33ee7ae2
484 B
text/x-c
(svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
-Fix: sprite payload skipping wouldn't skip enough bytes in a very small subset of compressed sprites.
r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 r8770:06d779b8eed1 | /* $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 */
|