Files @ r10340:90705a3f079d
Branch filter:

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

smatz
(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid after importing older savegame and during town generation
-Codechange: rewrite parts of code responsible for caching index of nearest town
/* $Id$ */

/** @file waypoint_type.h Types related to waypoints. */

#ifndef WAYPOINT_TYPE_H
#define WAYPOINT_TYPE_H

typedef uint16 WaypointID;
struct Waypoint;

enum {
	MAX_LENGTH_WAYPOINT_NAME_BYTES  =  31, ///< The maximum length of a waypoint name in bytes including '\0'
	MAX_LENGTH_WAYPOINT_NAME_PIXELS = 180, ///< The maximum length of a waypoint name in pixels
};

#endif /* WAYPOINT_TYPE_H */