Files
@ r12087:0095f1069b29
Branch filter:
Location: cpp/openttd-patchpack/source/src/waypoint_type.h - annotation
r12087:0095f1069b29
404 B
text/x-c
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r8775:89b76da3c46f r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r9913:5ef437117969 r8775:89b76da3c46f | /* $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 */
|